Home
last modified time | relevance | path

Searched refs:req_stat (Results 1 – 10 of 10) sorted by relevance

/linux-5.19.10/drivers/scsi/esas2r/
Desas2r_disc.c177 if (rq->req_stat == RS_STARTED in esas2r_disc_check_for_work()
182 if (rq->req_stat == RS_TIMEOUT) { in esas2r_disc_check_for_work()
189 if (rq->req_stat == RS_PENDING in esas2r_disc_check_for_work()
190 || rq->req_stat == RS_STARTED) in esas2r_disc_check_for_work()
360 rq->req_stat = RS_SUCCESS; in esas2r_disc_start_port()
559 if (rq->req_stat == RS_SUCCESS) in esas2r_disc_block_dev_scan_cb()
636 if (rq->req_stat == RS_SCAN_GEN) { in esas2r_disc_raid_grp_info_cb()
642 if (rq->req_stat == RS_SUCCESS) { in esas2r_disc_raid_grp_info_cb()
662 if (!(rq->req_stat == RS_GRP_INVALID)) { in esas2r_disc_raid_grp_info_cb()
666 rq->req_stat); in esas2r_disc_raid_grp_info_cb()
[all …]
Desas2r_int.c181 if (unlikely(rq->req_stat != RS_SUCCESS)) { in esas2r_handle_outbound_rsp_err()
184 if (rq->req_stat == RS_ABORTED) { in esas2r_handle_outbound_rsp_err()
186 rq->req_stat = RS_TIMEOUT; in esas2r_handle_outbound_rsp_err()
187 } else if (rq->req_stat == RS_SCSI_ERROR) { in esas2r_handle_outbound_rsp_err()
197 rq->req_stat = RS_SUCCESS; in esas2r_handle_outbound_rsp_err()
272 rq->req_stat = rsp->req_stat; in esas2r_get_outbound_responses()
276 esas2r_trace("req_status: %x", rq->req_stat); in esas2r_get_outbound_responses()
350 if (rq->req_stat != RS_PENDING) { in esas2r_do_deferred_processes()
435 if (rq->req_stat == RS_STARTED) in esas2r_process_adapter_reset()
931 if (rq->req_stat == RS_PENDING) { in esas2r_complete_request()
[all …]
Desas2r_io.c55 rq->req_stat = RS_SEL2; in esas2r_start_request()
57 rq->req_stat = RS_DEGRADED; in esas2r_start_request()
63 rq->req_stat = RS_SEL; in esas2r_start_request()
75 rq->req_stat = RS_SEL; in esas2r_start_request()
79 if (unlikely(rq->req_stat != RS_PENDING)) { in esas2r_start_request()
143 rq->req_stat = RS_STARTED; in esas2r_start_vda_request()
790 if (rq->req_stat == RS_PENDING) { in esas2r_send_task_mgmt()
813 rqaux->req_stat = RS_SUCCESS; in esas2r_send_task_mgmt()
822 rqaux->req_stat = RS_BUSY; in esas2r_send_task_mgmt()
869 rq->req_stat = RS_BUSY; in esas2r_ioreq_aborted()
[all …]
Desas2r_flash.c140 if (rq->req_stat == RS_SUCCESS) { in esas2r_fmapi_callback()
148 rq->req_stat = RS_PENDING; in esas2r_fmapi_callback()
154 rq->req_stat = RS_PENDING; in esas2r_fmapi_callback()
163 if (rq->req_stat != RS_PENDING) in esas2r_fmapi_callback()
215 rq->req_stat = RS_BUSY; in build_flash_msg()
233 rq->req_stat = RS_PENDING; in load_image()
239 return rq->req_stat == RS_PENDING; in load_image()
310 fi->driver_error = rq->req_stat; in complete_fmapi_req()
312 rq->req_stat = RS_SUCCESS; in complete_fmapi_req()
334 if (rq->req_stat != RS_SUCCESS) in fw_download_proc()
[all …]
Desas2r_main.c892 (*rq->task_management_status_ptr) = rq->req_stat; in complete_task_management_request()
1137 rq->req_stat = RS_PENDING; in esas2r_dev_targ_reset()
1198 u8 reqstatus = rq->req_stat; in esas2r_log_request_failure()
1244 if (rq->req_stat != RS_STARTED) in esas2r_wait_request()
1253 rq->req_stat = RS_TIMEOUT; in esas2r_wait_request()
1520 if (unlikely(rq->req_stat != RS_SUCCESS)) { in esas2r_complete_request_cb()
1522 rq->req_stat, in esas2r_complete_request_cb()
1527 ((esas2r_req_status_to_error(rq->req_stat) << 16) in esas2r_complete_request_cb()
1530 if (rq->req_stat == RS_UNDERRUN) in esas2r_complete_request_cb()
1876 int esas2r_req_status_to_error(u8 req_stat) in esas2r_req_status_to_error() argument
[all …]
Desas2r_init.c1173 if (rq->req_stat == RS_SUCCESS) { in esas2r_format_init_msg()
1221 if (rq->req_stat == RS_SUCCESS) { in esas2r_format_init_msg()
1233 rq->req_stat = RS_SUCCESS; in esas2r_format_init_msg()
1262 if (rq->req_stat != RS_PENDING) in esas2r_init_msgs()
1267 if (rq->req_stat == RS_SUCCESS in esas2r_init_msgs()
1269 && rq->req_stat != RS_TIMEOUT)) in esas2r_init_msgs()
1273 a->init_msg, rq->req_stat, rq->flags); in esas2r_init_msgs()
Desas2r_vda.c274 vi->vda_status = rq->req_stat; in esas2r_complete_vda_ioctl()
512 rq->req_stat = RS_PENDING; in clear_vda_request()
Desas2r.h676 u8 req_stat; member
1013 int esas2r_req_status_to_error(u8 req_stat);
1211 rq->req_stat = RS_PENDING; in esas2r_rq_init_request()
Datvda.h1286 u8 req_stat; member
Desas2r_ioctl.c699 switch (rq->req_stat) { in scsi_passthru_comp_cb()
1265 if (rq->req_stat == RS_SUCCESS) in esas2r_write_params()