Lines Matching refs:nr_io_queues
668 opts->nr_io_queues = num_online_cpus(); in nvmf_parse_options()
766 opts->nr_io_queues = min_t(unsigned int, in nvmf_parse_options()
969 opts->nr_io_queues = 0; in nvmf_parse_options()
999 void nvmf_set_io_queues(struct nvmf_ctrl_options *opts, u32 nr_io_queues, in nvmf_set_io_queues() argument
1002 if (opts->nr_write_queues && opts->nr_io_queues < nr_io_queues) { in nvmf_set_io_queues()
1008 io_queues[HCTX_TYPE_READ] = opts->nr_io_queues; in nvmf_set_io_queues()
1009 nr_io_queues -= io_queues[HCTX_TYPE_READ]; in nvmf_set_io_queues()
1011 min(opts->nr_write_queues, nr_io_queues); in nvmf_set_io_queues()
1012 nr_io_queues -= io_queues[HCTX_TYPE_DEFAULT]; in nvmf_set_io_queues()
1020 min(opts->nr_io_queues, nr_io_queues); in nvmf_set_io_queues()
1021 nr_io_queues -= io_queues[HCTX_TYPE_DEFAULT]; in nvmf_set_io_queues()
1024 if (opts->nr_poll_queues && nr_io_queues) { in nvmf_set_io_queues()
1027 min(opts->nr_poll_queues, nr_io_queues); in nvmf_set_io_queues()