Lines Matching defs:opts
70 * with the parsing opts enum.
165 struct nvmf_ctrl_options *opts);
170 struct nvmf_ctrl_options *opts)
175 strcmp(opts->subsysnqn, ctrl->opts->subsysnqn) ||
176 strcmp(opts->host->nqn, ctrl->opts->host->nqn) ||
177 !uuid_equal(&opts->host->id, &ctrl->opts->host->id))
186 !strcmp(ctrl->opts->subsysnqn, NVME_DISC_SUBSYS_NAME))
187 return ctrl->opts->subsysnqn;
199 static inline unsigned int nvmf_nr_io_queues(struct nvmf_ctrl_options *opts)
201 return min(opts->nr_io_queues, num_online_cpus()) +
202 min(opts->nr_write_queues, num_online_cpus()) +
203 min(opts->nr_poll_queues, num_online_cpus());
213 void nvmf_free_options(struct nvmf_ctrl_options *opts);
217 struct nvmf_ctrl_options *opts);
218 void nvmf_set_io_queues(struct nvmf_ctrl_options *opts, u32 nr_io_queues,