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 | 46 | drivers/sound/midibuf.c | unsigned char queue[MAX_QUEUE_SIZE]; |
queue | 75 | drivers/sound/midibuf.c | q->queue[q->tail] = (data); \ |
queue | 85 | drivers/sound/midibuf.c | data = q->queue[q->head]; \ |
queue | 148 | drivers/sound/midibuf.c | midi_out_buf[dev]->queue[midi_out_buf[dev]->head])) |
queue | 75 | drivers/sound/sequencer.c | static unsigned char *queue = NULL; |
queue | 379 | drivers/sound/sequencer.c | memcpy (&queue[qtail * EV_SZ], note, EV_SZ); |
queue | 730 | drivers/sound/sequencer.c | q = &queue[this_one * EV_SZ]; |
queue | 1802 | 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 | 661 | mm/swap.c | do { struct mem_list * queue = free_area_list+order; \ |
queue | 663 | mm/swap.c | do { struct mem_list *next = queue->next; \ |
queue | 664 | mm/swap.c | if (queue != next) { \ |
queue | 665 | mm/swap.c | queue->next = next->next; \ |
queue | 666 | mm/swap.c | next->next->prev = queue; \ |
queue | 672 | mm/swap.c | } new_order++; queue++; \ |