Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/scsi/qla4xxx/
H A Dql4_bsg.c16 struct iscsi_bsg_reply *bsg_reply = bsg_job->reply; in qla4xxx_read_flash() local
24 bsg_reply->reply_payload_rcv_len = 0; in qla4xxx_read_flash()
58 bsg_reply->result = DID_ERROR << 16; in qla4xxx_read_flash()
61 bsg_reply->reply_payload_rcv_len = in qla4xxx_read_flash()
65 bsg_reply->result = DID_OK << 16; in qla4xxx_read_flash()
68 bsg_job_done(bsg_job, bsg_reply->result, in qla4xxx_read_flash()
69 bsg_reply->reply_payload_rcv_len); in qla4xxx_read_flash()
81 struct iscsi_bsg_reply *bsg_reply = bsg_job->reply; in qla4xxx_update_flash() local
90 bsg_reply->reply_payload_rcv_len = 0; in qla4xxx_update_flash()
128 bsg_reply->result = DID_ERROR << 16; in qla4xxx_update_flash()
[all …]
/OK3568_Linux_fs/kernel/drivers/scsi/qla2xxx/
H A Dqla_bsg.c25 struct fc_bsg_reply *bsg_reply = bsg_job->reply; in qla2x00_bsg_job_done() local
29 bsg_reply->result = res; in qla2x00_bsg_job_done()
30 bsg_job_done(bsg_job, bsg_reply->result, in qla2x00_bsg_job_done()
31 bsg_reply->reply_payload_rcv_len); in qla2x00_bsg_job_done()
131 struct fc_bsg_reply *bsg_reply = bsg_job->reply; in qla24xx_proc_fcp_prio_cfg_cmd() local
158 bsg_reply->result = DID_OK; in qla24xx_proc_fcp_prio_cfg_cmd()
161 bsg_reply->result = (DID_ERROR << 16); in qla24xx_proc_fcp_prio_cfg_cmd()
173 bsg_reply->result = DID_OK; in qla24xx_proc_fcp_prio_cfg_cmd()
176 bsg_reply->result = (DID_ERROR << 16); in qla24xx_proc_fcp_prio_cfg_cmd()
186 bsg_reply->result = (DID_ERROR << 16); in qla24xx_proc_fcp_prio_cfg_cmd()
[all …]
H A Dqla_isr.c1898 struct fc_bsg_reply *bsg_reply; in qla2x00_ct_entry() local
1909 bsg_reply = bsg_job->reply; in qla2x00_ct_entry()
1919 bsg_reply->reply_data.ctels_reply.status = FC_CTELS_STATUS_OK; in qla2x00_ct_entry()
1925 bsg_reply->reply_payload_rcv_len = in qla2x00_ct_entry()
1931 bsg_reply->reply_payload_rcv_len); in qla2x00_ct_entry()
1937 bsg_reply->reply_payload_rcv_len = 0; in qla2x00_ct_entry()
1943 bsg_reply->reply_payload_rcv_len = in qla2x00_ct_entry()
1971 struct fc_bsg_reply *bsg_reply; in qla24xx_els_ct_entry() local
2048 bsg_reply = bsg_job->reply; in qla24xx_els_ct_entry()
2049 bsg_reply->reply_data.ctels_reply.status = FC_CTELS_STATUS_OK; in qla24xx_els_ct_entry()
[all …]
H A Dqla_mr.c2186 struct fc_bsg_reply *bsg_reply; in qlafx00_ioctl_iosb_entry() local
2206 bsg_reply = bsg_job->reply; in qlafx00_ioctl_iosb_entry()
2235 res = bsg_reply->result = DID_OK << 16; in qlafx00_ioctl_iosb_entry()
2236 bsg_reply->reply_payload_rcv_len = in qlafx00_ioctl_iosb_entry()
/OK3568_Linux_fs/kernel/drivers/scsi/lpfc/
H A Dlpfc_bsg.c305 struct fc_bsg_reply *bsg_reply; in lpfc_bsg_send_mgmt_cmd_cmp() local
320 bsg_reply = job->reply; in lpfc_bsg_send_mgmt_cmd_cmp()
359 bsg_reply->reply_payload_rcv_len = in lpfc_bsg_send_mgmt_cmd_cmp()
376 bsg_reply->result = rc; in lpfc_bsg_send_mgmt_cmd_cmp()
377 bsg_job_done(job, bsg_reply->result, in lpfc_bsg_send_mgmt_cmd_cmp()
378 bsg_reply->reply_payload_rcv_len); in lpfc_bsg_send_mgmt_cmd_cmp()
394 struct fc_bsg_reply *bsg_reply = job->reply; in lpfc_bsg_send_mgmt_cmd() local
409 bsg_reply->reply_payload_rcv_len = 0; in lpfc_bsg_send_mgmt_cmd()
553 bsg_reply->result = rc; in lpfc_bsg_send_mgmt_cmd()
582 struct fc_bsg_reply *bsg_reply; in lpfc_bsg_rport_els_cmp() local
[all …]
/OK3568_Linux_fs/kernel/drivers/scsi/ufs/
H A Dufs_bsg.c83 struct ufs_bsg_reply *bsg_reply = job->reply; in ufs_bsg_request() local
98 bsg_reply->reply_payload_rcv_len = 0; in ufs_bsg_request()
117 &bsg_reply->upiu_rsp, msgcode, in ufs_bsg_request()
131 memcpy(&bsg_reply->upiu_rsp.uc, &uc, UIC_CMD_SIZE); in ufs_bsg_request()
147 bsg_reply->reply_payload_rcv_len = in ufs_bsg_request()
155 bsg_reply->result = ret; in ufs_bsg_request()
159 bsg_job_done(job, ret, bsg_reply->reply_payload_rcv_len); in ufs_bsg_request()
/OK3568_Linux_fs/kernel/drivers/scsi/libfc/
H A Dfc_lport.c1879 struct fc_bsg_reply *bsg_reply = job->reply; in fc_lport_bsg_resp() local
1886 bsg_reply->result = (PTR_ERR(fp) == -FC_EX_CLOSED) ? in fc_lport_bsg_resp()
1889 bsg_job_done(job, bsg_reply->result, in fc_lport_bsg_resp()
1890 bsg_reply->reply_payload_rcv_len); in fc_lport_bsg_resp()
1907 bsg_reply->reply_data.ctels_reply.status = in fc_lport_bsg_resp()
1912 bsg_reply->reply_payload_rcv_len += in fc_lport_bsg_resp()
1919 if (bsg_reply->reply_payload_rcv_len > in fc_lport_bsg_resp()
1921 bsg_reply->reply_payload_rcv_len = in fc_lport_bsg_resp()
1923 bsg_reply->result = 0; in fc_lport_bsg_resp()
1924 bsg_job_done(job, bsg_reply->result, in fc_lport_bsg_resp()
[all …]
/OK3568_Linux_fs/kernel/drivers/scsi/bfa/
H A Dbfad_bsg.c3126 struct fc_bsg_reply *bsg_reply = job->reply; in bfad_im_bsg_vendor_request() local
3163 bsg_reply->reply_payload_rcv_len = job->reply_payload.payload_len; in bfad_im_bsg_vendor_request()
3164 bsg_reply->result = rc; in bfad_im_bsg_vendor_request()
3166 bsg_job_done(job, bsg_reply->result, in bfad_im_bsg_vendor_request()
3167 bsg_reply->reply_payload_rcv_len); in bfad_im_bsg_vendor_request()
3173 bsg_reply->result = rc; in bfad_im_bsg_vendor_request()
3175 bsg_reply->reply_payload_rcv_len = 0; in bfad_im_bsg_vendor_request()
3353 struct fc_bsg_reply *bsg_reply = job->reply; in bfad_im_bsg_els_ct_request() local
3361 bsg_reply->reply_payload_rcv_len = 0; in bfad_im_bsg_els_ct_request()
3509 bsg_reply->reply_payload_rcv_len = drv_fcxp->rsp_len; in bfad_im_bsg_els_ct_request()
[all …]
/OK3568_Linux_fs/kernel/drivers/scsi/
H A Dscsi_transport_fc.c3595 struct fc_bsg_reply *bsg_reply = job->reply; in fc_bsg_host_dispatch() local
3657 bsg_reply->reply_payload_rcv_len = 0; in fc_bsg_host_dispatch()
3658 bsg_reply->result = ret; in fc_bsg_host_dispatch()
3660 bsg_job_done(job, bsg_reply->result, in fc_bsg_host_dispatch()
3661 bsg_reply->reply_payload_rcv_len); in fc_bsg_host_dispatch()
3688 struct fc_bsg_reply *bsg_reply = job->reply; in fc_bsg_rport_dispatch() local
3726 bsg_reply->reply_payload_rcv_len = 0; in fc_bsg_rport_dispatch()
3727 bsg_reply->result = ret; in fc_bsg_rport_dispatch()
3729 bsg_job_done(job, bsg_reply->result, in fc_bsg_rport_dispatch()
3730 bsg_reply->reply_payload_rcv_len); in fc_bsg_rport_dispatch()
/OK3568_Linux_fs/kernel/drivers/scsi/ibmvscsi/
H A Dibmvfc.c1876 struct fc_bsg_reply *bsg_reply = job->reply; in ibmvfc_bsg_request() local
1882 bsg_reply->reply_payload_rcv_len = 0; in ibmvfc_bsg_request()
1989 bsg_reply->reply_payload_rcv_len = rsp_len; in ibmvfc_bsg_request()
1994 bsg_reply->result = rc; in ibmvfc_bsg_request()
1995 bsg_job_done(job, bsg_reply->result, in ibmvfc_bsg_request()
1996 bsg_reply->reply_payload_rcv_len); in ibmvfc_bsg_request()
/OK3568_Linux_fs/kernel/drivers/scsi/be2iscsi/
H A Dbe_main.c4823 struct iscsi_bsg_reply *bsg_reply = job->reply; in beiscsi_bsg_request() local
4879 bsg_reply->reply_payload_rcv_len = resp->response_length; in beiscsi_bsg_request()
4880 bsg_reply->result = status; in beiscsi_bsg_request()
4881 bsg_job_done(job, bsg_reply->result, in beiscsi_bsg_request()
4882 bsg_reply->reply_payload_rcv_len); in beiscsi_bsg_request()