Lines Matching refs:scsi_status
663 u8 scsi_state, scsi_status; in mptscsih_io_done() local
669 scsi_status = pScsiReply->SCSIStatus; in mptscsih_io_done()
681 (scsi_status == MPI_SCSI_STATUS_BUSY || in mptscsih_io_done()
682 scsi_status == MPI_SCSI_STATUS_RESERVATION_CONFLICT || in mptscsih_io_done()
683 scsi_status == MPI_SCSI_STATUS_TASK_SET_FULL)) { in mptscsih_io_done()
809 sc->result = (DID_OK << 16) | scsi_status; in mptscsih_io_done()
820 sc->result = (DID_OK << 16) | scsi_status; in mptscsih_io_done()
853 if (scsi_status == SAM_STAT_BUSY) in mptscsih_io_done()
878 if (scsi_status == MPI_SCSI_STATUS_TASK_SET_FULL) in mptscsih_io_done()
887 sc->result = (DID_OK << 16) | scsi_status; in mptscsih_io_done()
2683 u8 scsi_status; in mptscsih_get_completion_code() local
2689 scsi_status = pReply->SCSIStatus; in mptscsih_get_completion_code()
2694 scsi_status, le32_to_cpu(pReply->IOCLogInfo))); in mptscsih_get_completion_code()
2737 else if (scsi_status == MPI_SCSI_STATUS_BUSY) in mptscsih_get_completion_code()