Lines Matching refs:error_loc
53 req->error_loc = offsetof(struct nvme_rw_command, length); in errno_to_nvme_status()
57 req->error_loc = offsetof(struct nvme_rw_command, slba); in errno_to_nvme_status()
61 req->error_loc = offsetof(struct nvme_common_command, opcode); in errno_to_nvme_status()
72 req->error_loc = offsetof(struct nvme_rw_command, nsid); in errno_to_nvme_status()
78 req->error_loc = offsetof(struct nvme_common_command, opcode); in errno_to_nvme_status()
92 req->error_loc = offsetof(struct nvme_common_command, dptr); in nvmet_copy_to_sgl()
101 req->error_loc = offsetof(struct nvme_common_command, dptr); in nvmet_copy_from_sgl()
110 req->error_loc = offsetof(struct nvme_common_command, dptr); in nvmet_zero_sgl()
682 if (!ctrl || req->error_loc == NVMET_NO_ERROR_LOC) in nvmet_set_error()
694 new_error_slot->param_error_location = cpu_to_le16(req->error_loc); in nvmet_set_error()
836 req->error_loc = offsetof(struct nvme_common_command, nsid); in nvmet_parse_io_cmd()
841 req->error_loc = offsetof(struct nvme_common_command, nsid); in nvmet_parse_io_cmd()
846 req->error_loc = offsetof(struct nvme_common_command, nsid); in nvmet_parse_io_cmd()
871 req->error_loc = NVMET_NO_ERROR_LOC; in nvmet_req_init()
878 req->error_loc = offsetof(struct nvme_common_command, flags); in nvmet_req_init()
889 req->error_loc = offsetof(struct nvme_common_command, flags); in nvmet_req_init()
936 req->error_loc = offsetof(struct nvme_common_command, dptr); in nvmet_req_execute()