/linux/block/ |
H A D | blk-mq-sched.c | 64 list_for_each_entry(rq, rq_list, queuelist) { in blk_mq_dispatch_hctx_list() 71 list_splice_tail_init(rq_list, &hctx_list); in blk_mq_dispatch_hctx_list() 94 LIST_HEAD(rq_list); in __blk_mq_do_dispatch_sched() 139 list_add_tail(&rq->queuelist, &rq_list); in __blk_mq_do_dispatch_sched() 165 list_sort(NULL, &rq_list, sched_rq_cmp); in __blk_mq_do_dispatch_sched() 168 } while (!list_empty(&rq_list)); in __blk_mq_do_dispatch_sched() 218 LIST_HEAD(rq_list); in blk_mq_do_dispatch_ctx() 259 list_add(&rq->queuelist, &rq_list); in blk_mq_do_dispatch_ctx() 273 LIST_HEAD(rq_list); in __blk_mq_sched_dispatch_requests() 299 if (!list_empty(&rq_list)) { in __blk_mq_sched_dispatch_requests() [all …]
|
H A D | kyber-iosched.c | 147 struct list_head rq_list[KYBER_NUM_DOMAINS]; member 450 INIT_LIST_HEAD(&kcq->rq_list[i]); in kyber_ctx_queue_init() 575 struct list_head *rq_list = &kcq->rq_list[sched_domain]; in kyber_bio_merge() local 579 merged = blk_bio_list_merge(hctx->queue, rq_list, bio, nr_segs); in kyber_bio_merge() 591 struct list_head *rq_list, in kyber_insert_requests() argument 597 list_for_each_entry_safe(rq, next, rq_list, queuelist) { in kyber_insert_requests() 600 struct list_head *head = &kcq->rq_list[sched_domain]; in kyber_insert_requests() 673 list_splice_tail_init(&kcq->rq_list[flush_data->sched_domain], in flush_busy_kcq()
|
H A D | blk-mq.c | 1445 LIST_HEAD(rq_list); in blk_mq_requeue_work() 1450 list_splice_init(&q->requeue_list, &rq_list); in blk_mq_requeue_work() 1454 while (!list_empty(&rq_list)) { in blk_mq_requeue_work() 1455 rq = list_entry(rq_list.next, struct request, queuelist); in blk_mq_requeue_work()
|
/linux/include/linux/mtd/ |
H A D | blktrans.h | 33 struct list_head rq_list; member
|
/linux/drivers/scsi/ |
H A D | sg.c | 149 struct list_head rq_list; /* head of request list */ member 867 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() 1187 list_for_each_entry(srp, &sfp->rq_list, entry) { in sg_poll() 2109 if (!list_empty(&sfp->rq_list)) { in sg_add_request() 2123 list_add_tail(&rp->entry, &sfp->rq_list); in sg_add_request() 2138 if (!sfp || !srp || list_empty(&sfp->rq_list)) in sg_remove_request() 2172 INIT_LIST_HEAD(&sfp->rq_list); in sg_add_sfp() 2218 while (!list_empty(&sfp->rq_list)) { in sg_remove_sfp_usercontext() [all …]
|
/linux/drivers/mtd/ |
H A 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() 376 INIT_LIST_HEAD(&new->rq_list); in add_mtd_blktrans_dev()
|
/linux/drivers/block/aoe/ |
H A D | aoe.h | 173 struct list_head rq_list; member
|
H A D | aoedev.c | 474 INIT_LIST_HEAD(&d->rq_list); in aoedev_by_aoeaddr()
|
H A D | aoeblk.c | 265 list_add_tail(&bd->rq->queuelist, &d->rq_list); in aoeblk_queue_rq()
|
H A D | aoecmd.c | 857 rq = list_first_entry_or_null(&d->rq_list, struct request, in nextbuf()
|
/linux/net/sunrpc/ |
H A D | xprt.c | 1738 req = list_entry(xprt->free.next, struct rpc_rqst, rq_list); in xprt_alloc_slot() 1739 list_del(&req->rq_list); in xprt_alloc_slot() 1776 list_add(&req->rq_list, &xprt->free); in xprt_free_slot() 1786 req = list_first_entry(&xprt->free, struct rpc_rqst, rq_list); in xprt_free_all_slots() 1787 list_del(&req->rq_list); in xprt_free_all_slots() 1835 list_add(&req->rq_list, &xprt->free); in xprt_alloc()
|
/linux/include/linux/sunrpc/ |
H A D | xprt.h | 76 struct list_head rq_list; /* Slot allocation list */ member
|
/linux/drivers/infiniband/hw/hns/ |
H A D | hns_roce_cq.c | 326 INIT_LIST_HEAD(&hr_cq->rq_list); in set_cq_param()
|
H A D | hns_roce_device.h | 442 struct list_head rq_list; /* all qps on this recv cq */ member
|
H A D | hns_roce_qp.c | 276 list_add_tail(&hr_qp->rq_node, &hr_recv_cq->rq_list); in add_qp_to_list()
|
H A D | hns_roce_hw_v2.c | 3697 list_for_each_entry(hr_qp, &hr_cq->rq_list, rq_node) { in hns_roce_v2_sw_poll_cq()
|