Lines Matching refs:io_queues
171 u32 io_queues[HCTX_MAX_TYPES]; member
1444 qid < 1 + ctrl->io_queues[HCTX_TYPE_DEFAULT]; in nvme_tcp_default_queue()
1454 qid < 1 + ctrl->io_queues[HCTX_TYPE_DEFAULT] + in nvme_tcp_read_queue()
1455 ctrl->io_queues[HCTX_TYPE_READ]; in nvme_tcp_read_queue()
1466 qid < 1 + ctrl->io_queues[HCTX_TYPE_DEFAULT] + in nvme_tcp_poll_queue()
1467 ctrl->io_queues[HCTX_TYPE_READ] + in nvme_tcp_poll_queue()
1468 ctrl->io_queues[HCTX_TYPE_POLL]; in nvme_tcp_poll_queue()
1480 n = qid - ctrl->io_queues[HCTX_TYPE_DEFAULT] - 1; in nvme_tcp_set_queue_io_cpu()
1482 n = qid - ctrl->io_queues[HCTX_TYPE_DEFAULT] - in nvme_tcp_set_queue_io_cpu()
1483 ctrl->io_queues[HCTX_TYPE_READ] - 1; in nvme_tcp_set_queue_io_cpu()
1803 ctrl->io_queues[HCTX_TYPE_READ] = opts->nr_io_queues; in nvme_tcp_set_io_queues()
1804 nr_io_queues -= ctrl->io_queues[HCTX_TYPE_READ]; in nvme_tcp_set_io_queues()
1805 ctrl->io_queues[HCTX_TYPE_DEFAULT] = in nvme_tcp_set_io_queues()
1807 nr_io_queues -= ctrl->io_queues[HCTX_TYPE_DEFAULT]; in nvme_tcp_set_io_queues()
1814 ctrl->io_queues[HCTX_TYPE_DEFAULT] = in nvme_tcp_set_io_queues()
1816 nr_io_queues -= ctrl->io_queues[HCTX_TYPE_DEFAULT]; in nvme_tcp_set_io_queues()
1821 ctrl->io_queues[HCTX_TYPE_POLL] = in nvme_tcp_set_io_queues()
2429 if (opts->nr_write_queues && ctrl->io_queues[HCTX_TYPE_READ]) { in nvme_tcp_map_queues()
2432 ctrl->io_queues[HCTX_TYPE_DEFAULT]; in nvme_tcp_map_queues()
2435 ctrl->io_queues[HCTX_TYPE_READ]; in nvme_tcp_map_queues()
2437 ctrl->io_queues[HCTX_TYPE_DEFAULT]; in nvme_tcp_map_queues()
2441 ctrl->io_queues[HCTX_TYPE_DEFAULT]; in nvme_tcp_map_queues()
2444 ctrl->io_queues[HCTX_TYPE_DEFAULT]; in nvme_tcp_map_queues()
2450 if (opts->nr_poll_queues && ctrl->io_queues[HCTX_TYPE_POLL]) { in nvme_tcp_map_queues()
2453 ctrl->io_queues[HCTX_TYPE_POLL]; in nvme_tcp_map_queues()
2455 ctrl->io_queues[HCTX_TYPE_DEFAULT] + in nvme_tcp_map_queues()
2456 ctrl->io_queues[HCTX_TYPE_READ]; in nvme_tcp_map_queues()
2462 ctrl->io_queues[HCTX_TYPE_DEFAULT], in nvme_tcp_map_queues()
2463 ctrl->io_queues[HCTX_TYPE_READ], in nvme_tcp_map_queues()
2464 ctrl->io_queues[HCTX_TYPE_POLL]); in nvme_tcp_map_queues()