tag | line | file | source code |
queue | 101 | drivers/char/psaux.c | static struct aux_queue *queue; |
queue | 176 | drivers/char/psaux.c | result = queue->buf[queue->tail]; |
queue | 177 | drivers/char/psaux.c | queue->tail = (queue->tail + 1) & (AUX_BUF_SIZE-1); |
queue | 185 | drivers/char/psaux.c | return queue->head == queue->tail; |
queue | 197 | drivers/char/psaux.c | int head = queue->head; |
queue | 198 | drivers/char/psaux.c | int maxhead = (queue->tail-1) & (AUX_BUF_SIZE-1); |
queue | 200 | drivers/char/psaux.c | queue->buf[head] = inb(AUX_INPUT_PORT); |
queue | 205 | drivers/char/psaux.c | queue->head = head; |
queue | 207 | drivers/char/psaux.c | wake_up_interruptible(&queue->proc_list); |
queue | 218 | drivers/char/psaux.c | int head = queue->head; |
queue | 219 | drivers/char/psaux.c | int maxhead = (queue->tail-1) & (AUX_BUF_SIZE-1); |
queue | 221 | drivers/char/psaux.c | queue->buf[head] = inb(qp_data); |
queue | 226 | drivers/char/psaux.c | queue->head = head; |
queue | 228 | drivers/char/psaux.c | wake_up_interruptible(&queue->proc_list); |
queue | 274 | drivers/char/psaux.c | queue->head = queue->tail = 0; /* Flush input queue */ |
queue | 316 | drivers/char/psaux.c | queue->head = queue->tail = 0; /* Flush input queue */ |
queue | 385 | drivers/char/psaux.c | add_wait_queue(&queue->proc_list, &wait); |
queue | 393 | drivers/char/psaux.c | remove_wait_queue(&queue->proc_list, &wait); |
queue | 417 | drivers/char/psaux.c | select_wait(&queue->proc_list, wait); |
queue | 463 | drivers/char/psaux.c | queue = (struct aux_queue *) kmem_start; |
queue | 465 | drivers/char/psaux.c | queue->head = queue->tail = 0; |
queue | 466 | drivers/char/psaux.c | queue->proc_list = NULL; |
queue | 334 | drivers/char/serial.c | struct tty_queue * queue; |
queue | 343 | drivers/char/serial.c | queue = &info->tty->read_q; |
queue | 344 | drivers/char/serial.c | head = queue->head; |
queue | 345 | drivers/char/serial.c | tail = queue->tail; |
queue | 357 | drivers/char/serial.c | queue->buf[head++]= TTY_BREAK; |
queue | 360 | drivers/char/serial.c | queue->buf[head++]= TTY_PARITY; |
queue | 362 | drivers/char/serial.c | queue->buf[head++]= TTY_FRAME; |
queue | 364 | drivers/char/serial.c | queue->buf[head++]= TTY_OVERRUN; |
queue | 367 | drivers/char/serial.c | queue->buf[head++] = ch; |
queue | 370 | drivers/char/serial.c | queue->head = head; |
queue | 382 | drivers/char/serial.c | struct tty_queue * queue; |
queue | 385 | drivers/char/serial.c | queue = &info->tty->write_q; |
queue | 386 | drivers/char/serial.c | head = queue->head; |
queue | 387 | drivers/char/serial.c | tail = queue->tail; |
queue | 402 | drivers/char/serial.c | serial_outp(info, UART_TX, queue->buf[tail++]); |
queue | 405 | drivers/char/serial.c | queue->tail = tail; |
queue | 1001 | drivers/char/serial.c | struct tty_queue * queue; |
queue | 1012 | drivers/char/serial.c | queue = &info->tty->write_q; |
queue | 1013 | drivers/char/serial.c | head = queue->head; |
queue | 1014 | drivers/char/serial.c | tail = queue->tail; |
queue | 1019 | drivers/char/serial.c | serial_outp(info, UART_TX, queue->buf[tail++]); |
queue | 1022 | drivers/char/serial.c | queue->tail = tail; |
queue | 104 | drivers/char/tty_io.c | void put_tty_queue(unsigned char c, struct tty_queue * queue) |
queue | 111 | drivers/char/tty_io.c | head = (queue->head + 1) & (TTY_BUF_SIZE-1); |
queue | 112 | drivers/char/tty_io.c | if (head != queue->tail) { |
queue | 113 | drivers/char/tty_io.c | queue->buf[queue->head] = c; |
queue | 114 | drivers/char/tty_io.c | queue->head = head; |
queue | 119 | drivers/char/tty_io.c | int get_tty_queue(struct tty_queue * queue) |
queue | 126 | drivers/char/tty_io.c | if (queue->tail != queue->head) { |
queue | 127 | drivers/char/tty_io.c | result = queue->buf[queue->tail]; |
queue | 128 | drivers/char/tty_io.c | INC(queue->tail); |
queue | 55 | drivers/sound/sequencer.c | static unsigned char *queue = NULL; /* SEQ_MAX_QUEUE * EV_SZ bytes */ |
queue | 282 | drivers/sound/sequencer.c | memcpy (&queue[qtail * EV_SZ], note, EV_SZ); |
queue | 349 | drivers/sound/sequencer.c | q = &queue[this_one*EV_SZ]; |
queue | 1096 | drivers/sound/sequencer.c | PERMANENT_MALLOC(unsigned char*, queue, SEQ_MAX_QUEUE*EV_SZ, mem_start); |
queue | 84 | fs/ext2/dcache.c | static struct dir_cache_entry * find_name (int queue, unsigned short dev, |
queue | 90 | fs/ext2/dcache.c | for (p = queue_head[queue]; p != NULL && (p->dev != dev || |
queue | 130 | fs/ext2/dcache.c | static void add_to_queue (int queue, struct dir_cache_entry * p) |
queue | 133 | fs/ext2/dcache.c | p->queue_next = queue_head[queue]; |
queue | 134 | fs/ext2/dcache.c | if (queue_head[queue]) |
queue | 135 | fs/ext2/dcache.c | queue_head[queue]->queue_prev = p; |
queue | 136 | fs/ext2/dcache.c | if (!queue_tail[queue]) |
queue | 137 | fs/ext2/dcache.c | queue_tail[queue] = p; |
queue | 138 | fs/ext2/dcache.c | queue_head[queue] = p; |
queue | 161 | fs/ext2/dcache.c | static void remove_from_queue (int queue, struct dir_cache_entry * p) |
queue | 166 | fs/ext2/dcache.c | queue_head[queue] = p->queue_next; |
queue | 170 | fs/ext2/dcache.c | queue_tail[queue] = p->queue_prev; |
queue | 207 | fs/ext2/dcache.c | int queue; |
queue | 219 | fs/ext2/dcache.c | queue = hash (dev, dir); |
queue | 220 | fs/ext2/dcache.c | if ((p = find_name (queue, dev, dir, our_name, len))) { |
queue | 225 | fs/ext2/dcache.c | if (p != queue_head[queue]) { |
queue | 226 | fs/ext2/dcache.c | remove_from_queue (queue, p); |
queue | 227 | fs/ext2/dcache.c | add_to_queue (queue, p); |
queue | 257 | fs/ext2/dcache.c | int queue; |
queue | 267 | fs/ext2/dcache.c | queue = hash (dev, dir); |
queue | 268 | fs/ext2/dcache.c | if ((p = find_name (queue, dev, dir, name, len))) { |
queue | 275 | fs/ext2/dcache.c | if (p != queue_head[queue]) { |
queue | 276 | fs/ext2/dcache.c | remove_from_queue (queue, p); |
queue | 277 | fs/ext2/dcache.c | add_to_queue (queue, p); |
queue | 301 | fs/ext2/dcache.c | add_to_queue (queue, p); |
queue | 317 | fs/ext2/dcache.c | int queue; |
queue | 326 | fs/ext2/dcache.c | queue = hash (dev, dir); |
queue | 327 | fs/ext2/dcache.c | if ((p = find_name (queue, dev, dir, name, len))) { |
queue | 329 | fs/ext2/dcache.c | remove_from_queue (queue, p); |
queue | 145 | include/linux/tty.h | extern void put_tty_queue(unsigned char c, struct tty_queue * queue); |
queue | 146 | include/linux/tty.h | extern int get_tty_queue(struct tty_queue * queue); |
queue | 572 | mm/swap.c | do { struct mem_list * queue = free_area_list+order; \ |
queue | 574 | mm/swap.c | do { struct mem_list *next = queue->next; \ |
queue | 575 | mm/swap.c | if (queue != next) { \ |
queue | 576 | mm/swap.c | queue->next = next->next; \ |
queue | 577 | mm/swap.c | next->next->prev = queue; \ |
queue | 583 | mm/swap.c | } new_order++; queue++; \ |