Lines Matching refs:err_info
380 if (c->err_info->SenseLen > sizeof(c->err_info->SenseInfo)) in check_for_unit_attention()
381 sense_len = sizeof(c->err_info->SenseInfo); in check_for_unit_attention()
383 sense_len = c->err_info->SenseLen; in check_for_unit_attention()
385 decode_sense_data(c->err_info->SenseInfo, sense_len, in check_for_unit_attention()
429 if (c->err_info->CommandStatus != CMD_TARGET_STATUS || in check_for_busy()
430 (c->err_info->ScsiStatus != SAM_STAT_BUSY && in check_for_busy()
431 c->err_info->ScsiStatus != SAM_STAT_TASK_SET_FULL)) in check_for_busy()
2539 u8 tmf_status = cp->err_info->ScsiStatus; in hpsa_evaluate_tmf_status()
2576 ei = cp->err_info; in complete_scsi_command()
2867 c->err_info->CommandStatus = CMD_CTLR_LOCKUP; in hpsa_scsi_do_simple_cmd()
2894 memset(c->err_info, 0, sizeof(*c->err_info)); in hpsa_scsi_do_simple_cmd_with_retry()
2927 const struct ErrorInfo *ei = cp->err_info; in hpsa_scsi_interpret_error()
3016 ei = c->err_info; in hpsa_do_receive_diagnostic()
3069 ei = c->err_info; in hpsa_scsi_do_inquiry()
3098 ei = c->err_info; in hpsa_send_reset()
3325 ei = c->err_info; in hpsa_get_raid_map()
3368 ei = c->err_info; in hpsa_bmic_sense_subsystem_information()
3396 ei = c->err_info; in hpsa_bmic_id_controller()
3425 ei = c->err_info; in hpsa_bmic_id_physical_device()
3509 ei = c->err_info; in hpsa_get_enclosure_info()
3762 ei = c->err_info; in hpsa_scsi_do_report_luns()
3897 sense = c->err_info->SenseInfo; in hpsa_volume_offline()
3898 if (c->err_info->SenseLen > sizeof(c->err_info->SenseInfo)) in hpsa_volume_offline()
3899 sense_len = sizeof(c->err_info->SenseInfo); in hpsa_volume_offline()
3901 sense_len = c->err_info->SenseLen; in hpsa_volume_offline()
5535 c->err_info = h->errinfo_pool + index; in hpsa_cmd_init()
5536 memset(c->err_info, 0, sizeof(*c->err_info)); in hpsa_cmd_init()
5538 + index * sizeof(*c->err_info); in hpsa_cmd_init()
5542 c->ErrDesc.Len = cpu_to_le32((u32) sizeof(*c->err_info)); in hpsa_cmd_init()
5567 memset(c->err_info, 0, sizeof(*c->err_info)); in hpsa_cmd_partial_init()
5925 if (c->err_info->CommandStatus == CMD_SUCCESS) in hpsa_send_test_unit_ready()
5933 if (c->err_info->CommandStatus == CMD_TARGET_STATUS && in hpsa_send_test_unit_ready()
5934 c->err_info->ScsiStatus == SAM_STAT_CHECK_CONDITION && in hpsa_send_test_unit_ready()
5935 (c->err_info->SenseInfo[2] == NO_SENSE || in hpsa_send_test_unit_ready()
5936 c->err_info->SenseInfo[2] == UNIT_ATTENTION)) in hpsa_send_test_unit_ready()
6475 memcpy(&iocommand->error_info, c->err_info, in hpsa_passthru_ioctl()
6587 memcpy(&ioc->error_info, c->err_info, sizeof(ioc->error_info)); in hpsa_big_passthru_ioctl()
6619 if (c->err_info->CommandStatus == CMD_TARGET_STATUS && in check_ioctl_unit_attention()
6620 c->err_info->ScsiStatus != SAM_STAT_CHECK_CONDITION) in check_ioctl_unit_attention()
8246 c->err_info->CommandStatus = CMD_CTLR_LOCKUP; in fail_all_outstanding_cmds()
8956 if (c->err_info->CommandStatus != 0) in hpsa_flush_cache()
8990 if ((rc != 0) || (c->err_info->CommandStatus != 0)) in hpsa_disable_rld_caching()
9002 if ((rc != 0) || (c->err_info->CommandStatus != 0)) in hpsa_disable_rld_caching()
9012 if ((rc != 0) || (c->err_info->CommandStatus != 0)) in hpsa_disable_rld_caching()
9310 cp->err_info = (u32) (h->errinfo_pool_dhandle + in hpsa_enter_performant_mode()
10005 VERIFY_OFFSET(err_info, 0x0C); in verify_offsets()