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()
1575 switch (req->wr_status) { in csio_scsi_err_handler()
1653 (req->wr_status == FW_SCSI_CLOSE_REQUESTED) ? in csio_scsi_err_handler()
1660 if (req->wr_status == FW_SCSI_CLOSE_REQUESTED) in csio_scsi_err_handler()
1669 req, cmnd, req->wr_status); in csio_scsi_err_handler()
1711 req->wr_status, req, cmnd); in csio_scsi_err_handler()
1747 if (likely(req->wr_status == FW_SUCCESS)) { in csio_scsi_cbfn()
1838 ioreq->wr_status = 0; in csio_queuecommand()
2026 req, req->wr_status); in csio_tm_cbfn()
2029 csio_priv(cmnd)->wr_status = req->wr_status; in csio_tm_cbfn()
2042 if (req->wr_status == FW_SCSI_RSP_ERR) { in csio_tm_cbfn()
2052 csio_priv(cmnd)->wr_status = FW_SUCCESS; in csio_tm_cbfn()
2128 csio_priv(cmnd)->wr_status = 0; in csio_eh_lun_reset_handler()
2181 if (csio_priv(cmnd)->wr_status != FW_SUCCESS) { in csio_eh_lun_reset_handler()
2184 csio_priv(cmnd)->wr_status); in csio_eh_lun_reset_handler()