Home
last modified time | relevance | path

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

/linux-6.6.21/block/
Dblk-flush.c186 list_move_tail(&rq->queuelist, pending); in blk_flush_complete_seq()
192 list_move(&rq->queuelist, &q->requeue_list); in blk_flush_complete_seq()
204 list_del_init(&rq->queuelist); in blk_flush_complete_seq()
260 list_for_each_entry_safe(rq, n, running, queuelist) { in flush_end_io()
294 list_first_entry(pending, struct request, queuelist); in blk_kick_flush()
352 list_add_tail(&flush_rq->queuelist, &q->flush_list); in blk_kick_flush()
382 INIT_LIST_HEAD(&rq->queuelist); in mq_flush_data_end_io()
Dblk-mq-sched.c50 struct request *rqa = container_of(a, struct request, queuelist); in sched_rq_cmp()
51 struct request *rqb = container_of(b, struct request, queuelist); in sched_rq_cmp()
59 list_first_entry(rq_list, struct request, queuelist)->mq_hctx; in blk_mq_dispatch_hctx_list()
64 list_for_each_entry(rq, rq_list, queuelist) { in blk_mq_dispatch_hctx_list()
66 list_cut_before(&hctx_list, rq_list, &rq->queuelist); in blk_mq_dispatch_hctx_list()
139 list_add_tail(&rq->queuelist, &rq_list); in __blk_mq_do_dispatch_sched()
259 list_add(&rq->queuelist, &rq_list); in blk_mq_do_dispatch_ctx()
Dmq-deadline.c214 list_del_init(&rq->queuelist); in deadline_remove_request()
262 if (!list_empty(&req->queuelist) && !list_empty(&next->queuelist)) { in dd_merged_requests()
265 list_move(&req->queuelist, &next->queuelist); in dd_merged_requests()
368 queuelist) { in deadline_fifo_request()
456 queuelist); in __dd_dispatch_request()
459 list_del_init(&rq->queuelist); in __dd_dispatch_request()
827 list_add(&rq->queuelist, &per_prio->dispatch); in dd_insert_request()
854 insert_before = &rq2->queuelist; in dd_insert_request()
857 list_add_tail(&rq->queuelist, insert_before); in dd_insert_request()
876 rq = list_first_entry(list, struct request, queuelist); in dd_insert_requests()
[all …]
Delevator.h183 #define rq_entry_fifo(ptr) list_entry((ptr), struct request, queuelist)
184 #define rq_fifo_clear(rq) list_del_init(&(rq)->queuelist)
Dkyber-iosched.c597 list_for_each_entry_safe(rq, next, rq_list, queuelist) { in kyber_insert_requests()
605 list_move(&rq->queuelist, head); in kyber_insert_requests()
607 list_move_tail(&rq->queuelist, head); in kyber_insert_requests()
772 rq = list_first_entry_or_null(rqs, struct request, queuelist); in kyber_dispatch_cur_domain()
778 list_del_init(&rq->queuelist); in kyber_dispatch_cur_domain()
788 rq = list_first_entry(rqs, struct request, queuelist); in kyber_dispatch_cur_domain()
791 list_del_init(&rq->queuelist); in kyber_dispatch_cur_domain()
Dblk-mq.c319 INIT_LIST_HEAD(&rq->queuelist); in blk_rq_init()
387 INIT_LIST_HEAD(&rq->queuelist); in blk_mq_rq_ctx_init()
574 INIT_LIST_HEAD(&rq->queuelist); in blk_mq_alloc_cached_request()
1458 list_add_tail(&rq->queuelist, &q->requeue_list); in blk_mq_requeue_request()
1480 rq = list_entry(rq_list.next, struct request, queuelist); in blk_mq_requeue_work()
1488 list_del_init(&rq->queuelist); in blk_mq_requeue_work()
1491 list_del_init(&rq->queuelist); in blk_mq_requeue_work()
1497 rq = list_entry(flush_list.next, struct request, queuelist); in blk_mq_requeue_work()
1498 list_del_init(&rq->queuelist); in blk_mq_requeue_work()
1744 list_del_init(&dispatch_data->rq->queuelist); in dispatch_rq_from_ctx()
[all …]
Dbfq-iosched.c2392 if (rq->queuelist.prev != &rq->queuelist) in bfq_remove_request()
2393 list_del_init(&rq->queuelist); in bfq_remove_request()
2579 !list_empty(&rq->queuelist) && !list_empty(&next->queuelist) && in bfq_requests_merged()
2581 list_del_init(&rq->queuelist); in bfq_requests_merged()
2582 list_replace_init(&next->queuelist, &rq->queuelist); in bfq_requests_merged()
5167 queuelist); in __bfq_dispatch_request()
5168 list_del_init(&rq->queuelist); in __bfq_dispatch_request()
6198 list_add_tail(&rq->queuelist, &bfqq->fifo); in __bfq_insert_request()
6264 list_add(&rq->queuelist, &bfqd->dispatch); in bfq_insert_request()
6266 list_add_tail(&rq->queuelist, &bfqd->dispatch); in bfq_insert_request()
[all …]
Delevator.c345 list_add(&rq->queuelist, free); in elv_attempt_insert_merge()
361 list_add(&rq->queuelist, free); in elv_attempt_insert_merge()
Dblk-mq.h382 list_del_init(&rq->queuelist); in blk_mq_free_requests()
Dblk-merge.c1141 list_for_each_entry_reverse(rq, list, queuelist) { in blk_bio_list_merge()
/linux-6.6.21/drivers/mtd/
Dmtd_blkdevs.c110 rq = list_first_entry_or_null(&dev->rq_list, struct request, queuelist); in mtd_next_request()
112 list_del_init(&rq->queuelist); in mtd_next_request()
178 list_add_tail(&bd->rq->queuelist, &dev->rq_list); in mtd_queue_rq()
/linux-6.6.21/drivers/block/null_blk/
Dmain.c1650 list_for_each_entry(rq, &list, queuelist) in null_poll()
1658 req = list_first_entry(&list, struct request, queuelist); in null_poll()
1659 list_del_init(&req->queuelist); in null_poll()
1686 list_del_init(&rq->queuelist); in null_timeout_rq()
1743 list_add_tail(&rq->queuelist, &nq->poll_list); in null_queue_rq()
/linux-6.6.21/drivers/block/aoe/
Daoeblk.c265 list_add_tail(&bd->rq->queuelist, &d->rq_list); in aoeblk_queue_rq()
Daoecmd.c850 queuelist); in nextbuf()
853 list_del_init(&rq->queuelist); in nextbuf()
/linux-6.6.21/include/linux/
Dblk-mq.h101 struct list_head queuelist; member
Dblkdev.h603 #define list_entry_rq(ptr) list_entry((ptr), struct request, queuelist)
/linux-6.6.21/drivers/block/
Dxen-blkfront.c2037 list_for_each_entry_safe(req, n, &info->requests, queuelist) { in blkif_recover()
2039 list_del_init(&req->queuelist); in blkif_recover()
2094 list_add(&shadow[j].request->queuelist, &info->requests); in blkfront_resume()
Dfloppy.c2758 queuelist); in set_next_request()
2761 list_del_init(&current_req->queuelist); in set_next_request()
2873 list_add_tail(&bd->rq->queuelist, &floppy_reqs); in floppy_queue_rq()