/linux-6.1.9/block/ |
D | blk-mq-sched.c | 59 static bool blk_mq_dispatch_hctx_list(struct list_head *rq_list) in blk_mq_dispatch_hctx_list() argument 62 list_first_entry(rq_list, struct request, queuelist)->mq_hctx; in blk_mq_dispatch_hctx_list() 67 list_for_each_entry(rq, rq_list, queuelist) { in blk_mq_dispatch_hctx_list() 69 list_cut_before(&hctx_list, rq_list, &rq->queuelist); in blk_mq_dispatch_hctx_list() 74 list_splice_tail_init(rq_list, &hctx_list); in blk_mq_dispatch_hctx_list() 97 LIST_HEAD(rq_list); in __blk_mq_do_dispatch_sched() 142 list_add_tail(&rq->queuelist, &rq_list); in __blk_mq_do_dispatch_sched() 168 list_sort(NULL, &rq_list, sched_rq_cmp); in __blk_mq_do_dispatch_sched() 170 dispatched |= blk_mq_dispatch_hctx_list(&rq_list); in __blk_mq_do_dispatch_sched() 171 } while (!list_empty(&rq_list)); in __blk_mq_do_dispatch_sched() [all …]
|
D | kyber-iosched.c | 149 struct list_head rq_list[KYBER_NUM_DOMAINS]; member 452 INIT_LIST_HEAD(&kcq->rq_list[i]); in kyber_ctx_queue_init() 577 struct list_head *rq_list = &kcq->rq_list[sched_domain]; in kyber_bio_merge() local 581 merged = blk_bio_list_merge(hctx->queue, rq_list, bio, nr_segs); in kyber_bio_merge() 593 struct list_head *rq_list, bool at_head) in kyber_insert_requests() argument 598 list_for_each_entry_safe(rq, next, rq_list, queuelist) { in kyber_insert_requests() 601 struct list_head *head = &kcq->rq_list[sched_domain]; in kyber_insert_requests() 674 list_splice_tail_init(&kcq->rq_list[flush_data->sched_domain], in flush_busy_kcq()
|
D | blk-mq.c | 1419 LIST_HEAD(rq_list); in blk_mq_requeue_work() 1423 list_splice_init(&q->requeue_list, &rq_list); in blk_mq_requeue_work() 1426 list_for_each_entry_safe(rq, next, &rq_list, queuelist) { in blk_mq_requeue_work() 1443 while (!list_empty(&rq_list)) { in blk_mq_requeue_work() 1444 rq = list_entry(rq_list.next, struct request, queuelist); in blk_mq_requeue_work()
|
/linux-6.1.9/drivers/block/paride/ |
D | pd.c | 240 struct list_head rq_list; member 411 if (list_empty(&disk->rq_list)) in set_next_request() 414 pd_req = list_first_entry(&disk->rq_list, in set_next_request() 767 list_add_tail(&bd->rq->queuelist, &disk->rq_list); in pd_queue_rq() 896 INIT_LIST_HEAD(&disk->rq_list); in pd_probe_drive()
|
D | pcd.c | 202 struct list_head rq_list; member 671 if (cd->present && !list_empty(&cd->rq_list)) { in set_next_request() 672 pcd_req = list_first_entry(&cd->rq_list, struct request, in set_next_request() 715 list_add_tail(&bd->rq->queuelist, &cd->rq_list); in pcd_queue_rq() 910 INIT_LIST_HEAD(&cd->rq_list); in pcd_init_unit()
|
D | pf.c | 242 struct list_head rq_list; member 719 if (pf->present && !list_empty(&pf->rq_list)) { in set_next_request() 720 pf_req = list_first_entry(&pf->rq_list, struct request, in set_next_request() 781 list_add_tail(&bd->rq->queuelist, &pf->rq_list); in pf_queue_rq() 952 INIT_LIST_HEAD(&pf->rq_list); in pf_init_unit()
|
/linux-6.1.9/include/linux/mtd/ |
D | blktrans.h | 33 struct list_head rq_list; member
|
/linux-6.1.9/drivers/scsi/ |
D | sg.c | 149 struct list_head rq_list; /* head of request list */ member 864 list_for_each_entry(srp, &sfp->rq_list, entry) { in sg_fill_request_table() 1002 list_for_each_entry(srp, &sfp->rq_list, entry) { in sg_ioctl_common() 1014 list_for_each_entry(srp, &sfp->rq_list, entry) { in sg_ioctl_common() 1183 list_for_each_entry(srp, &sfp->rq_list, entry) { in sg_poll() 2067 list_for_each_entry(resp, &sfp->rq_list, entry) { in sg_get_rq_mark() 2097 if (!list_empty(&sfp->rq_list)) { in sg_add_request() 2111 list_add_tail(&rp->entry, &sfp->rq_list); in sg_add_request() 2126 if (!sfp || !srp || list_empty(&sfp->rq_list)) in sg_remove_request() 2160 INIT_LIST_HEAD(&sfp->rq_list); in sg_add_sfp() [all …]
|
/linux-6.1.9/drivers/mtd/ |
D | mtd_blkdevs.c | 110 rq = list_first_entry_or_null(&dev->rq_list, struct request, queuelist); in mtd_next_request() 178 list_add_tail(&bd->rq->queuelist, &dev->rq_list); in mtd_queue_rq() 369 INIT_LIST_HEAD(&new->rq_list); in add_mtd_blktrans_dev()
|
/linux-6.1.9/drivers/block/aoe/ |
D | aoe.h | 173 struct list_head rq_list; member
|
D | aoedev.c | 474 INIT_LIST_HEAD(&d->rq_list); in aoedev_by_aoeaddr()
|
D | aoeblk.c | 265 list_add_tail(&bd->rq->queuelist, &d->rq_list); in aoeblk_queue_rq()
|
D | aoecmd.c | 849 rq = list_first_entry_or_null(&d->rq_list, struct request, in nextbuf()
|
/linux-6.1.9/net/sunrpc/ |
D | xprt.c | 1726 req = list_entry(xprt->free.next, struct rpc_rqst, rq_list); in xprt_alloc_slot() 1727 list_del(&req->rq_list); in xprt_alloc_slot() 1764 list_add(&req->rq_list, &xprt->free); in xprt_free_slot() 1774 req = list_first_entry(&xprt->free, struct rpc_rqst, rq_list); in xprt_free_all_slots() 1775 list_del(&req->rq_list); in xprt_free_all_slots() 1823 list_add(&req->rq_list, &xprt->free); in xprt_alloc()
|
/linux-6.1.9/include/linux/sunrpc/ |
D | xprt.h | 86 struct list_head rq_list; /* Slot allocation list */ member
|
/linux-6.1.9/drivers/infiniband/hw/hns/ |
D | hns_roce_cq.c | 327 INIT_LIST_HEAD(&hr_cq->rq_list); in set_cq_param()
|
D | hns_roce_device.h | 420 struct list_head rq_list; /* all qps on this recv cq */ member
|
D | hns_roce_qp.c | 260 list_add_tail(&hr_qp->rq_node, &hr_recv_cq->rq_list); in add_qp_to_list()
|
D | hns_roce_hw_v2.c | 3804 list_for_each_entry(hr_qp, &hr_cq->rq_list, rq_node) { in hns_roce_v2_sw_poll_cq()
|