taglinefilesource code
queue81fs/ext2/dcache.cstatic struct dir_cache_entry * find_name (int queue, unsigned short dev,
queue87fs/ext2/dcache.cfor (p = queue_head[queue]; p != NULL && (p->dev != dev ||
queue127fs/ext2/dcache.cstatic void add_to_queue (int queue, struct dir_cache_entry * p)
queue130fs/ext2/dcache.cp->queue_next = queue_head[queue];
queue131fs/ext2/dcache.cif (queue_head[queue])
queue132fs/ext2/dcache.cqueue_head[queue]->queue_prev = p;
queue133fs/ext2/dcache.cif (!queue_tail[queue])
queue134fs/ext2/dcache.cqueue_tail[queue] = p;
queue135fs/ext2/dcache.cqueue_head[queue] = p;
queue156fs/ext2/dcache.cstatic void remove_from_queue (int queue, struct dir_cache_entry * p)
queue161fs/ext2/dcache.cqueue_head[queue] = p->queue_next;
queue165fs/ext2/dcache.cqueue_tail[queue] = p->queue_prev;
queue200fs/ext2/dcache.cint queue;
queue212fs/ext2/dcache.cqueue = hash (dev, dir);
queue213fs/ext2/dcache.cif ((p = find_name (queue, dev, dir, our_name, len))) {
queue218fs/ext2/dcache.cif (p != queue_head[queue]) {
queue219fs/ext2/dcache.cremove_from_queue (queue, p);
queue220fs/ext2/dcache.cadd_to_queue (queue, p);
queue250fs/ext2/dcache.cint queue;
queue260fs/ext2/dcache.cqueue = hash (dev, dir);
queue261fs/ext2/dcache.cif ((p = find_name (queue, dev, dir, name, len))) {
queue268fs/ext2/dcache.cif (p != queue_head[queue]) {
queue269fs/ext2/dcache.cremove_from_queue (queue, p);
queue270fs/ext2/dcache.cadd_to_queue (queue, p);
queue294fs/ext2/dcache.cadd_to_queue (queue, p);
queue310fs/ext2/dcache.cint queue;
queue319fs/ext2/dcache.cqueue = hash (dev, dir);
queue320fs/ext2/dcache.cif ((p = find_name (queue, dev, dir, name, len))) {
queue322fs/ext2/dcache.cremove_from_queue (queue, p);
queue144include/linux/tty.hextern void put_tty_queue(char c, struct tty_queue * queue);
queue145include/linux/tty.hextern int get_tty_queue(struct tty_queue * queue);
queue96kernel/chr_drv/psaux.cstatic struct aux_queue *queue;
queue171kernel/chr_drv/psaux.cresult = queue->buf[queue->tail];
queue172kernel/chr_drv/psaux.cqueue->tail = (queue->tail + 1) & (AUX_BUF_SIZE-1);
queue180kernel/chr_drv/psaux.creturn queue->head == queue->tail;
queue192kernel/chr_drv/psaux.cint head = queue->head;
queue193kernel/chr_drv/psaux.cint maxhead = (queue->tail-1) & (AUX_BUF_SIZE-1);
queue195kernel/chr_drv/psaux.cqueue->buf[head] = inb(AUX_INPUT_PORT);
queue200kernel/chr_drv/psaux.cqueue->head = head;
queue202kernel/chr_drv/psaux.cwake_up_interruptible(&queue->proc_list);
queue213kernel/chr_drv/psaux.cint head = queue->head;
queue214kernel/chr_drv/psaux.cint maxhead = (queue->tail-1) & (AUX_BUF_SIZE-1);
queue216kernel/chr_drv/psaux.cqueue->buf[head] = inb(qp_data);
queue221kernel/chr_drv/psaux.cqueue->head = head;
queue223kernel/chr_drv/psaux.cwake_up_interruptible(&queue->proc_list);
queue269kernel/chr_drv/psaux.cqueue->head = queue->tail = 0;          /* Flush input queue */
queue311kernel/chr_drv/psaux.cqueue->head = queue->tail = 0;          /* Flush input queue */
queue380kernel/chr_drv/psaux.cadd_wait_queue(&queue->proc_list, &wait);
queue388kernel/chr_drv/psaux.cremove_wait_queue(&queue->proc_list, &wait);      
queue412kernel/chr_drv/psaux.cselect_wait(&queue->proc_list, wait);
queue459kernel/chr_drv/psaux.cqueue = (struct aux_queue *) kmem_start;
queue461kernel/chr_drv/psaux.cqueue->head = queue->tail = 0;
queue462kernel/chr_drv/psaux.cqueue->proc_list = NULL;
queue324kernel/chr_drv/serial.cstruct tty_queue * queue;
queue333kernel/chr_drv/serial.cqueue = &info->tty->read_q;
queue334kernel/chr_drv/serial.chead = queue->head;
queue335kernel/chr_drv/serial.ctail = queue->tail;
queue347kernel/chr_drv/serial.cqueue->buf[head++]= TTY_BREAK;
queue350kernel/chr_drv/serial.cqueue->buf[head++]= TTY_PARITY;
queue352kernel/chr_drv/serial.cqueue->buf[head++]= TTY_FRAME;
queue355kernel/chr_drv/serial.cqueue->buf[head++] = ch;
queue358kernel/chr_drv/serial.cqueue->head = head;
queue370kernel/chr_drv/serial.cstruct tty_queue * queue;
queue373kernel/chr_drv/serial.cqueue = &info->tty->write_q;
queue374kernel/chr_drv/serial.chead = queue->head;
queue375kernel/chr_drv/serial.ctail = queue->tail;
queue390kernel/chr_drv/serial.cserial_outp(info, UART_TX, queue->buf[tail++]);
queue393kernel/chr_drv/serial.cqueue->tail = tail;
queue919kernel/chr_drv/serial.cstruct tty_queue * queue;
queue930kernel/chr_drv/serial.cqueue = &info->tty->write_q;
queue931kernel/chr_drv/serial.chead = queue->head;
queue932kernel/chr_drv/serial.ctail = queue->tail;
queue937kernel/chr_drv/serial.cserial_outp(info, UART_TX, queue->buf[tail++]);
queue940kernel/chr_drv/serial.cqueue->tail = tail;
queue97kernel/chr_drv/tty_io.cvoid put_tty_queue(char c, struct tty_queue * queue)
queue104kernel/chr_drv/tty_io.chead = (queue->head + 1) & (TTY_BUF_SIZE-1);
queue105kernel/chr_drv/tty_io.cif (head != queue->tail) {
queue106kernel/chr_drv/tty_io.cqueue->buf[queue->head] = c;
queue107kernel/chr_drv/tty_io.cqueue->head = head;
queue112kernel/chr_drv/tty_io.cint get_tty_queue(struct tty_queue * queue)
queue119kernel/chr_drv/tty_io.cif (queue->tail != queue->head) {
queue120kernel/chr_drv/tty_io.cresult = 0xff & queue->buf[queue->tail];
queue121kernel/chr_drv/tty_io.cqueue->tail = (queue->tail + 1) & (TTY_BUF_SIZE-1);
queue42kernel/chr_drv/tty_ioctl.cstatic void flush(struct tty_queue * queue)
queue44kernel/chr_drv/tty_ioctl.cif (queue) {
queue46kernel/chr_drv/tty_ioctl.cqueue->head = queue->tail;
queue48kernel/chr_drv/tty_ioctl.cwake_up_interruptible(&queue->proc_list);
queue490mm/swap.cstatic inline void add_mem_queue(unsigned long addr, unsigned long * queue)
queue493mm/swap.c*(unsigned long *) addr = *queue;
queue494mm/swap.c*queue = addr;
queue549mm/swap.c#define REMOVE_FROM_MEM_QUEUE(queue,nr) \
queue551mm/swap.cif ((result = queue) != 0) { \
queue553mm/swap.cqueue = *(unsigned long *) result; \
queue565mm/swap.cqueue = 0; \
queue568mm/swap.cprintk(#nr " is %d, but " #queue " is empty\n",nr); \
queue223net/drv/slip/slip.cput_sl_queue(struct sl_queue * queue, char c)
queue229net/drv/slip/slip.chead = (queue->head + 1) & (SL_BUF_SIZE-1);
queue230net/drv/slip/slip.cif (head != queue->tail) {
queue231net/drv/slip/slip.cqueue->buf[queue->head] = c;
queue232net/drv/slip/slip.cqueue->head = head;
queue240net/drv/slip/slip.ceat_sl_queue(struct sl_queue * queue, int i)
queue245net/drv/slip/slip.cif (queue->tail != queue->head)
queue246net/drv/slip/slip.cqueue->tail = (queue->tail + i) & (SL_BUF_SIZE-1);