/linux-2.4.37.9/drivers/block/ |
D | elevator.c | 83 struct list_head *entry = &q->queue_head; in elevator_linus_merge() 101 if (!*req && bh_rq_in_between(bh, __rq, &q->queue_head) && !backmerge_only) in elevator_linus_merge() 127 while ((entry = entry->next) != &q->queue_head) { in elevator_linus_merge() 153 if (list_empty(&q->queue_head)) in elevator_noop_merge() 156 entry = &q->queue_head; in elevator_noop_merge() 177 *req = blkdev_entry_to_request(q->queue_head.prev); in elevator_noop_merge()
|
D | nbd.c | 241 list_for_each(tmp, &lo->queue_head) { in nbd_find_request() 336 if (!list_empty(&lo->queue_head)) { in nbd_clear_que() 337 req = list_entry(lo->queue_head.next, struct request, queue); in nbd_clear_que() 400 list_add_tail(&req->queue, &lo->queue_head); in do_nbd_request() 475 if (!list_empty(&lo->queue_head)) { in nbd_ioctl() 558 dev, lo->queue_head.next, lo->queue_head.prev, requests_in, requests_out); in nbd_ioctl() 623 INIT_LIST_HEAD(&nbd_dev[i].queue_head); in nbd_init()
|
D | sx8.c | 667 list_add(&rq->queue, &q->queue_head); in carm_insert_special() 669 list_add_tail(&rq->queue, &q->queue_head); in carm_insert_special() 1037 struct list_head *queue_head = &q->queue_head; in carm_oob_tasklet() local 1041 if (q->plugged || list_empty(queue_head)) in carm_oob_tasklet() 1049 if (list_empty(queue_head)) in carm_oob_tasklet() 1052 rq = blkdev_entry_next_request(queue_head); in carm_oob_tasklet() 1113 struct list_head *queue_head = &q->queue_head; in carm_rw_tasklet() local 1117 if (q->plugged || list_empty(queue_head)) in carm_rw_tasklet() 1125 if (list_empty(queue_head)) in carm_rw_tasklet() 1128 rq = blkdev_entry_next_request(queue_head); in carm_rw_tasklet()
|
D | ll_rw_blk.c | 367 if (!list_empty(&q->queue_head) || q->plugged) in generic_plug_device() 381 if (!list_empty(&q->queue_head)) in __generic_unplug_device() 518 INIT_LIST_HEAD(&q->queue_head); in blk_init_queue() 865 if (!q->plugged && q->head_active && insert_here == &q->queue_head) { in add_request() 972 if (&req->queue == q->queue_head.prev) in attempt_back_merge() 1044 head = &q->queue_head; in __make_request() 1140 head = &q->queue_head; in __make_request()
|
D | cpqarray.c | 989 struct list_head * queue_head = &q->queue_head; in do_ida_request() local 999 if (list_empty(queue_head)) in do_ida_request() 1002 creq = blkdev_entry_next_request(queue_head); in do_ida_request()
|
D | cciss.c | 2432 struct list_head *queue_head = &q->queue_head; in do_cciss_request() local 2442 if (list_empty(queue_head)) in do_cciss_request() 2445 creq = blkdev_entry_next_request(queue_head); in do_cciss_request()
|
D | DAC960.c | 2976 RequestQueueHead = &RequestQueue->queue_head; in DAC960_ProcessRequest()
|
/linux-2.4.37.9/drivers/scsi/ |
D | scsi_lib.c | 90 list_add(&rq->queue, &q->queue_head); in __scsi_insert_special() 92 list_add_tail(&rq->queue, &q->queue_head); in __scsi_insert_special() 265 list_add(&SCpnt->request.queue, &q->queue_head); in scsi_queue_next_request() 284 && list_empty(&q->queue_head) in scsi_queue_next_request() 934 if (list_empty(&q->queue_head)) in scsi_request_fn() 941 req = blkdev_entry_next_request(&q->queue_head); in scsi_request_fn() 1064 list_add(&SCpnt->request.queue, &q->queue_head); in scsi_request_fn()
|
D | scsi.c | 2593 struct list_head * queue_head; in scsi_dump_status() local 2595 queue_head = &blk_dev[i].request_queue.queue_head; in scsi_dump_status() 2596 if (!list_empty(queue_head)) { in scsi_dump_status() 2601 entry = queue_head->next; in scsi_dump_status() 2610 } while ((entry = entry->next) != queue_head); in scsi_dump_status()
|
/linux-2.4.37.9/drivers/ide/ |
D | ide-io.c | 808 rq = blkdev_entry_next_request(&drive->queue.queue_head); in ide_do_request() 1291 struct list_head *queue_head = &q->queue_head; in ide_do_drive_cmd() local 1309 queue_head = queue_head->prev; in ide_do_drive_cmd() 1311 queue_head = queue_head->next; in ide_do_drive_cmd() 1313 list_add(&rq->queue, queue_head); in ide_do_drive_cmd()
|
D | ide-taskfile.c | 1357 struct list_head *queue_head = &drive->queue.queue_head; in ide_diag_taskfile() local 1402 queue_head = queue_head->prev; in ide_diag_taskfile() 1403 list_add(&rq->queue, queue_head); in ide_diag_taskfile()
|
D | ide-cd.c | 1379 if (entry == &drive->queue.queue_head) in cdrom_attempt_remerge()
|
/linux-2.4.37.9/include/linux/ |
D | nbd.h | 44 struct list_head queue_head; /* Requests are added here... */ member
|
D | blkdev.h | 109 struct list_head queue_head; member 164 #define blk_queue_empty(q) list_empty(&(q)->queue_head)
|
D | blk.h | 338 #define CURRENT blkdev_entry_next_request(&blk_dev[MAJOR_NR].request_queue.queue_head) 341 #define QUEUE_EMPTY list_empty(&blk_dev[MAJOR_NR].request_queue.queue_head)
|
/linux-2.4.37.9/drivers/s390/char/ |
D | tapedefs.h | 44 return blkdev_entry_next_request(&queue->queue_head); in tape_next_request()
|
D | tapeblock.c | 296 if (list_empty (&ti->request_queue.queue_head)) {
|
/linux-2.4.37.9/drivers/s390/block/ |
D | dasd_int.h | 129 return blkdev_entry_next_request(&queue->queue_head); in dasd_next_request()
|
D | xpram.c | 774 current_req = blkdev_entry_next_request (&queue->queue_head); in xpram_request()
|
D | dasd.c | 2130 (!list_empty (&queue->queue_head)) && in dasd_process_queues() 3066 queue_head) { in do_dasd_ioctl() 4256 !list_empty(&q->queue_head) && in dasd_disable_blkdev()
|
/linux-2.4.37.9/drivers/message/i2o/ |
D | i2o_block.c | 871 while (!list_empty(&q->queue_head)) { in i2ob_request() 877 req = blkdev_entry_next_request(&q->queue_head); in i2ob_request()
|
/linux-2.4.37.9/drivers/ide/ppc/ |
D | pmac.c | 1919 if (!list_empty(&drive->queue.queue_head)) in idepmac_wake_device() 2003 if (!list_empty(&drive->queue.queue_head)) in idepmac_wake_drive()
|
/linux-2.4.37.9/drivers/cdrom/ |
D | sbpcd.c | 4889 list_add(&req->queue, &req->q->queue_head); in sbpcd_end_request()
|