Searched refs:nvme_req (Results 1 – 14 of 14) sorted by relevance
63 __entry->ctrl_id = nvme_req(req)->ctrl->instance;99 __entry->ctrl_id = nvme_req(req)->ctrl->instance;102 __entry->result = le64_to_cpu(nvme_req(req)->result.u64);103 __entry->retries = nvme_req(req)->retries;104 __entry->flags = nvme_req(req)->flags;105 __entry->status = nvme_req(req)->status;155 __entry->ctrl_id = nvme_req(req)->ctrl->instance;
71 fault_inject = &nvme_req(req)->ctrl->fault_inject; in nvme_should_fail()79 nvme_req(req)->status = status; in nvme_should_fail()
267 crd = (nvme_req(req)->status & NVME_SC_CRD) >> 11; in nvme_retry_req()271 nvme_req(req)->retries++; in nvme_retry_req()284 if (likely(nvme_req(req)->status == 0)) in nvme_decide_disposition()288 (nvme_req(req)->status & NVME_SC_DNR) || in nvme_decide_disposition()289 nvme_req(req)->retries >= nvme_max_retries) in nvme_decide_disposition()293 if (nvme_is_path_error(nvme_req(req)->status) || in nvme_decide_disposition()306 blk_status_t status = nvme_error_status(nvme_req(req)->status); in nvme_end_req()311 le64_to_cpu(nvme_req(req)->result.u64)); in nvme_end_req()322 if (nvme_req(req)->ctrl->kas) in nvme_complete_rq()323 nvme_req(req)->ctrl->comp_seen = true; in nvme_complete_rq()[all …]
639 rqd->ppa_status = le64_to_cpu(nvme_req(rq)->result.u64); in nvme_nvm_end_io()640 rqd->error = nvme_req(rq)->status; in nvme_nvm_end_io()643 kfree(nvme_req(rq)->cmd); in nvme_nvm_end_io()825 if (nvme_req(rq)->flags & NVME_REQ_CANCELLED) in nvme_nvm_submit_user_cmd()827 else if (nvme_req(rq)->status & 0x7ff) in nvme_nvm_submit_user_cmd()830 *result = nvme_req(rq)->status & 0x7ff; in nvme_nvm_submit_user_cmd()832 *status = le64_to_cpu(nvme_req(rq)->result.u64); in nvme_nvm_submit_user_cmd()
304 nvme_req(rq)->ctrl = &ctrl->ctrl; in nvme_rdma_init_request()311 req->metadata_sgl = (void *)nvme_req(rq) + in nvme_rdma_init_request()1979 nvme_req(rq)->status = NVME_SC_HOST_ABORTED_CMD; in nvme_rdma_complete_timed_out()2115 nvme_req(rq)->status = NVME_SC_INVALID_PI; in nvme_rdma_check_pi_status()2122 nvme_req(rq)->status = NVME_SC_GUARD_CHECK; in nvme_rdma_check_pi_status()2125 nvme_req(rq)->status = NVME_SC_REFTAG_CHECK; in nvme_rdma_check_pi_status()2128 nvme_req(rq)->status = NVME_SC_APPTAG_CHECK; in nvme_rdma_check_pi_status()
172 static inline struct nvme_request *nvme_req(struct request *req) in nvme_req() function546 struct nvme_request *rq = nvme_req(req); in nvme_try_complete_req()
555 nvme_req(rq)->status = NVME_SC_HOST_PATH_ERROR; in nvmf_fail_nonready_command()565 struct nvme_request *req = nvme_req(rq); in __nvmf_check_ready()
430 nvme_req(req)->ctrl = &dev->ctrl; in nvme_init_request()1178 "Abort status: 0x%x", nvme_req(req)->status); in abort_endio()1281 nvme_req(req)->flags |= NVME_REQ_CANCELLED; in nvme_timeout()1299 nvme_req(req)->flags |= NVME_REQ_CANCELLED; in nvme_timeout()
71 u16 status = nvme_req(req)->status & 0x7ff; in nvme_failover_req()
420 nvme_req(rq)->ctrl = &ctrl->ctrl; in nvme_tcp_init_request()2172 nvme_req(rq)->status = NVME_SC_HOST_ABORTED_CMD; in nvme_tcp_complete_timed_out()
2120 nvme_req(rq)->ctrl = &ctrl->ctrl; in nvme_fc_init_request()
160 status = nvme_req(rq)->status; in nvmet_passthru_execute_cmd_work()173 req->cqe->result = nvme_req(rq)->result; in nvmet_passthru_execute_cmd_work()183 req->cqe->result = nvme_req(rq)->result; in nvmet_passthru_req_done()184 nvmet_req_complete(req, nvme_req(rq)->status); in nvmet_passthru_req_done()
19 struct nvme_request nvme_req; member64 static void nvme_loop_queue_response(struct nvmet_req *nvme_req);209 nvme_req(req)->ctrl = &ctrl->ctrl; in nvme_loop_init_request()
226 nvmet_req_to_fod(struct nvmet_req *nvme_req) in nvmet_req_to_fod() argument228 return container_of(nvme_req, struct nvmet_fc_fcp_iod, req); in nvmet_req_to_fod()1901 static void nvmet_fc_fcp_nvme_cmd_done(struct nvmet_req *nvme_req);2482 nvmet_fc_fcp_nvme_cmd_done(struct nvmet_req *nvme_req) in nvmet_fc_fcp_nvme_cmd_done() argument2484 struct nvmet_fc_fcp_iod *fod = nvmet_req_to_fod(nvme_req); in nvmet_fc_fcp_nvme_cmd_done()