Lines Matching refs:ei

648 	ErrorInfo_struct *ei;  in complete_scsi_command()  local
650 ei = cp->err_info; in complete_scsi_command()
681 cmd->result |= (ei->ScsiStatus); in complete_scsi_command()
686 memcpy(cmd->sense_buffer, ei->SenseInfo, in complete_scsi_command()
687 ei->SenseLen > SCSI_SENSE_BUFFERSIZE ? in complete_scsi_command()
689 ei->SenseLen); in complete_scsi_command()
690 cmd->resid = ei->ResidualCnt; in complete_scsi_command()
692 if(ei->CommandStatus != 0) in complete_scsi_command()
694 switch(ei->CommandStatus) in complete_scsi_command()
698 if( ei->ScsiStatus) in complete_scsi_command()
699 cmd->result |= (ei->ScsiStatus < 1); in complete_scsi_command()
769 ei->CommandStatus); in complete_scsi_command()
914 ErrorInfo_struct *ei; in cciss_scsi_interpret_error() local
916 ei = cp->err_info; in cciss_scsi_interpret_error()
917 switch(ei->CommandStatus) in cciss_scsi_interpret_error()
925 ei->ScsiStatus); in cciss_scsi_interpret_error()
926 if (ei->ScsiStatus == 0) in cciss_scsi_interpret_error()
983 ei->CommandStatus); in cciss_scsi_interpret_error()
994 ErrorInfo_struct *ei; in cciss_scsi_do_inquiry() local
997 ei = cp->err_info; in cciss_scsi_do_inquiry()
1016 if (ei->CommandStatus != 0 && in cciss_scsi_do_inquiry()
1017 ei->CommandStatus != CMD_DATA_UNDERRUN) { in cciss_scsi_do_inquiry()
1034 ErrorInfo_struct *ei; in cciss_scsi_do_report_phys_luns() local
1063 ei = cp->err_info; in cciss_scsi_do_report_phys_luns()
1064 if (ei->CommandStatus != 0 && in cciss_scsi_do_report_phys_luns()
1065 ei->CommandStatus != CMD_DATA_UNDERRUN) { in cciss_scsi_do_report_phys_luns()