Lines Matching refs:ctrl
152 nvmf_ctlr_matches_baseopts(struct nvme_ctrl *ctrl,
155 if (ctrl->state == NVME_CTRL_DELETING ||
156 ctrl->state == NVME_CTRL_DELETING_NOIO ||
157 ctrl->state == NVME_CTRL_DEAD ||
158 strcmp(opts->subsysnqn, ctrl->opts->subsysnqn) ||
159 strcmp(opts->host->nqn, ctrl->opts->host->nqn) ||
160 memcmp(&opts->host->id, &ctrl->opts->host->id, sizeof(uuid_t)))
166 int nvmf_reg_read32(struct nvme_ctrl *ctrl, u32 off, u32 *val);
167 int nvmf_reg_read64(struct nvme_ctrl *ctrl, u32 off, u64 *val);
168 int nvmf_reg_write32(struct nvme_ctrl *ctrl, u32 off, u32 val);
169 int nvmf_connect_admin_queue(struct nvme_ctrl *ctrl);
170 int nvmf_connect_io_queue(struct nvme_ctrl *ctrl, u16 qid, bool poll);
174 int nvmf_get_address(struct nvme_ctrl *ctrl, char *buf, int size);
175 bool nvmf_should_reconnect(struct nvme_ctrl *ctrl);
176 blk_status_t nvmf_fail_nonready_command(struct nvme_ctrl *ctrl,
178 bool __nvmf_check_ready(struct nvme_ctrl *ctrl, struct request *rq,
180 bool nvmf_ip_options_match(struct nvme_ctrl *ctrl,
183 static inline bool nvmf_check_ready(struct nvme_ctrl *ctrl, struct request *rq,
186 if (likely(ctrl->state == NVME_CTRL_LIVE ||
187 ctrl->state == NVME_CTRL_DELETING))
189 return __nvmf_check_ready(ctrl, rq, queue_live);