Home
last modified time | relevance | path

Searched refs:nr_write_queues (Results 1 – 5 of 5) sorted by relevance

/linux-5.19.10/drivers/nvme/host/
Dfabrics.h127 unsigned int nr_write_queues; member
Dpci.c159 unsigned int nr_write_queues; member
2268 unsigned int nr_read_queues, nr_write_queues = dev->nr_write_queues; in nvme_calc_irq_sets() local
2284 } else if (nrirqs == 1 || !nr_write_queues) { in nvme_calc_irq_sets()
2286 } else if (nr_write_queues >= nrirqs) { in nvme_calc_irq_sets()
2289 nr_read_queues = nrirqs - nr_write_queues; in nvme_calc_irq_sets()
2349 return num_possible_cpus() + dev->nr_write_queues + dev->nr_poll_queues; in nvme_max_io_queues()
2364 dev->nr_write_queues = write_queues; in nvme_setup_io_queues()
3104 dev->nr_write_queues = write_queues; in nvme_probe()
Dfabrics.c799 opts->nr_write_queues = token; in nvmf_parse_options()
842 opts->nr_write_queues = 0; in nvmf_parse_options()
Dtcp.c1814 nr_io_queues += min(ctrl->opts->nr_write_queues, num_online_cpus()); in nvme_tcp_nr_io_queues()
1826 if (opts->nr_write_queues && opts->nr_io_queues < nr_io_queues) { in nvme_tcp_set_io_queues()
1835 min(opts->nr_write_queues, nr_io_queues); in nvme_tcp_set_io_queues()
2471 if (opts->nr_write_queues && ctrl->io_queues[HCTX_TYPE_READ]) { in nvme_tcp_map_queues()
2591 ctrl->ctrl.queue_count = opts->nr_io_queues + opts->nr_write_queues + in nvme_tcp_create_ctrl()
Drdma.c731 min(opts->nr_write_queues, num_online_cpus())); in nvme_rdma_alloc_io_queues()
749 if (opts->nr_write_queues && nr_read_queues < nr_io_queues) { in nvme_rdma_alloc_io_queues()
2199 if (opts->nr_write_queues && ctrl->io_queues[HCTX_TYPE_READ]) { in nvme_rdma_map_queues()
2395 ctrl->ctrl.queue_count = opts->nr_io_queues + opts->nr_write_queues + in nvme_rdma_create_ctrl()