Home
last modified time | relevance | path

Searched refs:queuelist (Results 1 – 18 of 18) sorted by relevance

/linux-2.6.39/block/
Dnoop-iosched.c18 list_del_init(&next->queuelist); in noop_merged_requests()
27 rq = list_entry(nd->queue.next, struct request, queuelist); in noop_dispatch()
28 list_del_init(&rq->queuelist); in noop_dispatch()
39 list_add_tail(&rq->queuelist, &nd->queue); in noop_add_request()
47 if (rq->queuelist.prev == &nd->queue) in noop_former_request()
49 return list_entry(rq->queuelist.prev, struct request, queuelist); in noop_former_request()
57 if (rq->queuelist.next == &nd->queue) in noop_latter_request()
59 return list_entry(rq->queuelist.next, struct request, queuelist); in noop_latter_request()
Dblk-flush.c169 list_add(&rq->queuelist, &q->queue_head); in blk_flush_complete_seq()
180 BUG_ON(!list_empty(&rq->queuelist)); in blk_flush_complete_seq()
264 list_add_tail(&q->flush_rq.queuelist, &q->queue_head); in blk_kick_flush()
315 list_add_tail(&rq->queuelist, &q->queue_head); in blk_insert_flush()
364 list_add_tail(&rq->queuelist, &q->queue_head); in blk_abort_flushes()
Ddeadline-iosched.c112 list_add_tail(&rq->queuelist, &dd->fifo_list[data_dir]); in deadline_add_request()
178 if (!list_empty(&req->queuelist) && !list_empty(&next->queuelist)) { in deadline_merged_requests()
180 list_move(&req->queuelist, &next->queuelist); in deadline_merged_requests()
Dblk-tag.c296 list_del_init(&rq->queuelist); in blk_queue_end_tag()
382 list_add(&rq->queuelist, &q->tag_busy_list); in blk_queue_start_tag()
Dblk-core.c133 INIT_LIST_HEAD(&rq->queuelist); in blk_rq_init()
1056 BUG_ON(!list_empty(&req->queuelist)); in __blk_put_request()
1194 list_for_each_entry_reverse(rq, &plug->list, queuelist) { in attempt_plug_merge()
1327 list_add_tail(&req->queuelist, &plug->list); in __make_request()
1934 BUG_ON(list_empty(&rq->queuelist)); in blk_dequeue_request()
1937 list_del_init(&rq->queuelist); in blk_dequeue_request()
2668 struct request *rqa = container_of(a, struct request, queuelist); in plug_rq_cmp()
2669 struct request *rqb = container_of(b, struct request, queuelist); in plug_rq_cmp()
2750 list_del_init(&rq->queuelist); in blk_flush_plug_list()
Delevator.c456 list_add(&rq->queuelist, entry); in elv_dispatch_sort()
476 list_add_tail(&rq->queuelist, &q->queue_head); in elv_dispatch_add_tail()
682 list_add(&rq->queuelist, &q->queue_head); in __elv_add_request()
688 list_add_tail(&rq->queuelist, &q->queue_head); in __elv_add_request()
Dcfq-iosched.c1526 list_del_init(&rq->queuelist); in cfq_remove_request()
1578 if (!list_empty(&rq->queuelist) && !list_empty(&next->queuelist) && in cfq_merged_requests()
1580 list_move(&rq->queuelist, &next->queuelist); in cfq_merged_requests()
3390 list_add_tail(&rq->queuelist, &cfqq->fifo); in cfq_insert_request()
/linux-2.6.39/drivers/block/
Dnbd.c295 list_for_each_entry_safe(req, tmp, &lo->queue_head, queuelist) { in nbd_find_request()
298 list_del_init(&req->queuelist); in nbd_find_request()
442 queuelist); in nbd_clear_que()
443 list_del_init(&req->queuelist); in nbd_clear_que()
484 list_add(&req->queuelist, &lo->queue_head); in nbd_handle_req()
517 queuelist); in nbd_thread()
518 list_del_init(&req->queuelist); in nbd_thread()
560 list_add_tail(&req->queuelist, &lo->waiting_queue); in do_nbd_request()
/linux-2.6.39/drivers/gpu/drm/
Ddrm_drv.c220 if (drm_core_check_feature(dev, DRIVER_DMA_QUEUE) && dev->queuelist) { in drm_lastclose()
222 kfree(dev->queuelist[i]); in drm_lastclose()
223 dev->queuelist[i] = NULL; in drm_lastclose()
225 kfree(dev->queuelist); in drm_lastclose()
226 dev->queuelist = NULL; in drm_lastclose()
Ddrm_info.c127 q = dev->queuelist[i]; in drm_queues_info()
Ddrm_fops.c80 dev->queuelist = NULL; in drm_setup()
/linux-2.6.39/include/linux/
Delevator.h188 #define rq_entry_fifo(ptr) list_entry((ptr), struct request, queuelist)
190 list_del_init(&(rq)->queuelist); \
Dblkdev.h80 struct list_head queuelist; member
505 #define blk_queued_rq(rq) (!list_empty(&(rq)->queuelist))
507 #define list_entry_rq(ptr) list_entry((ptr), struct request, queuelist)
950 #define blkdev_entry_to_request(entry) list_entry((entry), struct request, queuelist)
/linux-2.6.39/drivers/cdrom/
Dgdrom.c602 req = list_entry(elem, struct request, queuelist); in gdrom_readdisk_dma()
651 list_del_init(&req->queuelist); in gdrom_readdisk_dma()
678 list_add_tail(&req->queuelist, &gdrom_deferred); in gdrom_request()
/linux-2.6.39/Documentation/block/
Drequest.txt35 struct list_head queuelist BI Organization on various internal
Dbiodoc.txt530 struct list_head queuelist; /* Not meant to be directly accessed by
/linux-2.6.39/drivers/md/
Ddm-mpath.c368 list_add_tail(&clone->queuelist, &m->queued_ios); in map_io()
436 list_for_each_entry_safe(clone, n, &cl, queuelist) { in dispatch_queued_ios()
437 list_del_init(&clone->queuelist); in dispatch_queued_ios()
/linux-2.6.39/include/drm/
DdrmP.h1065 struct drm_queue **queuelist; /**< Vector of pointers to DMA queues */ member