Home
last modified time | relevance | path

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

/linux/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 …]
/linux/drivers/scsi/qla2xxx/
H A Dqla_bsg.c28 struct fc_bsg_reply *bsg_reply = bsg_job->reply; in qla2x00_bsg_job_done() local
38 bsg_reply->result = res; in qla2x00_bsg_job_done()
39 bsg_job_done(bsg_job, bsg_reply->result, in qla2x00_bsg_job_done()
40 bsg_reply->reply_payload_rcv_len); in qla2x00_bsg_job_done()
151 struct fc_bsg_reply *bsg_reply = bsg_job->reply; in qla24xx_proc_fcp_prio_cfg_cmd() local
178 bsg_reply->result = DID_OK; in qla24xx_proc_fcp_prio_cfg_cmd()
181 bsg_reply->result = (DID_ERROR << 16); in qla24xx_proc_fcp_prio_cfg_cmd()
193 bsg_reply->result = DID_OK; in qla24xx_proc_fcp_prio_cfg_cmd()
196 bsg_reply->result = (DID_ERROR << 16); in qla24xx_proc_fcp_prio_cfg_cmd()
206 bsg_reply->result = (DID_ERROR << 16); in qla24xx_proc_fcp_prio_cfg_cmd()
[all …]
H A Dqla_edif.c238 struct fc_bsg_reply *bsg_reply = bsg_job->reply; in qla_bsg_check() local
274 bsg_job_done(bsg_job, bsg_reply->result, in qla_bsg_check()
275 bsg_reply->reply_payload_rcv_len); in qla_bsg_check()
538 struct fc_bsg_reply *bsg_reply = bsg_job->reply; in qla_edif_app_start() local
649 SET_DID_STATUS(bsg_reply->result, DID_OK); in qla_edif_app_start()
651 bsg_reply->reply_payload_rcv_len = sg_copy_from_buffer(bsg_job->reply_payload.sg_list, in qla_edif_app_start()
675 struct fc_bsg_reply *bsg_reply = bsg_job->reply; in qla_edif_app_stop() local
717 SET_DID_STATUS(bsg_reply->result, DID_OK); in qla_edif_app_stop()
759 struct fc_bsg_reply *bsg_reply = bsg_job->reply; in qla_edif_app_authok() local
797 SET_DID_STATUS(bsg_reply->result, DID_ERROR); in qla_edif_app_authok()
[all …]
H A Dqla_isr.c2244 struct fc_bsg_reply *bsg_reply; in qla2x00_ct_entry() local
2255 bsg_reply = bsg_job->reply; in qla2x00_ct_entry()
2265 bsg_reply->reply_data.ctels_reply.status = FC_CTELS_STATUS_OK; in qla2x00_ct_entry()
2271 bsg_reply->reply_payload_rcv_len = in qla2x00_ct_entry()
2277 bsg_reply->reply_payload_rcv_len); in qla2x00_ct_entry()
2283 bsg_reply->reply_payload_rcv_len = 0; in qla2x00_ct_entry()
2289 bsg_reply->reply_payload_rcv_len = in qla2x00_ct_entry()
2317 struct fc_bsg_reply *bsg_reply; in qla24xx_els_ct_entry() local
2478 bsg_reply = bsg_job->reply; in qla24xx_els_ct_entry()
2479 bsg_reply->reply_data.ctels_reply.status = FC_CTELS_STATUS_OK; in qla24xx_els_ct_entry()
[all …]
H A Dqla_mr.c2185 struct fc_bsg_reply *bsg_reply; in qlafx00_ioctl_iosb_entry() local
2205 bsg_reply = bsg_job->reply; in qlafx00_ioctl_iosb_entry()
2234 res = bsg_reply->result = DID_OK << 16; in qlafx00_ioctl_iosb_entry()
2235 bsg_reply->reply_payload_rcv_len = in qlafx00_ioctl_iosb_entry()
/linux/drivers/scsi/lpfc/
H A Dlpfc_bsg.c306 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()
360 bsg_reply->reply_payload_rcv_len = in lpfc_bsg_send_mgmt_cmd_cmp()
377 bsg_reply->result = rc; in lpfc_bsg_send_mgmt_cmd_cmp()
378 bsg_job_done(job, bsg_reply->result, in lpfc_bsg_send_mgmt_cmd_cmp()
379 bsg_reply->reply_payload_rcv_len); in lpfc_bsg_send_mgmt_cmd_cmp()
395 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()
540 bsg_reply->result = rc; in lpfc_bsg_send_mgmt_cmd()
569 struct fc_bsg_reply *bsg_reply; in lpfc_bsg_rport_els_cmp() local
[all …]
/linux/drivers/ufs/core/
H A Dufs_bsg.c119 &rpmb_reply->bsg_reply.upiu_rsp, &rpmb_request->ehs_req, in ufs_bsg_exec_advanced_rpmb_req()
126 rpmb_reply->bsg_reply.reply_payload_rcv_len = data_len; in ufs_bsg_exec_advanced_rpmb_req()
135 struct ufs_bsg_reply *bsg_reply = job->reply; in ufs_bsg_request() local
145 bsg_reply->reply_payload_rcv_len = 0; in ufs_bsg_request()
160 &bsg_reply->upiu_rsp, msgcode, in ufs_bsg_request()
165 bsg_reply->reply_payload_rcv_len = in ufs_bsg_request()
177 memcpy(&bsg_reply->upiu_rsp.uc, &uc, UIC_CMD_SIZE); in ufs_bsg_request()
196 bsg_reply->result = ret; in ufs_bsg_request()
201 bsg_job_done(job, ret, bsg_reply->reply_payload_rcv_len); in ufs_bsg_request()
/linux/drivers/scsi/libfc/
H A Dfc_lport.c1959 struct fc_bsg_reply *bsg_reply = job->reply; in fc_lport_bsg_resp() local
1966 bsg_reply->result = (PTR_ERR(fp) == -FC_EX_CLOSED) ? in fc_lport_bsg_resp()
1969 bsg_job_done(job, bsg_reply->result, in fc_lport_bsg_resp()
1970 bsg_reply->reply_payload_rcv_len); in fc_lport_bsg_resp()
1987 bsg_reply->reply_data.ctels_reply.status = in fc_lport_bsg_resp()
1992 bsg_reply->reply_payload_rcv_len += in fc_lport_bsg_resp()
1999 if (bsg_reply->reply_payload_rcv_len > in fc_lport_bsg_resp()
2001 bsg_reply->reply_payload_rcv_len = in fc_lport_bsg_resp()
2003 bsg_reply->result = 0; in fc_lport_bsg_resp()
2004 bsg_job_done(job, bsg_reply->result, in fc_lport_bsg_resp()
[all …]
/linux/drivers/scsi/bfa/
H A Dbfad_bsg.c3152 struct fc_bsg_reply *bsg_reply = job->reply; in bfad_im_bsg_vendor_request() local
3189 bsg_reply->reply_payload_rcv_len = job->reply_payload.payload_len; in bfad_im_bsg_vendor_request()
3190 bsg_reply->result = rc; in bfad_im_bsg_vendor_request()
3192 bsg_job_done(job, bsg_reply->result, in bfad_im_bsg_vendor_request()
3193 bsg_reply->reply_payload_rcv_len); in bfad_im_bsg_vendor_request()
3199 bsg_reply->result = rc; in bfad_im_bsg_vendor_request()
3201 bsg_reply->reply_payload_rcv_len = 0; in bfad_im_bsg_vendor_request()
3379 struct fc_bsg_reply *bsg_reply = job->reply; in bfad_im_bsg_els_ct_request() local
3387 bsg_reply->reply_payload_rcv_len = 0; in bfad_im_bsg_els_ct_request()
3535 bsg_reply->reply_payload_rcv_len = drv_fcxp->rsp_len; in bfad_im_bsg_els_ct_request()
[all …]
/linux/include/uapi/scsi/
H A Dscsi_bsg_ufs.h218 struct ufs_bsg_reply bsg_reply;
219 struct ufs_bsg_reply bsg_reply; global() member
/linux/drivers/scsi/
H A Dscsi_transport_fc.c4138 struct fc_bsg_reply *bsg_reply = job->reply; in fc_bsg_host_dispatch() local
4200 bsg_reply->reply_payload_rcv_len = 0; in fc_bsg_host_dispatch()
4201 bsg_reply->result = ret; in fc_bsg_host_dispatch()
4203 bsg_job_done(job, bsg_reply->result, in fc_bsg_host_dispatch()
4204 bsg_reply->reply_payload_rcv_len); in fc_bsg_host_dispatch()
4231 struct fc_bsg_reply *bsg_reply = job->reply; in fc_bsg_rport_dispatch() local
4269 bsg_reply->reply_payload_rcv_len = 0; in fc_bsg_rport_dispatch()
4270 bsg_reply->result = ret; in fc_bsg_rport_dispatch()
4272 bsg_job_done(job, bsg_reply->result, in fc_bsg_rport_dispatch()
4273 bsg_reply->reply_payload_rcv_len); in fc_bsg_rport_dispatch()
/linux/drivers/scsi/ibmvscsi/
H A Dibmvfc.c2195 struct fc_bsg_reply *bsg_reply = job->reply; in ibmvfc_bsg_request() local
2201 bsg_reply->reply_payload_rcv_len = 0; in ibmvfc_bsg_request()
2313 bsg_reply->reply_payload_rcv_len = rsp_len; in ibmvfc_bsg_request()
2318 bsg_reply->result = rc; in ibmvfc_bsg_request()
2319 bsg_job_done(job, bsg_reply->result, in ibmvfc_bsg_request()
2320 bsg_reply->reply_payload_rcv_len); in ibmvfc_bsg_request()
/linux/drivers/scsi/be2iscsi/
H A Dbe_main.c4800 struct iscsi_bsg_reply *bsg_reply = job->reply; in beiscsi_bsg_request() local
4856 bsg_reply->reply_payload_rcv_len = resp->response_length; in beiscsi_bsg_request()
4857 bsg_reply->result = status; in beiscsi_bsg_request()
4858 bsg_job_done(job, bsg_reply->result, in beiscsi_bsg_request()
4859 bsg_reply->reply_payload_rcv_len); in beiscsi_bsg_request()