Lines Matching refs:nvme_req
323 crd = (nvme_req(req)->status & NVME_STATUS_CRD) >> 11; in nvme_retry_req()
325 delay = nvme_req(req)->ctrl->crdt[crd - 1] * 100; in nvme_retry_req()
327 nvme_req(req)->retries++; in nvme_retry_req()
335 struct nvme_request *nr = nvme_req(req); in nvme_log_error()
366 struct nvme_request *nr = nvme_req(req); in nvme_log_err_passthru()
396 if (likely(nvme_req(req)->status == 0)) in nvme_decide_disposition()
400 (nvme_req(req)->status & NVME_STATUS_DNR) || in nvme_decide_disposition()
401 nvme_req(req)->retries >= nvme_max_retries) in nvme_decide_disposition()
404 if ((nvme_req(req)->status & NVME_SCT_SC_MASK) == NVME_SC_AUTH_REQUIRED) in nvme_decide_disposition()
408 if (nvme_is_path_error(nvme_req(req)->status) || in nvme_decide_disposition()
426 le64_to_cpu(nvme_req(req)->result.u64)); in nvme_end_req_zoned()
440 blk_status_t status = nvme_error_status(nvme_req(req)->status); in nvme_end_req()
442 if (unlikely(nvme_req(req)->status && !(req->rq_flags & RQF_QUIET))) { in nvme_end_req()
454 struct nvme_ctrl *ctrl = nvme_req(req)->ctrl; in nvme_complete_rq()
509 nvme_req(req)->status = NVME_SC_HOST_PATH_ERROR; in nvme_host_path_error()
525 nvme_req(req)->status = NVME_SC_HOST_ABORTED_CMD; in nvme_cancel_request()
526 nvme_req(req)->flags |= NVME_REQ_CANCELLED; in nvme_cancel_request()
707 nvme_req(req)->status = 0; in nvme_clear_nvme_request()
708 nvme_req(req)->retries = 0; in nvme_clear_nvme_request()
709 nvme_req(req)->flags = 0; in nvme_clear_nvme_request()
716 struct nvme_request *nr = nvme_req(req); in nvme_init_request()
770 struct nvme_request *req = nvme_req(rq); in __nvme_check_ready()
1041 struct nvme_ctrl *ctrl = nvme_req(req)->ctrl; in nvme_cleanup_cmd()
1054 struct nvme_command *cmd = nvme_req(req)->cmd; in nvme_setup_cmd()
1118 if (nvme_req(rq)->flags & NVME_REQ_CANCELLED) in nvme_execute_rq()
1120 if (nvme_req(rq)->status) in nvme_execute_rq()
1121 return nvme_req(rq)->status; in nvme_execute_rq()
1162 *result = nvme_req(req)->result; in __nvme_submit_sync_cmd()