Lines Matching refs:nr_io_queues
2896 unsigned int nr_io_queues; in nvme_fc_create_io_queues() local
2899 nr_io_queues = min(min(opts->nr_io_queues, num_online_cpus()), in nvme_fc_create_io_queues()
2901 ret = nvme_set_queue_count(&ctrl->ctrl, &nr_io_queues); in nvme_fc_create_io_queues()
2908 ctrl->ctrl.queue_count = nr_io_queues + 1; in nvme_fc_create_io_queues()
2909 if (!nr_io_queues) in nvme_fc_create_io_queues()
2950 unsigned int nr_io_queues; in nvme_fc_recreate_io_queues() local
2953 nr_io_queues = min(min(opts->nr_io_queues, num_online_cpus()), in nvme_fc_recreate_io_queues()
2955 ret = nvme_set_queue_count(&ctrl->ctrl, &nr_io_queues); in nvme_fc_recreate_io_queues()
2962 if (!nr_io_queues && prior_ioq_cnt) { in nvme_fc_recreate_io_queues()
2969 ctrl->ctrl.queue_count = nr_io_queues + 1; in nvme_fc_recreate_io_queues()
2974 if (prior_ioq_cnt != nr_io_queues) { in nvme_fc_recreate_io_queues()
2977 prior_ioq_cnt, nr_io_queues); in nvme_fc_recreate_io_queues()
2978 blk_mq_update_nr_hw_queues(&ctrl->tag_set, nr_io_queues); in nvme_fc_recreate_io_queues()
3513 opts->nr_io_queues, in nvme_fc_init_ctrl()