Lines Matching refs:nir_ctrl
81 req->nir_ctrl = ctrl; in nvme_id_req_init_by_cns()
116 nvme_ctrl_t *ctrl = req->nir_ctrl; in nvme_id_req_set_nsid()
128 !nvme_field_check_one(req->nir_ctrl, nsid, "identify", in nvme_id_req_set_nsid()
139 req->nir_ctrl->nc_info.id_nn)); in nvme_id_req_set_nsid()
148 NVME_NSID_MIN, req->nir_ctrl->nc_info.id_nn)); in nvme_id_req_set_nsid()
155 return (nvme_ctrl_success(req->nir_ctrl)); in nvme_id_req_set_nsid()
167 if (!nvme_field_check_one(req->nir_ctrl, ctrlid, "identify", in nvme_id_req_set_ctrlid()
174 return (nvme_ctrl_success(req->nir_ctrl)); in nvme_id_req_set_ctrlid()
180 nvme_ctrl_t *ctrl = req->nir_ctrl; in nvme_id_req_set_output()
195 return (nvme_ctrl_success(req->nir_ctrl)); in nvme_id_req_set_output()
208 return (nvme_ctrl_success(req->nir_ctrl)); in nvme_id_req_clear_output()
214 nvme_ctrl_t *ctrl = req->nir_ctrl; in nvme_id_req_exec()
229 if (ioctl(req->nir_ctrl->nc_fd, NVME_IOC_IDENTIFY, &id) != 0) { in nvme_id_req_exec()