Home
last modified time | relevance | path

Searched refs:tagset (Results 1 – 12 of 12) sorted by relevance

/linux-6.6.21/block/
Dblk-mq-tag.c436 void blk_mq_tagset_busy_iter(struct blk_mq_tag_set *tagset, in blk_mq_tagset_busy_iter() argument
439 unsigned int flags = tagset->flags; in blk_mq_tagset_busy_iter()
442 nr_tags = blk_mq_is_shared_tags(flags) ? 1 : tagset->nr_hw_queues; in blk_mq_tagset_busy_iter()
445 if (tagset->tags && tagset->tags[i]) in blk_mq_tagset_busy_iter()
446 __blk_mq_all_tag_iter(tagset->tags[i], fn, priv, in blk_mq_tagset_busy_iter()
468 void blk_mq_tagset_wait_completed_request(struct blk_mq_tag_set *tagset) in blk_mq_tagset_wait_completed_request() argument
473 blk_mq_tagset_busy_iter(tagset, in blk_mq_tagset_wait_completed_request()
/linux-6.6.21/drivers/nvme/host/
Dapple.c194 struct blk_mq_tag_set tagset; member
582 return anv->tagset.tags[0]; in apple_nvme_queue_tagset()
1146 blk_mq_update_nr_hw_queues(&anv->tagset, 1); in apple_nvme_reset_work()
1264 anv->tagset.ops = &apple_nvme_mq_ops; in apple_nvme_alloc_tagsets()
1265 anv->tagset.nr_hw_queues = 1; in apple_nvme_alloc_tagsets()
1266 anv->tagset.nr_maps = 1; in apple_nvme_alloc_tagsets()
1272 anv->tagset.reserved_tags = APPLE_NVME_AQ_DEPTH; in apple_nvme_alloc_tagsets()
1273 anv->tagset.queue_depth = APPLE_ANS_MAX_QUEUE_DEPTH - 1; in apple_nvme_alloc_tagsets()
1274 anv->tagset.timeout = NVME_IO_TIMEOUT; in apple_nvme_alloc_tagsets()
1275 anv->tagset.numa_node = NUMA_NO_NODE; in apple_nvme_alloc_tagsets()
[all …]
Dcore.c134 if (nvme_ctrl_state(ctrl) == NVME_CTRL_LIVE && ctrl->tagset) in nvme_queue_scan()
475 if (ctrl->tagset) { in nvme_cancel_tagset()
476 blk_mq_tagset_busy_iter(ctrl->tagset, in nvme_cancel_tagset()
478 blk_mq_tagset_wait_completed_request(ctrl->tagset); in nvme_cancel_tagset()
3605 disk = blk_mq_alloc_disk(ctrl->tagset, ns); in nvme_alloc_ns()
3927 if (nvme_ctrl_state(ctrl) != NVME_CTRL_LIVE || !ctrl->tagset) in nvme_scan_work()
4342 ctrl->tagset = set; in nvme_alloc_io_tag_set()
4358 blk_mq_free_tag_set(ctrl->tagset); in nvme_remove_io_tag_set()
4617 if (!ctrl->tagset) in nvme_quiesce_io_queues()
4620 blk_mq_quiesce_tagset(ctrl->tagset); in nvme_quiesce_io_queues()
[all …]
Dpci.c120 struct blk_mq_tag_set tagset; member
414 WARN_ON(dev->tagset.tags[hctx_idx] != hctx->tags); in nvme_init_hctx()
1009 return nvmeq->dev->tagset.tags[nvmeq->qid - 1]; in nvme_queue_tagset()
2463 blk_mq_update_nr_hw_queues(&dev->tagset, dev->online_queues - 1); in nvme_pci_update_nr_queues()
2671 if (dev->tagset.tags) in nvme_free_tagset()
2673 dev->ctrl.tagset = NULL; in nvme_free_tagset()
3052 nvme_alloc_io_tag_set(&dev->ctrl, &dev->tagset, &nvme_mq_ops, in nvme_probe()
3057 if (!dev->ctrl.tagset) in nvme_probe()
Dmultipath.c551 if (ctrl->tagset->nr_maps > HCTX_TYPE_POLL && in nvme_mpath_alloc_disk()
552 ctrl->tagset->map[HCTX_TYPE_POLL].nr_queues) in nvme_mpath_alloc_disk()
Dtcp.c1865 nr_queues = min(ctrl->tagset->nr_hw_queues + 1, ctrl->queue_count); in nvme_tcp_configure_io_queues()
1883 blk_mq_update_nr_hw_queues(ctrl->tagset, in nvme_tcp_configure_io_queues()
1893 ctrl->tagset->nr_hw_queues + 1); in nvme_tcp_configure_io_queues()
Dnvme.h275 struct blk_mq_tag_set *tagset; member
Dfc.c2392 if (ctrl->ctrl.tagset) in nvme_fc_ctrl_free()
2940 ctrl->ctrl.tagset = NULL; in nvme_fc_create_io_queues()
3262 if (ctrl->ctrl.tagset) { in nvme_fc_delete_association()
Drdma.c901 blk_mq_update_nr_hw_queues(ctrl->ctrl.tagset, in nvme_rdma_configure_io_queues()
/linux-6.6.21/include/linux/
Dblk-mq.h888 void blk_mq_tagset_busy_iter(struct blk_mq_tag_set *tagset,
890 void blk_mq_tagset_wait_completed_request(struct blk_mq_tag_set *tagset);
/linux-6.6.21/drivers/nvme/target/
Dloop.c283 if (nctrl->tagset) in nvme_loop_free_ctrl()
/linux-6.6.21/Documentation/block/
Dublk.rst136 When ``/dev/ublkc`` is added, the driver creates block layer tagset, so