Lines Matching refs:error_info

67 	struct pqi_raid_error_info *error_info);
654 io_request->error_info = NULL; in pqi_reinit_io_request()
687 struct pqi_raid_error_info *error_info) in pqi_send_scsi_raid_request() argument
698 rc = pqi_submit_raid_request_synchronous(ctrl_info, &request.header, 0, error_info); in pqi_send_scsi_raid_request()
716 struct pqi_raid_error_info *error_info) in pqi_send_ctrl_raid_with_error() argument
719 buffer, buffer_length, 0, error_info); in pqi_send_ctrl_raid_with_error()
889 struct pqi_raid_error_info *error_info) in pqi_csmi_smp_passthru() argument
892 buffer, buffer_length, error_info); in pqi_csmi_smp_passthru()
1664 struct pqi_raid_error_info error_info; in pqi_keep_device_offline() local
1688 rc = pqi_submit_raid_request_synchronous(ctrl_info, &request.header, 0, &error_info); in pqi_keep_device_offline()
1693 scsi_status = error_info.status; in pqi_keep_device_offline()
1694 sense_data_length = get_unaligned_le16(&error_info.sense_data_length); in pqi_keep_device_offline()
1697 get_unaligned_le16(&error_info.response_data_length); in pqi_keep_device_offline()
1699 if (sense_data_length > sizeof(error_info.data)) in pqi_keep_device_offline()
1700 sense_data_length = sizeof(error_info.data); in pqi_keep_device_offline()
1706 scsi_normalize_sense(error_info.data, in pqi_keep_device_offline()
3110 struct pqi_raid_error_info *error_info; in pqi_process_raid_io_error() local
3120 error_info = io_request->error_info; in pqi_process_raid_io_error()
3121 scsi_status = error_info->status; in pqi_process_raid_io_error()
3124 switch (error_info->data_out_result) { in pqi_process_raid_io_error()
3129 get_unaligned_le32(&error_info->data_out_transferred); in pqi_process_raid_io_error()
3163 sense_data_length = get_unaligned_le16(&error_info->sense_data_length); in pqi_process_raid_io_error()
3166 get_unaligned_le16(&error_info->response_data_length); in pqi_process_raid_io_error()
3168 if (sense_data_length > sizeof(error_info->data)) in pqi_process_raid_io_error()
3169 sense_data_length = sizeof(error_info->data); in pqi_process_raid_io_error()
3172 scsi_normalize_sense(error_info->data, in pqi_process_raid_io_error()
3198 memcpy(scmd->sense_buffer, error_info->data, in pqi_process_raid_io_error()
3211 struct pqi_aio_error_info *error_info; in pqi_process_aio_io_error() local
3218 error_info = io_request->error_info; in pqi_process_aio_io_error()
3223 switch (error_info->service_response) { in pqi_process_aio_io_error()
3225 scsi_status = error_info->status; in pqi_process_aio_io_error()
3228 switch (error_info->status) { in pqi_process_aio_io_error()
3235 &error_info->residual_count); in pqi_process_aio_io_error()
3275 if (error_info->data_present) { in pqi_process_aio_io_error()
3277 get_unaligned_le16(&error_info->data_length); in pqi_process_aio_io_error()
3279 if (sense_data_length > sizeof(error_info->data)) in pqi_process_aio_io_error()
3280 sense_data_length = sizeof(error_info->data); in pqi_process_aio_io_error()
3283 memcpy(scmd->sense_buffer, error_info->data, in pqi_process_aio_io_error()
3408 io_request->error_info = ctrl_info->error_buffer + in pqi_process_io_intr()
4481 struct pqi_raid_error_info *error_info) in pqi_process_raid_io_error_synchronous() argument
4485 switch (error_info->data_out_result) { in pqi_process_raid_io_error_synchronous()
4487 if (error_info->status == SAM_STAT_GOOD) in pqi_process_raid_io_error_synchronous()
4491 if (error_info->status == SAM_STAT_GOOD || in pqi_process_raid_io_error_synchronous()
4492 error_info->status == SAM_STAT_CHECK_CONDITION) in pqi_process_raid_io_error_synchronous()
4510 struct pqi_raid_error_info *error_info) in pqi_submit_raid_request_synchronous() argument
4558 if (error_info) { in pqi_submit_raid_request_synchronous()
4559 if (io_request->error_info) in pqi_submit_raid_request_synchronous()
4560 memcpy(error_info, io_request->error_info, sizeof(*error_info)); in pqi_submit_raid_request_synchronous()
4562 memset(error_info, 0, sizeof(*error_info)); in pqi_submit_raid_request_synchronous()
4563 } else if (rc == 0 && io_request->error_info) { in pqi_submit_raid_request_synchronous()
4564 rc = pqi_process_raid_io_error_synchronous(io_request->error_info); in pqi_submit_raid_request_synchronous()
6579 memset(&iocommand.error_info, 0, sizeof(iocommand.error_info)); in pqi_passthru_ioctl()
6583 iocommand.error_info.ScsiStatus = ciss_error_info.scsi_status; in pqi_passthru_ioctl()
6584 iocommand.error_info.CommandStatus = in pqi_passthru_ioctl()
6589 sizeof(iocommand.error_info.SenseInfo)) in pqi_passthru_ioctl()
6591 sizeof(iocommand.error_info.SenseInfo); in pqi_passthru_ioctl()
6592 memcpy(iocommand.error_info.SenseInfo, in pqi_passthru_ioctl()
6594 iocommand.error_info.SenseLen = sense_data_length; in pqi_passthru_ioctl()
8653 io_request->error_info = in pqi_fail_all_outstanding_requests()