Lines Matching refs:scsi_status
661 u8 scsi_state, scsi_status; in mptscsih_io_done() local
667 scsi_status = pScsiReply->SCSIStatus; in mptscsih_io_done()
679 (scsi_status == MPI_SCSI_STATUS_BUSY || in mptscsih_io_done()
680 scsi_status == MPI_SCSI_STATUS_RESERVATION_CONFLICT || in mptscsih_io_done()
681 scsi_status == MPI_SCSI_STATUS_TASK_SET_FULL)) { in mptscsih_io_done()
808 sc->result = (DID_OK << 16) | scsi_status; in mptscsih_io_done()
819 sc->result = (DID_OK << 16) | scsi_status; in mptscsih_io_done()
852 if (scsi_status == SAM_STAT_BUSY) in mptscsih_io_done()
877 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()
2678 u8 scsi_status; in mptscsih_get_completion_code() local
2684 scsi_status = pReply->SCSIStatus; in mptscsih_get_completion_code()
2689 scsi_status, le32_to_cpu(pReply->IOCLogInfo))); in mptscsih_get_completion_code()
2732 else if (scsi_status == MPI_SCSI_STATUS_BUSY) in mptscsih_get_completion_code()