/openbmc/linux/drivers/scsi/qla4xxx/ |
H A D | ql4_bsg.c | 16 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 …]
|
/openbmc/linux/drivers/scsi/qla2xxx/ |
H A D | qla_bsg.c | 26 struct fc_bsg_reply *bsg_reply = bsg_job->reply; in qla2x00_bsg_job_done() local 36 bsg_reply->result = res; in qla2x00_bsg_job_done() 37 bsg_job_done(bsg_job, bsg_reply->result, in qla2x00_bsg_job_done() 38 bsg_reply->reply_payload_rcv_len); in qla2x00_bsg_job_done() 149 struct fc_bsg_reply *bsg_reply = bsg_job->reply; in qla24xx_proc_fcp_prio_cfg_cmd() local 176 bsg_reply->result = DID_OK; in qla24xx_proc_fcp_prio_cfg_cmd() 179 bsg_reply->result = (DID_ERROR << 16); in qla24xx_proc_fcp_prio_cfg_cmd() 191 bsg_reply->result = DID_OK; in qla24xx_proc_fcp_prio_cfg_cmd() 194 bsg_reply->result = (DID_ERROR << 16); in qla24xx_proc_fcp_prio_cfg_cmd() 204 bsg_reply->result = (DID_ERROR << 16); in qla24xx_proc_fcp_prio_cfg_cmd() [all …]
|
H A D | qla_edif.c | 237 struct fc_bsg_reply *bsg_reply = bsg_job->reply; in qla_bsg_check() local 273 bsg_job_done(bsg_job, bsg_reply->result, in qla_bsg_check() 274 bsg_reply->reply_payload_rcv_len); in qla_bsg_check() 537 struct fc_bsg_reply *bsg_reply = bsg_job->reply; in qla_edif_app_start() local 648 SET_DID_STATUS(bsg_reply->result, DID_OK); in qla_edif_app_start() 650 bsg_reply->reply_payload_rcv_len = sg_copy_from_buffer(bsg_job->reply_payload.sg_list, in qla_edif_app_start() 674 struct fc_bsg_reply *bsg_reply = bsg_job->reply; in qla_edif_app_stop() local 716 SET_DID_STATUS(bsg_reply->result, DID_OK); in qla_edif_app_stop() 758 struct fc_bsg_reply *bsg_reply = bsg_job->reply; in qla_edif_app_authok() local 796 SET_DID_STATUS(bsg_reply->result, DID_ERROR); in qla_edif_app_authok() [all …]
|
H A D | qla_isr.c | 2222 struct fc_bsg_reply *bsg_reply; in qla2x00_ct_entry() local 2233 bsg_reply = bsg_job->reply; in qla2x00_ct_entry() 2243 bsg_reply->reply_data.ctels_reply.status = FC_CTELS_STATUS_OK; in qla2x00_ct_entry() 2249 bsg_reply->reply_payload_rcv_len = in qla2x00_ct_entry() 2255 bsg_reply->reply_payload_rcv_len); in qla2x00_ct_entry() 2261 bsg_reply->reply_payload_rcv_len = 0; in qla2x00_ct_entry() 2267 bsg_reply->reply_payload_rcv_len = in qla2x00_ct_entry() 2295 struct fc_bsg_reply *bsg_reply; in qla24xx_els_ct_entry() local 2456 bsg_reply = bsg_job->reply; in qla24xx_els_ct_entry() 2457 bsg_reply->reply_data.ctels_reply.status = FC_CTELS_STATUS_OK; in qla24xx_els_ct_entry() [all …]
|
H A D | qla_mr.c | 2187 struct fc_bsg_reply *bsg_reply; in qlafx00_ioctl_iosb_entry() local 2207 bsg_reply = bsg_job->reply; in qlafx00_ioctl_iosb_entry() 2236 res = bsg_reply->result = DID_OK << 16; in qlafx00_ioctl_iosb_entry() 2237 bsg_reply->reply_payload_rcv_len = in qlafx00_ioctl_iosb_entry()
|
/openbmc/linux/drivers/scsi/lpfc/ |
H A D | lpfc_bsg.c | 296 struct fc_bsg_reply *bsg_reply; in lpfc_bsg_send_mgmt_cmd_cmp() local 310 bsg_reply = job->reply; in lpfc_bsg_send_mgmt_cmd_cmp() 350 bsg_reply->reply_payload_rcv_len = in lpfc_bsg_send_mgmt_cmd_cmp() 367 bsg_reply->result = rc; in lpfc_bsg_send_mgmt_cmd_cmp() 368 bsg_job_done(job, bsg_reply->result, in lpfc_bsg_send_mgmt_cmd_cmp() 369 bsg_reply->reply_payload_rcv_len); in lpfc_bsg_send_mgmt_cmd_cmp() 385 struct fc_bsg_reply *bsg_reply = job->reply; in lpfc_bsg_send_mgmt_cmd() local 399 bsg_reply->reply_payload_rcv_len = 0; in lpfc_bsg_send_mgmt_cmd() 526 bsg_reply->result = rc; in lpfc_bsg_send_mgmt_cmd() 555 struct fc_bsg_reply *bsg_reply; in lpfc_bsg_rport_els_cmp() local [all …]
|
/openbmc/linux/drivers/ufs/core/ |
H A D | ufs_bsg.c | 119 &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()
|
/openbmc/linux/drivers/scsi/libfc/ |
H A D | fc_lport.c | 1959 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 …]
|
/openbmc/linux/drivers/scsi/bfa/ |
H A D | bfad_bsg.c | 3152 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 …]
|
/openbmc/linux/include/uapi/scsi/ |
H A D | scsi_bsg_ufs.h | 217 struct ufs_bsg_reply bsg_reply; member
|
/openbmc/linux/drivers/scsi/ |
H A D | scsi_transport_fc.c | 4088 struct fc_bsg_reply *bsg_reply = job->reply; in fc_bsg_host_dispatch() local 4150 bsg_reply->reply_payload_rcv_len = 0; in fc_bsg_host_dispatch() 4151 bsg_reply->result = ret; in fc_bsg_host_dispatch() 4153 bsg_job_done(job, bsg_reply->result, in fc_bsg_host_dispatch() 4154 bsg_reply->reply_payload_rcv_len); in fc_bsg_host_dispatch() 4181 struct fc_bsg_reply *bsg_reply = job->reply; in fc_bsg_rport_dispatch() local 4219 bsg_reply->reply_payload_rcv_len = 0; in fc_bsg_rport_dispatch() 4220 bsg_reply->result = ret; in fc_bsg_rport_dispatch() 4222 bsg_job_done(job, bsg_reply->result, in fc_bsg_rport_dispatch() 4223 bsg_reply->reply_payload_rcv_len); in fc_bsg_rport_dispatch()
|
/openbmc/linux/drivers/scsi/ibmvscsi/ |
H A D | ibmvfc.c | 2162 struct fc_bsg_reply *bsg_reply = job->reply; in ibmvfc_bsg_request() local 2168 bsg_reply->reply_payload_rcv_len = 0; in ibmvfc_bsg_request() 2280 bsg_reply->reply_payload_rcv_len = rsp_len; in ibmvfc_bsg_request() 2285 bsg_reply->result = rc; in ibmvfc_bsg_request() 2286 bsg_job_done(job, bsg_reply->result, in ibmvfc_bsg_request() 2287 bsg_reply->reply_payload_rcv_len); in ibmvfc_bsg_request()
|
/openbmc/linux/drivers/scsi/be2iscsi/ |
H A D | be_main.c | 4815 struct iscsi_bsg_reply *bsg_reply = job->reply; in beiscsi_bsg_request() local 4871 bsg_reply->reply_payload_rcv_len = resp->response_length; in beiscsi_bsg_request() 4872 bsg_reply->result = status; in beiscsi_bsg_request() 4873 bsg_job_done(job, bsg_reply->result, in beiscsi_bsg_request() 4874 bsg_reply->reply_payload_rcv_len); in beiscsi_bsg_request()
|