Lines Matching refs:io_queues
169 u32 io_queues[HCTX_MAX_TYPES]; member
1401 qid < 1 + ctrl->io_queues[HCTX_TYPE_DEFAULT]; in nvme_tcp_default_queue()
1411 qid < 1 + ctrl->io_queues[HCTX_TYPE_DEFAULT] + in nvme_tcp_read_queue()
1412 ctrl->io_queues[HCTX_TYPE_READ]; in nvme_tcp_read_queue()
1423 qid < 1 + ctrl->io_queues[HCTX_TYPE_DEFAULT] + in nvme_tcp_poll_queue()
1424 ctrl->io_queues[HCTX_TYPE_READ] + in nvme_tcp_poll_queue()
1425 ctrl->io_queues[HCTX_TYPE_POLL]; in nvme_tcp_poll_queue()
1437 n = qid - ctrl->io_queues[HCTX_TYPE_DEFAULT] - 1; in nvme_tcp_set_queue_io_cpu()
1439 n = qid - ctrl->io_queues[HCTX_TYPE_DEFAULT] - in nvme_tcp_set_queue_io_cpu()
1440 ctrl->io_queues[HCTX_TYPE_READ] - 1; in nvme_tcp_set_queue_io_cpu()
1806 ctrl->io_queues[HCTX_TYPE_READ] = opts->nr_io_queues; in nvme_tcp_set_io_queues()
1807 nr_io_queues -= ctrl->io_queues[HCTX_TYPE_READ]; in nvme_tcp_set_io_queues()
1808 ctrl->io_queues[HCTX_TYPE_DEFAULT] = in nvme_tcp_set_io_queues()
1810 nr_io_queues -= ctrl->io_queues[HCTX_TYPE_DEFAULT]; in nvme_tcp_set_io_queues()
1817 ctrl->io_queues[HCTX_TYPE_DEFAULT] = in nvme_tcp_set_io_queues()
1819 nr_io_queues -= ctrl->io_queues[HCTX_TYPE_DEFAULT]; in nvme_tcp_set_io_queues()
1824 ctrl->io_queues[HCTX_TYPE_POLL] = in nvme_tcp_set_io_queues()
2450 if (opts->nr_write_queues && ctrl->io_queues[HCTX_TYPE_READ]) { in nvme_tcp_map_queues()
2453 ctrl->io_queues[HCTX_TYPE_DEFAULT]; in nvme_tcp_map_queues()
2456 ctrl->io_queues[HCTX_TYPE_READ]; in nvme_tcp_map_queues()
2458 ctrl->io_queues[HCTX_TYPE_DEFAULT]; in nvme_tcp_map_queues()
2462 ctrl->io_queues[HCTX_TYPE_DEFAULT]; in nvme_tcp_map_queues()
2465 ctrl->io_queues[HCTX_TYPE_DEFAULT]; in nvme_tcp_map_queues()
2471 if (opts->nr_poll_queues && ctrl->io_queues[HCTX_TYPE_POLL]) { in nvme_tcp_map_queues()
2474 ctrl->io_queues[HCTX_TYPE_POLL]; in nvme_tcp_map_queues()
2476 ctrl->io_queues[HCTX_TYPE_DEFAULT] + in nvme_tcp_map_queues()
2477 ctrl->io_queues[HCTX_TYPE_READ]; in nvme_tcp_map_queues()
2483 ctrl->io_queues[HCTX_TYPE_DEFAULT], in nvme_tcp_map_queues()
2484 ctrl->io_queues[HCTX_TYPE_READ], in nvme_tcp_map_queues()
2485 ctrl->io_queues[HCTX_TYPE_POLL]); in nvme_tcp_map_queues()