Home
last modified time | relevance | path

Searched refs:hctx_idx (Results 1 – 22 of 22) sorted by relevance

/kernel/linux/linux-5.10/block/
Dblk-mq.c445 unsigned int op, blk_mq_req_flags_t flags, unsigned int hctx_idx) in blk_mq_alloc_request_hctx() argument
470 if (hctx_idx >= q->nr_hw_queues) in blk_mq_alloc_request_hctx()
482 data.hctx = q->queue_hw_ctx[hctx_idx]; in blk_mq_alloc_request_hctx()
2300 struct blk_mq_tags *tags, unsigned int hctx_idx) in blk_mq_clear_rq_mapping() argument
2302 struct blk_mq_tags *drv_tags = set->tags[hctx_idx]; in blk_mq_clear_rq_mapping()
2333 unsigned int hctx_idx) in blk_mq_free_rqs() argument
2345 set->ops->exit_request(set, rq, hctx_idx); in blk_mq_free_rqs()
2350 blk_mq_clear_rq_mapping(set, tags, hctx_idx); in blk_mq_free_rqs()
2375 unsigned int hctx_idx, in blk_mq_alloc_rq_map() argument
2383 node = blk_mq_hw_queue_to_node(&set->map[HCTX_TYPE_DEFAULT], hctx_idx); in blk_mq_alloc_rq_map()
[all …]
Dblk-mq.h56 unsigned int hctx_idx);
59 unsigned int hctx_idx,
64 unsigned int hctx_idx, unsigned int depth);
Dblk-mq-sched.c519 unsigned int hctx_idx) in blk_mq_sched_alloc_tags() argument
526 hctx->sched_tags = blk_mq_alloc_rq_map(set, hctx_idx, q->nr_requests, in blk_mq_sched_alloc_tags()
531 ret = blk_mq_alloc_rqs(set, hctx->sched_tags, hctx_idx, q->nr_requests); in blk_mq_sched_alloc_tags()
Dbsg-lib.c294 unsigned int hctx_idx, unsigned int numa_node) in bsg_init_rq() argument
317 unsigned int hctx_idx) in bsg_exit_rq() argument
Dkyber-iosched.c459 static int kyber_init_hctx(struct blk_mq_hw_ctx *hctx, unsigned int hctx_idx) in kyber_init_hctx() argument
513 static void kyber_exit_hctx(struct blk_mq_hw_ctx *hctx, unsigned int hctx_idx) in kyber_exit_hctx() argument
/kernel/linux/linux-5.10/drivers/nvme/target/
Dloop.c204 struct request *req, unsigned int hctx_idx, in nvme_loop_init_request() argument
211 (set == &ctrl->tag_set) ? hctx_idx + 1 : 0); in nvme_loop_init_request()
217 unsigned int hctx_idx) in nvme_loop_init_hctx() argument
220 struct nvme_loop_queue *queue = &ctrl->queues[hctx_idx + 1]; in nvme_loop_init_hctx()
222 BUG_ON(hctx_idx >= ctrl->ctrl.queue_count); in nvme_loop_init_hctx()
237 unsigned int hctx_idx) in nvme_loop_init_admin_hctx() argument
242 BUG_ON(hctx_idx != 0); in nvme_loop_init_admin_hctx()
/kernel/linux/linux-5.10/drivers/mmc/core/
Dqueue.c233 unsigned int hctx_idx, unsigned int numa_node) in mmc_mq_init_request() argument
239 unsigned int hctx_idx) in mmc_mq_exit_request() argument
/kernel/linux/linux-5.10/drivers/nvme/host/
Drdma.c289 struct request *rq, unsigned int hctx_idx) in nvme_rdma_exit_request() argument
297 struct request *rq, unsigned int hctx_idx, in nvme_rdma_init_request() argument
302 int queue_idx = (set == &ctrl->tag_set) ? hctx_idx + 1 : 0; in nvme_rdma_init_request()
322 unsigned int hctx_idx) in nvme_rdma_init_hctx() argument
325 struct nvme_rdma_queue *queue = &ctrl->queues[hctx_idx + 1]; in nvme_rdma_init_hctx()
327 BUG_ON(hctx_idx >= ctrl->ctrl.queue_count); in nvme_rdma_init_hctx()
334 unsigned int hctx_idx) in nvme_rdma_init_admin_hctx() argument
339 BUG_ON(hctx_idx != 0); in nvme_rdma_init_admin_hctx()
Dpci.c399 unsigned int hctx_idx) in nvme_admin_init_hctx() argument
404 WARN_ON(hctx_idx != 0); in nvme_admin_init_hctx()
412 unsigned int hctx_idx) in nvme_init_hctx() argument
415 struct nvme_queue *nvmeq = &dev->queues[hctx_idx + 1]; in nvme_init_hctx()
417 WARN_ON(dev->tagset.tags[hctx_idx] != hctx->tags); in nvme_init_hctx()
423 unsigned int hctx_idx, unsigned int numa_node) in nvme_init_request() argument
427 int queue_idx = (set == &dev->tagset) ? hctx_idx + 1 : 0; in nvme_init_request()
Dtcp.c449 struct request *rq, unsigned int hctx_idx) in nvme_tcp_exit_request() argument
457 struct request *rq, unsigned int hctx_idx, in nvme_tcp_init_request() argument
462 int queue_idx = (set == &ctrl->tag_set) ? hctx_idx + 1 : 0; in nvme_tcp_init_request()
479 unsigned int hctx_idx) in nvme_tcp_init_hctx() argument
482 struct nvme_tcp_queue *queue = &ctrl->queues[hctx_idx + 1]; in nvme_tcp_init_hctx()
489 unsigned int hctx_idx) in nvme_tcp_init_admin_hctx() argument
Dfc.c1827 unsigned int hctx_idx) in nvme_fc_exit_request() argument
2117 unsigned int hctx_idx, unsigned int numa_node) in nvme_fc_init_request() argument
2121 int queue_idx = (set == &ctrl->tag_set) ? hctx_idx + 1 : 0; in nvme_fc_init_request()
2201 unsigned int hctx_idx) in nvme_fc_init_hctx() argument
2205 __nvme_fc_init_hctx(hctx, ctrl, hctx_idx + 1); in nvme_fc_init_hctx()
2212 unsigned int hctx_idx) in nvme_fc_init_admin_hctx() argument
2216 __nvme_fc_init_hctx(hctx, ctrl, hctx_idx); in nvme_fc_init_admin_hctx()
/kernel/linux/linux-5.10/include/linux/
Dblk-mq.h464 unsigned int hctx_idx);
/kernel/linux/linux-5.10/drivers/md/
Ddm-rq.c466 unsigned int hctx_idx, unsigned int numa_node) in dm_mq_init_request() argument
/kernel/linux/linux-5.10/drivers/mtd/ubi/
Dblock.c332 struct request *req, unsigned int hctx_idx, in ubiblock_init_request() argument
/kernel/linux/linux-5.10/drivers/block/
Dnull_blk_main.c1528 static void null_exit_hctx(struct blk_mq_hw_ctx *hctx, unsigned int hctx_idx) in null_exit_hctx() argument
1544 unsigned int hctx_idx) in null_init_hctx() argument
1554 nq = &nullb->queues[hctx_idx]; in null_init_hctx()
Dvirtio_blk.c672 unsigned int hctx_idx, unsigned int numa_node) in virtblk_init_request() argument
Dskd_main.c2742 unsigned int hctx_idx, unsigned int numa_node) in skd_init_request() argument
2757 unsigned int hctx_idx) in skd_exit_request() argument
Dloop.c2067 unsigned int hctx_idx, unsigned int numa_node) in loop_init_request() argument
Dnbd.c1751 unsigned int hctx_idx, unsigned int numa_node) in nbd_init_request() argument
/kernel/linux/linux-5.10/drivers/scsi/
Dscsi_lib.c1738 unsigned int hctx_idx, unsigned int numa_node) in scsi_mq_init_request() argument
1771 unsigned int hctx_idx) in scsi_mq_exit_request() argument
/kernel/linux/linux-5.10/drivers/block/rnbd/
Drnbd-clt.c1154 unsigned int hctx_idx, unsigned int numa_node) in rnbd_init_request() argument
/kernel/linux/linux-5.10/drivers/block/mtip32xx/
Dmtip32xx.c3507 unsigned int hctx_idx) in mtip_free_cmd() argument
3520 unsigned int hctx_idx, unsigned int numa_node) in mtip_init_cmd() argument