Lines Matching refs:io_queues
128 u32 io_queues[HCTX_MAX_TYPES]; member
168 queue->ctrl->io_queues[HCTX_TYPE_DEFAULT] + in nvme_rdma_poll_queue()
169 queue->ctrl->io_queues[HCTX_TYPE_READ]; in nvme_rdma_poll_queue()
753 ctrl->io_queues[HCTX_TYPE_READ] = nr_read_queues; in nvme_rdma_alloc_io_queues()
754 nr_io_queues -= ctrl->io_queues[HCTX_TYPE_READ]; in nvme_rdma_alloc_io_queues()
755 ctrl->io_queues[HCTX_TYPE_DEFAULT] = in nvme_rdma_alloc_io_queues()
757 nr_io_queues -= ctrl->io_queues[HCTX_TYPE_DEFAULT]; in nvme_rdma_alloc_io_queues()
764 ctrl->io_queues[HCTX_TYPE_DEFAULT] = in nvme_rdma_alloc_io_queues()
766 nr_io_queues -= ctrl->io_queues[HCTX_TYPE_DEFAULT]; in nvme_rdma_alloc_io_queues()
771 ctrl->io_queues[HCTX_TYPE_POLL] = in nvme_rdma_alloc_io_queues()
2148 if (opts->nr_write_queues && ctrl->io_queues[HCTX_TYPE_READ]) { in nvme_rdma_map_queues()
2151 ctrl->io_queues[HCTX_TYPE_DEFAULT]; in nvme_rdma_map_queues()
2154 ctrl->io_queues[HCTX_TYPE_READ]; in nvme_rdma_map_queues()
2156 ctrl->io_queues[HCTX_TYPE_DEFAULT]; in nvme_rdma_map_queues()
2160 ctrl->io_queues[HCTX_TYPE_DEFAULT]; in nvme_rdma_map_queues()
2163 ctrl->io_queues[HCTX_TYPE_DEFAULT]; in nvme_rdma_map_queues()
2171 if (opts->nr_poll_queues && ctrl->io_queues[HCTX_TYPE_POLL]) { in nvme_rdma_map_queues()
2174 ctrl->io_queues[HCTX_TYPE_POLL]; in nvme_rdma_map_queues()
2176 ctrl->io_queues[HCTX_TYPE_DEFAULT] + in nvme_rdma_map_queues()
2177 ctrl->io_queues[HCTX_TYPE_READ]; in nvme_rdma_map_queues()
2183 ctrl->io_queues[HCTX_TYPE_DEFAULT], in nvme_rdma_map_queues()
2184 ctrl->io_queues[HCTX_TYPE_READ], in nvme_rdma_map_queues()
2185 ctrl->io_queues[HCTX_TYPE_POLL]); in nvme_rdma_map_queues()