Lines Matching refs:error_loc
61 req->error_loc = offsetof(struct nvme_rw_command, length); in errno_to_nvme_status()
64 req->error_loc = offsetof(struct nvme_rw_command, slba); in errno_to_nvme_status()
67 req->error_loc = offsetof(struct nvme_common_command, opcode); in errno_to_nvme_status()
70 req->error_loc = offsetof(struct nvme_rw_command, nsid); in errno_to_nvme_status()
75 req->error_loc = offsetof(struct nvme_common_command, opcode); in errno_to_nvme_status()
85 req->error_loc = offsetof(struct nvme_common_command, opcode); in nvmet_report_invalid_opcode()
96 req->error_loc = offsetof(struct nvme_common_command, dptr); in nvmet_copy_to_sgl()
105 req->error_loc = offsetof(struct nvme_common_command, dptr); in nvmet_copy_from_sgl()
114 req->error_loc = offsetof(struct nvme_common_command, dptr); in nvmet_zero_sgl()
444 req->error_loc = offsetof(struct nvme_common_command, nsid); in nvmet_req_find_ns()
756 if (!ctrl || req->error_loc == NVMET_NO_ERROR_LOC) in nvmet_set_error()
768 new_error_slot->param_error_location = cpu_to_le16(req->error_loc); in nvmet_set_error()
1108 req->error_loc = offsetof(struct nvme_common_command, nsid); in nvmet_parse_io_cmd()
1113 req->error_loc = offsetof(struct nvme_common_command, nsid); in nvmet_parse_io_cmd()
1171 req->error_loc = NVMET_NO_ERROR_LOC; in nvmet_req_init()
1177 req->error_loc = offsetof(struct nvme_common_command, flags); in nvmet_req_init()
1189 req->error_loc = in nvmet_req_init()
1250 req->error_loc = offsetof(struct nvme_common_command, dptr); in nvmet_check_transfer_len()
1268 req->error_loc = offsetof(struct nvme_common_command, dptr); in nvmet_check_data_len_lte()
1597 args->error_loc = offsetof(struct nvme_common_command, dptr); in nvmet_alloc_ctrl()
1608 args->error_loc = offsetof(struct nvme_common_command, dptr); in nvmet_alloc_ctrl()