Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/scsi/qla4xxx/
Dql4_bsg.c17 struct iscsi_bsg_reply *bsg_reply = bsg_job->reply; in qla4xxx_read_flash() local
25 bsg_reply->reply_payload_rcv_len = 0; in qla4xxx_read_flash()
59 bsg_reply->result = DID_ERROR << 16; in qla4xxx_read_flash()
62 bsg_reply->reply_payload_rcv_len = in qla4xxx_read_flash()
66 bsg_reply->result = DID_OK << 16; in qla4xxx_read_flash()
69 bsg_job_done(bsg_job, bsg_reply->result, in qla4xxx_read_flash()
70 bsg_reply->reply_payload_rcv_len); in qla4xxx_read_flash()
82 struct iscsi_bsg_reply *bsg_reply = bsg_job->reply; in qla4xxx_update_flash() local
91 bsg_reply->reply_payload_rcv_len = 0; in qla4xxx_update_flash()
129 bsg_reply->result = DID_ERROR << 16; in qla4xxx_update_flash()
[all …]
/Linux-v4.19/drivers/scsi/qla2xxx/
Dqla_bsg.c20 struct fc_bsg_reply *bsg_reply = bsg_job->reply; in qla2x00_bsg_job_done() local
22 bsg_reply->result = res; in qla2x00_bsg_job_done()
23 bsg_job_done(bsg_job, bsg_reply->result, in qla2x00_bsg_job_done()
24 bsg_reply->reply_payload_rcv_len); in qla2x00_bsg_job_done()
125 struct fc_bsg_reply *bsg_reply = bsg_job->reply; in qla24xx_proc_fcp_prio_cfg_cmd() local
152 bsg_reply->result = DID_OK; in qla24xx_proc_fcp_prio_cfg_cmd()
155 bsg_reply->result = (DID_ERROR << 16); in qla24xx_proc_fcp_prio_cfg_cmd()
167 bsg_reply->result = DID_OK; in qla24xx_proc_fcp_prio_cfg_cmd()
170 bsg_reply->result = (DID_ERROR << 16); in qla24xx_proc_fcp_prio_cfg_cmd()
180 bsg_reply->result = (DID_ERROR << 16); in qla24xx_proc_fcp_prio_cfg_cmd()
[all …]
Dqla_isr.c1476 struct fc_bsg_reply *bsg_reply; in qla2x00_ct_entry() local
1487 bsg_reply = bsg_job->reply; in qla2x00_ct_entry()
1497 bsg_reply->reply_data.ctels_reply.status = FC_CTELS_STATUS_OK; in qla2x00_ct_entry()
1503 bsg_reply->reply_payload_rcv_len = in qla2x00_ct_entry()
1509 bsg_reply->reply_payload_rcv_len); in qla2x00_ct_entry()
1515 bsg_reply->reply_payload_rcv_len = 0; in qla2x00_ct_entry()
1521 bsg_reply->reply_payload_rcv_len = in qla2x00_ct_entry()
1548 struct fc_bsg_reply *bsg_reply; in qla24xx_els_ct_entry() local
1627 bsg_reply = bsg_job->reply; in qla24xx_els_ct_entry()
1628 bsg_reply->reply_data.ctels_reply.status = FC_CTELS_STATUS_OK; in qla24xx_els_ct_entry()
[all …]
Dqla_mr.c2213 struct fc_bsg_reply *bsg_reply; in qlafx00_ioctl_iosb_entry() local
2233 bsg_reply = bsg_job->reply; in qlafx00_ioctl_iosb_entry()
2264 res = bsg_reply->result = DID_OK << 16; in qlafx00_ioctl_iosb_entry()
2265 bsg_reply->reply_payload_rcv_len = in qlafx00_ioctl_iosb_entry()
/Linux-v4.19/drivers/scsi/lpfc/
Dlpfc_bsg.c304 struct fc_bsg_reply *bsg_reply; in lpfc_bsg_send_mgmt_cmd_cmp() local
319 bsg_reply = job->reply; in lpfc_bsg_send_mgmt_cmd_cmp()
358 bsg_reply->reply_payload_rcv_len = in lpfc_bsg_send_mgmt_cmd_cmp()
375 bsg_reply->result = rc; in lpfc_bsg_send_mgmt_cmd_cmp()
376 bsg_job_done(job, bsg_reply->result, in lpfc_bsg_send_mgmt_cmd_cmp()
377 bsg_reply->reply_payload_rcv_len); in lpfc_bsg_send_mgmt_cmd_cmp()
393 struct fc_bsg_reply *bsg_reply = job->reply; in lpfc_bsg_send_mgmt_cmd() local
408 bsg_reply->reply_payload_rcv_len = 0; in lpfc_bsg_send_mgmt_cmd()
552 bsg_reply->result = rc; in lpfc_bsg_send_mgmt_cmd()
581 struct fc_bsg_reply *bsg_reply; in lpfc_bsg_rport_els_cmp() local
[all …]
/Linux-v4.19/drivers/scsi/libfc/
Dfc_lport.c1889 struct fc_bsg_reply *bsg_reply = job->reply; in fc_lport_bsg_resp() local
1896 bsg_reply->result = (PTR_ERR(fp) == -FC_EX_CLOSED) ? in fc_lport_bsg_resp()
1899 bsg_job_done(job, bsg_reply->result, in fc_lport_bsg_resp()
1900 bsg_reply->reply_payload_rcv_len); in fc_lport_bsg_resp()
1917 bsg_reply->reply_data.ctels_reply.status = in fc_lport_bsg_resp()
1922 bsg_reply->reply_payload_rcv_len += in fc_lport_bsg_resp()
1929 if (bsg_reply->reply_payload_rcv_len > in fc_lport_bsg_resp()
1931 bsg_reply->reply_payload_rcv_len = in fc_lport_bsg_resp()
1933 bsg_reply->result = 0; in fc_lport_bsg_resp()
1934 bsg_job_done(job, bsg_reply->result, in fc_lport_bsg_resp()
[all …]
/Linux-v4.19/drivers/scsi/bfa/
Dbfad_bsg.c3134 struct fc_bsg_reply *bsg_reply = job->reply; in bfad_im_bsg_vendor_request() local
3171 bsg_reply->reply_payload_rcv_len = job->reply_payload.payload_len; in bfad_im_bsg_vendor_request()
3172 bsg_reply->result = rc; in bfad_im_bsg_vendor_request()
3174 bsg_job_done(job, bsg_reply->result, in bfad_im_bsg_vendor_request()
3175 bsg_reply->reply_payload_rcv_len); in bfad_im_bsg_vendor_request()
3181 bsg_reply->result = rc; in bfad_im_bsg_vendor_request()
3183 bsg_reply->reply_payload_rcv_len = 0; in bfad_im_bsg_vendor_request()
3361 struct fc_bsg_reply *bsg_reply = job->reply; in bfad_im_bsg_els_ct_request() local
3369 bsg_reply->reply_payload_rcv_len = 0; in bfad_im_bsg_els_ct_request()
3517 bsg_reply->reply_payload_rcv_len = drv_fcxp->rsp_len; in bfad_im_bsg_els_ct_request()
[all …]
/Linux-v4.19/drivers/scsi/
Dscsi_transport_fc.c3608 struct fc_bsg_reply *bsg_reply = job->reply; in fc_bsg_host_dispatch() local
3670 bsg_reply->reply_payload_rcv_len = 0; in fc_bsg_host_dispatch()
3671 bsg_reply->result = ret; in fc_bsg_host_dispatch()
3673 bsg_job_done(job, bsg_reply->result, in fc_bsg_host_dispatch()
3674 bsg_reply->reply_payload_rcv_len); in fc_bsg_host_dispatch()
3706 struct fc_bsg_reply *bsg_reply = job->reply; in fc_bsg_rport_dispatch() local
3744 bsg_reply->reply_payload_rcv_len = 0; in fc_bsg_rport_dispatch()
3745 bsg_reply->result = ret; in fc_bsg_rport_dispatch()
3747 bsg_job_done(job, bsg_reply->result, in fc_bsg_rport_dispatch()
3748 bsg_reply->reply_payload_rcv_len); in fc_bsg_rport_dispatch()
/Linux-v4.19/drivers/scsi/ibmvscsi/
Dibmvfc.c1831 struct fc_bsg_reply *bsg_reply = job->reply; in ibmvfc_bsg_request() local
1837 bsg_reply->reply_payload_rcv_len = 0; in ibmvfc_bsg_request()
1942 bsg_reply->reply_payload_rcv_len = rsp_len; in ibmvfc_bsg_request()
1947 bsg_reply->result = rc; in ibmvfc_bsg_request()
1948 bsg_job_done(job, bsg_reply->result, in ibmvfc_bsg_request()
1949 bsg_reply->reply_payload_rcv_len); in ibmvfc_bsg_request()
/Linux-v4.19/drivers/scsi/be2iscsi/
Dbe_main.c4841 struct iscsi_bsg_reply *bsg_reply = job->reply; in beiscsi_bsg_request() local
4897 bsg_reply->reply_payload_rcv_len = resp->response_length; in beiscsi_bsg_request()
4898 bsg_reply->result = status; in beiscsi_bsg_request()
4899 bsg_job_done(job, bsg_reply->result, in beiscsi_bsg_request()
4900 bsg_reply->reply_payload_rcv_len); in beiscsi_bsg_request()