Lines Matching defs:opts
73 * with the parsing opts enum.
174 struct nvmf_ctrl_options *opts);
179 struct nvmf_ctrl_options *opts)
186 strcmp(opts->subsysnqn, ctrl->opts->subsysnqn) ||
187 strcmp(opts->host->nqn, ctrl->opts->host->nqn) ||
188 !uuid_equal(&opts->host->id, &ctrl->opts->host->id))
197 !strcmp(ctrl->opts->subsysnqn, NVME_DISC_SUBSYS_NAME))
198 return ctrl->opts->subsysnqn;
210 static inline unsigned int nvmf_nr_io_queues(struct nvmf_ctrl_options *opts)
212 return min(opts->nr_io_queues, num_online_cpus()) +
213 min(opts->nr_write_queues, num_online_cpus()) +
214 min(opts->nr_poll_queues, num_online_cpus());
224 void nvmf_free_options(struct nvmf_ctrl_options *opts);
228 struct nvmf_ctrl_options *opts);
229 void nvmf_set_io_queues(struct nvmf_ctrl_options *opts, u32 nr_io_queues,