Lines Matching refs:wr_status
799 if (unlikely(req->wr_status != FW_SUCCESS)) { in csio_scsis_io_active()
805 if (csio_scsi_itnexus_loss_error(req->wr_status) && in csio_scsis_io_active()
833 req->wr_status = FW_HOSTERROR; in csio_scsis_io_active()
876 req->wr_status = FW_HOSTERROR; in csio_scsis_tm_active()
897 "in aborting st\n", req, req->wr_status); in csio_scsis_aborting()
917 req, req->wr_status, req->drv_status); in csio_scsis_aborting()
952 if ((req->wr_status == FW_SUCCESS) || in csio_scsis_aborting()
953 (req->wr_status == FW_EINVAL) || in csio_scsis_aborting()
954 csio_scsi_itnexus_loss_error(req->wr_status)) in csio_scsis_aborting()
955 req->wr_status = FW_SCSI_ABORT_REQUESTED; in csio_scsis_aborting()
963 req->wr_status = FW_HOSTERROR; in csio_scsis_aborting()
994 "in closing st\n", req, req->wr_status); in csio_scsis_closing()
1024 CSIO_DB_ASSERT((req->wr_status == FW_SUCCESS) || in csio_scsis_closing()
1025 (req->wr_status == FW_EINVAL)); in csio_scsis_closing()
1026 req->wr_status = FW_SCSI_CLOSE_REQUESTED; in csio_scsis_closing()
1037 req->wr_status = FW_HOSTERROR; in csio_scsis_closing()
1132 ioreq->wr_status = status; in csio_scsi_cmpl_handler()
1142 ioreq->wr_status = status; in csio_scsi_cmpl_handler()
1571 switch (req->wr_status) { in csio_scsi_err_handler()
1649 (req->wr_status == FW_SCSI_CLOSE_REQUESTED) ? in csio_scsi_err_handler()
1656 if (req->wr_status == FW_SCSI_CLOSE_REQUESTED) in csio_scsi_err_handler()
1665 req, cmnd, req->wr_status); in csio_scsi_err_handler()
1707 req->wr_status, req, cmnd); in csio_scsi_err_handler()
1743 if (likely(req->wr_status == FW_SUCCESS)) { in csio_scsi_cbfn()
1834 ioreq->wr_status = 0; in csio_queuecommand()
2022 req, req->wr_status); in csio_tm_cbfn()
2025 cmnd->SCp.Status = req->wr_status; in csio_tm_cbfn()
2038 if (req->wr_status == FW_SCSI_RSP_ERR) { in csio_tm_cbfn()