Home
last modified time | relevance | path

Searched refs:rq_list (Results 1 – 23 of 23) sorted by relevance

/kernel/linux/linux-5.10/block/
Dblk-mq-sched.c87 static bool blk_mq_dispatch_hctx_list(struct list_head *rq_list) in blk_mq_dispatch_hctx_list() argument
90 list_first_entry(rq_list, struct request, queuelist)->mq_hctx; in blk_mq_dispatch_hctx_list()
95 list_for_each_entry(rq, rq_list, queuelist) { in blk_mq_dispatch_hctx_list()
97 list_cut_before(&hctx_list, rq_list, &rq->queuelist); in blk_mq_dispatch_hctx_list()
102 list_splice_tail_init(rq_list, &hctx_list); in blk_mq_dispatch_hctx_list()
125 LIST_HEAD(rq_list); in __blk_mq_do_dispatch_sched()
166 list_add_tail(&rq->queuelist, &rq_list); in __blk_mq_do_dispatch_sched()
182 list_sort(NULL, &rq_list, sched_rq_cmp); in __blk_mq_do_dispatch_sched()
184 dispatched |= blk_mq_dispatch_hctx_list(&rq_list); in __blk_mq_do_dispatch_sched()
185 } while (!list_empty(&rq_list)); in __blk_mq_do_dispatch_sched()
[all …]
Dkyber-iosched.c147 struct list_head rq_list[KYBER_NUM_DOMAINS]; member
445 INIT_LIST_HEAD(&kcq->rq_list[i]); in kyber_ctx_queue_init()
569 struct list_head *rq_list = &kcq->rq_list[sched_domain]; in kyber_bio_merge() local
573 merged = blk_bio_list_merge(hctx->queue, rq_list, bio, nr_segs); in kyber_bio_merge()
585 struct list_head *rq_list, bool at_head) in kyber_insert_requests() argument
590 list_for_each_entry_safe(rq, next, rq_list, queuelist) { in kyber_insert_requests()
593 struct list_head *head = &kcq->rq_list[sched_domain]; in kyber_insert_requests()
666 list_splice_tail_init(&kcq->rq_list[flush_data->sched_domain], in flush_busy_kcq()
Dblk-mq.c802 LIST_HEAD(rq_list); in blk_mq_requeue_work()
806 list_splice_init(&q->requeue_list, &rq_list); in blk_mq_requeue_work()
809 list_for_each_entry_safe(rq, next, &rq_list, queuelist) { in blk_mq_requeue_work()
826 while (!list_empty(&rq_list)) { in blk_mq_requeue_work()
827 rq = list_entry(rq_list.next, struct request, queuelist); in blk_mq_requeue_work()
1918 struct list_head rq_list; in blk_mq_flush_plug_list() local
1933 list_cut_before(&rq_list, &list, pos); in blk_mq_flush_plug_list()
1935 blk_mq_sched_insert_requests(this_hctx, this_ctx, &rq_list, in blk_mq_flush_plug_list()
/kernel/linux/linux-5.10/include/linux/mtd/
Dblktrans.h33 struct list_head rq_list; member
/kernel/linux/linux-5.10/drivers/block/paride/
Dpcd.c204 struct list_head rq_list; member
325 INIT_LIST_HEAD(&cd->rq_list); in pcd_init_units()
783 if (cd->present && !list_empty(&cd->rq_list)) { in set_next_request()
784 pcd_req = list_first_entry(&cd->rq_list, struct request, in set_next_request()
827 list_add_tail(&bd->rq->queuelist, &cd->rq_list); in pcd_queue_rq()
Dpd.c240 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()
765 list_add_tail(&bd->rq->queuelist, &disk->rq_list); in pd_queue_rq()
956 INIT_LIST_HEAD(&disk->rq_list); in pd_detect()
Dpf.c243 struct list_head rq_list; member
309 INIT_LIST_HEAD(&pf->rq_list); in pf_init_units()
816 if (pf->present && !list_empty(&pf->rq_list)) { in set_next_request()
817 pf_req = list_first_entry(&pf->rq_list, struct request, in set_next_request()
878 list_add_tail(&bd->rq->queuelist, &pf->rq_list); in pf_queue_rq()
/kernel/linux/linux-5.10/drivers/scsi/
Dsg.c144 struct list_head rq_list; /* head of request list */ member
865 list_for_each_entry(srp, &sfp->rq_list, entry) { in sg_fill_request_table()
1005 list_for_each_entry(srp, &sfp->rq_list, entry) { in sg_ioctl_common()
1017 list_for_each_entry(srp, &sfp->rq_list, entry) { in sg_ioctl_common()
1207 list_for_each_entry(srp, &sfp->rq_list, entry) { in sg_poll()
2102 list_for_each_entry(resp, &sfp->rq_list, entry) { in sg_get_rq_mark()
2124 if (!list_empty(&sfp->rq_list)) { in sg_add_request()
2138 list_add_tail(&rp->entry, &sfp->rq_list); in sg_add_request()
2153 if (!sfp || !srp || list_empty(&sfp->rq_list)) in sg_remove_request()
2178 INIT_LIST_HEAD(&sfp->rq_list); in sg_add_sfp()
[all …]
/kernel/linux/linux-5.10/drivers/block/
Dxsysace.c210 struct list_head rq_list; member
473 return !list_empty(&ace->rq_list); in ace_has_next_request()
482 rq = list_first_entry_or_null(&ace->rq_list, struct request, queuelist); in ace_get_next_request()
881 list_add_tail(&req->queuelist, &ace->rq_list); in ace_queue_rq()
991 INIT_LIST_HEAD(&ace->rq_list); in ace_setup()
/kernel/linux/linux-5.10/drivers/mtd/
Dmtd_blkdevs.c130 rq = list_first_entry_or_null(&dev->rq_list, struct request, queuelist); in mtd_next_request()
197 list_add_tail(&bd->rq->queuelist, &dev->rq_list); in mtd_queue_rq()
424 INIT_LIST_HEAD(&new->rq_list); in add_mtd_blktrans_dev()
/kernel/linux/linux-5.10/net/sunrpc/
Dxprt.c1664 req = list_entry(xprt->free.next, struct rpc_rqst, rq_list); in xprt_alloc_slot()
1665 list_del(&req->rq_list); in xprt_alloc_slot()
1702 list_add(&req->rq_list, &xprt->free); in xprt_free_slot()
1712 req = list_first_entry(&xprt->free, struct rpc_rqst, rq_list); in xprt_free_all_slots()
1713 list_del(&req->rq_list); in xprt_free_all_slots()
1736 list_add(&req->rq_list, &xprt->free); in xprt_alloc()
/kernel/linux/linux-5.10/drivers/block/aoe/
Daoe.h173 struct list_head rq_list; member
Daoedev.c475 INIT_LIST_HEAD(&d->rq_list); in aoedev_by_aoeaddr()
Daoeblk.c278 list_add_tail(&bd->rq->queuelist, &d->rq_list); in aoeblk_queue_rq()
Daoecmd.c850 rq = list_first_entry_or_null(&d->rq_list, struct request, in nextbuf()
/kernel/linux/linux-5.10/drivers/ide/
Dide-io.c545 list_add(&rq->queuelist, &drive->rq_list); in ide_issue_rq()
901 list_add_tail(&rq->queuelist, &drive->rq_list); in ide_insert_request_head()
Dide-probe.c1170 while (!list_empty(&drive->rq_list)) { in drive_rq_insert_work()
1171 rq = list_first_entry(&drive->rq_list, struct request, queuelist); in drive_rq_insert_work()
1219 INIT_LIST_HEAD(&drive->rq_list); in ide_port_init_devices_data()
/kernel/linux/linux-5.10/include/linux/sunrpc/
Dxprt.h85 struct list_head rq_list; /* Slot allocation list */ member
/kernel/linux/linux-5.10/drivers/infiniband/hw/hns/
Dhns_roce_cq.c273 INIT_LIST_HEAD(&hr_cq->rq_list); in hns_roce_create_cq()
Dhns_roce_device.h476 struct list_head rq_list; /* all qps on this recv cq */ member
Dhns_roce_qp.c224 list_add_tail(&hr_qp->rq_node, &hr_recv_cq->rq_list); in add_qp_to_list()
Dhns_roce_hw_v2.c3218 list_for_each_entry(hr_qp, &hr_cq->rq_list, rq_node) { in hns_roce_v2_sw_poll_cq()
/kernel/linux/linux-5.10/include/linux/
Dide.h624 struct list_head rq_list; member