/kernel/linux/linux-5.10/block/ |
D | blk-mq-sched.c | 87 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 …]
|
D | kyber-iosched.c | 147 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()
|
D | blk-mq.c | 802 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/ |
D | blktrans.h | 33 struct list_head rq_list; member
|
/kernel/linux/linux-5.10/drivers/block/paride/ |
D | pcd.c | 204 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()
|
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() 765 list_add_tail(&bd->rq->queuelist, &disk->rq_list); in pd_queue_rq() 956 INIT_LIST_HEAD(&disk->rq_list); in pd_detect()
|
D | pf.c | 243 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/ |
D | sg.c | 144 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/ |
D | xsysace.c | 210 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/ |
D | mtd_blkdevs.c | 130 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/ |
D | xprt.c | 1664 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/ |
D | aoe.h | 173 struct list_head rq_list; member
|
D | aoedev.c | 475 INIT_LIST_HEAD(&d->rq_list); in aoedev_by_aoeaddr()
|
D | aoeblk.c | 278 list_add_tail(&bd->rq->queuelist, &d->rq_list); in aoeblk_queue_rq()
|
D | aoecmd.c | 850 rq = list_first_entry_or_null(&d->rq_list, struct request, in nextbuf()
|
/kernel/linux/linux-5.10/drivers/ide/ |
D | ide-io.c | 545 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()
|
D | ide-probe.c | 1170 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/ |
D | xprt.h | 85 struct list_head rq_list; /* Slot allocation list */ member
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/hns/ |
D | hns_roce_cq.c | 273 INIT_LIST_HEAD(&hr_cq->rq_list); in hns_roce_create_cq()
|
D | hns_roce_device.h | 476 struct list_head rq_list; /* all qps on this recv cq */ member
|
D | hns_roce_qp.c | 224 list_add_tail(&hr_qp->rq_node, &hr_recv_cq->rq_list); in add_qp_to_list()
|
D | hns_roce_hw_v2.c | 3218 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/ |
D | ide.h | 624 struct list_head rq_list; member
|