Home
last modified time | relevance | path

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

/linux/block/
H A Dblk-mq.c671 blk_opf_t opf, blk_mq_req_flags_t flags, unsigned int hctx_idx) in blk_mq_alloc_request_hctx() argument
699 if (hctx_idx >= q->nr_hw_queues) in blk_mq_alloc_request_hctx()
711 data.hctx = xa_load(&q->hctx_table, hctx_idx); in blk_mq_alloc_request_hctx()
3387 unsigned int hctx_idx) in blk_mq_free_rqs() argument
3398 drv_tags = set->tags[hctx_idx]; in blk_mq_free_rqs()
3408 set->ops->exit_request(set, rq, hctx_idx); in blk_mq_free_rqs()
3438 unsigned int hctx_idx) in hctx_idx_to_type() argument
3446 if (hctx_idx >= start && hctx_idx < end) in hctx_idx_to_type()
3457 unsigned int hctx_idx) in blk_mq_get_hctx_node() argument
3459 enum hctx_type type = hctx_idx_to_type(set, hctx_idx); in blk_mq_get_hctx_node()
[all …]
H A Dblk-mq-sched.c382 unsigned int hctx_idx) in blk_mq_sched_alloc_map_and_rqs() argument
389 hctx->sched_tags = blk_mq_alloc_map_and_rqs(q->tag_set, hctx_idx, in blk_mq_sched_alloc_map_and_rqs()
H A Dbsg-lib.c302 unsigned int hctx_idx, unsigned int numa_node) in bsg_init_rq() argument
313 unsigned int hctx_idx) in bsg_exit_rq() argument
H A Dkyber-iosched.c464 static int kyber_init_hctx(struct blk_mq_hw_ctx *hctx, unsigned int hctx_idx) in kyber_init_hctx() argument
519 static void kyber_exit_hctx(struct blk_mq_hw_ctx *hctx, unsigned int hctx_idx) in kyber_exit_hctx() argument
/linux/drivers/nvme/target/
H A Dloop.c204 struct request *req, unsigned int hctx_idx, in nvme_loop_init_request() argument
213 (set == &ctrl->tag_set) ? hctx_idx + 1 : 0); in nvme_loop_init_request()
219 unsigned int hctx_idx) in nvme_loop_init_hctx() argument
222 struct nvme_loop_queue *queue = &ctrl->queues[hctx_idx + 1]; in nvme_loop_init_hctx()
224 BUG_ON(hctx_idx >= ctrl->ctrl.queue_count); in nvme_loop_init_hctx()
239 unsigned int hctx_idx) in nvme_loop_init_admin_hctx() argument
244 BUG_ON(hctx_idx != 0); in nvme_loop_init_admin_hctx()
/linux/drivers/mmc/core/
H A Dqueue.c206 unsigned int hctx_idx, unsigned int numa_node) in mmc_mq_init_request() argument
221 unsigned int hctx_idx) in mmc_mq_exit_request() argument
/linux/drivers/nvme/host/
H A Drdma.c286 struct request *rq, unsigned int hctx_idx) in nvme_rdma_exit_request() argument
294 struct request *rq, unsigned int hctx_idx, in nvme_rdma_init_request() argument
299 int queue_idx = (set == &ctrl->tag_set) ? hctx_idx + 1 : 0; in nvme_rdma_init_request()
320 unsigned int hctx_idx) in nvme_rdma_init_hctx() argument
323 struct nvme_rdma_queue *queue = &ctrl->queues[hctx_idx + 1]; in nvme_rdma_init_hctx()
325 BUG_ON(hctx_idx >= ctrl->ctrl.queue_count); in nvme_rdma_init_hctx()
332 unsigned int hctx_idx) in nvme_rdma_init_admin_hctx() argument
337 BUG_ON(hctx_idx != 0); in nvme_rdma_init_admin_hctx()
H A Dtcp.c520 struct request *rq, unsigned int hctx_idx) in nvme_tcp_exit_request() argument
528 struct request *rq, unsigned int hctx_idx, in nvme_tcp_init_request() argument
534 int queue_idx = (set == &ctrl->tag_set) ? hctx_idx + 1 : 0; in nvme_tcp_init_request()
553 unsigned int hctx_idx) in nvme_tcp_init_hctx() argument
556 struct nvme_tcp_queue *queue = &ctrl->queues[hctx_idx + 1]; in nvme_tcp_init_hctx()
563 unsigned int hctx_idx) in nvme_tcp_init_admin_hctx() argument
H A Dfc.c1834 unsigned int hctx_idx) in nvme_fc_exit_request() argument
2142 unsigned int hctx_idx, unsigned int numa_node) in nvme_fc_init_request() argument
2146 int queue_idx = (set == &ctrl->tag_set) ? hctx_idx + 1 : 0; in nvme_fc_init_request()
2227 nvme_fc_init_hctx(struct blk_mq_hw_ctx *hctx, void *data, unsigned int hctx_idx) in nvme_fc_init_hctx() argument
2229 return __nvme_fc_init_hctx(hctx, data, hctx_idx + 1); in nvme_fc_init_hctx()
2234 unsigned int hctx_idx) in nvme_fc_init_admin_hctx() argument
2236 return __nvme_fc_init_hctx(hctx, data, hctx_idx); in nvme_fc_init_admin_hctx()
H A Dpci.c402 unsigned int hctx_idx) in nvme_admin_init_hctx() argument
407 WARN_ON(hctx_idx != 0); in nvme_admin_init_hctx()
415 unsigned int hctx_idx) in nvme_init_hctx() argument
418 struct nvme_queue *nvmeq = &dev->queues[hctx_idx + 1]; in nvme_init_hctx()
420 WARN_ON(dev->tagset.tags[hctx_idx] != hctx->tags); in nvme_init_hctx()
426 struct request *req, unsigned int hctx_idx, in nvme_pci_init_request() argument
H A Dapple.c776 unsigned int hctx_idx) in apple_nvme_init_hctx() argument
783 struct request *req, unsigned int hctx_idx, in apple_nvme_init_request() argument
/linux/drivers/md/
H A Ddm-rq.c458 unsigned int hctx_idx, unsigned int numa_node) in dm_mq_init_request() argument
/linux/drivers/mtd/ubi/
H A Dblock.c314 struct request *req, unsigned int hctx_idx, in ubiblock_init_request() argument
/linux/drivers/scsi/
H A Dscsi_lib.c1892 unsigned int hctx_idx, unsigned int numa_node) in scsi_mq_init_request() argument
1920 unsigned int hctx_idx) in scsi_mq_exit_request() argument
1942 unsigned int hctx_idx) in scsi_init_hctx() argument
/linux/include/linux/
H A Dblk-mq.h753 unsigned int hctx_idx);
/linux/drivers/block/mtip32xx/
H A Dmtip32xx.c3323 unsigned int hctx_idx) in mtip_free_cmd() argument
3336 unsigned int hctx_idx, unsigned int numa_node) in mtip_init_cmd() argument
/linux/drivers/block/
H A Dnbd.c1807 unsigned int hctx_idx, unsigned int numa_node) in nbd_init_request() argument
H A Dublk_drv.c1331 unsigned int hctx_idx) in ublk_init_hctx() argument