Lines Matching refs:error_loc
58 req->error_loc = offsetof(struct nvme_rw_command, length); in errno_to_nvme_status()
61 req->error_loc = offsetof(struct nvme_rw_command, slba); in errno_to_nvme_status()
64 req->error_loc = offsetof(struct nvme_common_command, opcode); in errno_to_nvme_status()
74 req->error_loc = offsetof(struct nvme_rw_command, nsid); in errno_to_nvme_status()
79 req->error_loc = offsetof(struct nvme_common_command, opcode); in errno_to_nvme_status()
89 req->error_loc = offsetof(struct nvme_common_command, opcode); in nvmet_report_invalid_opcode()
100 req->error_loc = offsetof(struct nvme_common_command, dptr); in nvmet_copy_to_sgl()
109 req->error_loc = offsetof(struct nvme_common_command, dptr); in nvmet_copy_from_sgl()
118 req->error_loc = offsetof(struct nvme_common_command, dptr); in nvmet_zero_sgl()
445 req->error_loc = offsetof(struct nvme_common_command, nsid); in nvmet_req_find_ns()
762 if (!ctrl || req->error_loc == NVMET_NO_ERROR_LOC) in nvmet_set_error()
774 new_error_slot->param_error_location = cpu_to_le16(req->error_loc); in nvmet_set_error()
956 req->error_loc = offsetof(struct nvme_common_command, nsid); in nvmet_parse_io_cmd()
961 req->error_loc = offsetof(struct nvme_common_command, nsid); in nvmet_parse_io_cmd()
1019 req->error_loc = NVMET_NO_ERROR_LOC; in nvmet_req_init()
1025 req->error_loc = offsetof(struct nvme_common_command, flags); in nvmet_req_init()
1036 req->error_loc = offsetof(struct nvme_common_command, flags); in nvmet_req_init()
1083 req->error_loc = offsetof(struct nvme_common_command, dptr); in nvmet_check_transfer_len()
1095 req->error_loc = offsetof(struct nvme_common_command, dptr); in nvmet_check_data_len_lte()
1457 req->error_loc = offsetof(struct nvme_common_command, dptr); in nvmet_alloc_ctrl()
1468 req->error_loc = offsetof(struct nvme_common_command, dptr); in nvmet_alloc_ctrl()