/drivers/scsi/qla4xxx/ |
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 …]
|
/drivers/scsi/qla2xxx/ |
D | qla_bsg.c | 26 struct fc_bsg_reply *bsg_reply = bsg_job->reply; in qla2x00_bsg_job_done() local 35 bsg_reply->result = res; in qla2x00_bsg_job_done() 36 bsg_job_done(bsg_job, bsg_reply->result, in qla2x00_bsg_job_done() 37 bsg_reply->reply_payload_rcv_len); in qla2x00_bsg_job_done() 145 struct fc_bsg_reply *bsg_reply = bsg_job->reply; in qla24xx_proc_fcp_prio_cfg_cmd() local 172 bsg_reply->result = DID_OK; in qla24xx_proc_fcp_prio_cfg_cmd() 175 bsg_reply->result = (DID_ERROR << 16); in qla24xx_proc_fcp_prio_cfg_cmd() 187 bsg_reply->result = DID_OK; in qla24xx_proc_fcp_prio_cfg_cmd() 190 bsg_reply->result = (DID_ERROR << 16); in qla24xx_proc_fcp_prio_cfg_cmd() 200 bsg_reply->result = (DID_ERROR << 16); in qla24xx_proc_fcp_prio_cfg_cmd() [all …]
|
D | qla_edif.c | 212 struct fc_bsg_reply *bsg_reply = bsg_job->reply; in qla_bsg_check() local 248 bsg_job_done(bsg_job, bsg_reply->result, in qla_bsg_check() 249 bsg_reply->reply_payload_rcv_len); in qla_bsg_check() 470 struct fc_bsg_reply *bsg_reply = bsg_job->reply; in qla_edif_app_start() local 565 SET_DID_STATUS(bsg_reply->result, DID_OK); in qla_edif_app_start() 567 bsg_reply->reply_payload_rcv_len = sg_copy_from_buffer(bsg_job->reply_payload.sg_list, in qla_edif_app_start() 591 struct fc_bsg_reply *bsg_reply = bsg_job->reply; in qla_edif_app_stop() local 636 SET_DID_STATUS(bsg_reply->result, DID_OK); in qla_edif_app_stop() 679 struct fc_bsg_reply *bsg_reply = bsg_job->reply; in qla_edif_app_authok() local 716 SET_DID_STATUS(bsg_reply->result, DID_ERROR); in qla_edif_app_authok() [all …]
|
D | qla_isr.c | 2059 struct fc_bsg_reply *bsg_reply; in qla2x00_ct_entry() local 2070 bsg_reply = bsg_job->reply; in qla2x00_ct_entry() 2080 bsg_reply->reply_data.ctels_reply.status = FC_CTELS_STATUS_OK; in qla2x00_ct_entry() 2086 bsg_reply->reply_payload_rcv_len = in qla2x00_ct_entry() 2092 bsg_reply->reply_payload_rcv_len); in qla2x00_ct_entry() 2098 bsg_reply->reply_payload_rcv_len = 0; in qla2x00_ct_entry() 2104 bsg_reply->reply_payload_rcv_len = in qla2x00_ct_entry() 2132 struct fc_bsg_reply *bsg_reply; in qla24xx_els_ct_entry() local 2283 bsg_reply = bsg_job->reply; in qla24xx_els_ct_entry() 2284 bsg_reply->reply_data.ctels_reply.status = FC_CTELS_STATUS_OK; in qla24xx_els_ct_entry() [all …]
|
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()
|
/drivers/scsi/lpfc/ |
D | lpfc_bsg.c | 305 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() 548 bsg_reply->result = rc; in lpfc_bsg_send_mgmt_cmd() 577 struct fc_bsg_reply *bsg_reply; in lpfc_bsg_rport_els_cmp() local [all …]
|
/drivers/scsi/ufs/ |
D | ufs_bsg.c | 83 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()
|
/drivers/scsi/libfc/ |
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 …]
|
/drivers/scsi/bfa/ |
D | bfad_bsg.c | 3126 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 …]
|
/drivers/scsi/ |
D | scsi_transport_fc.c | 4084 struct fc_bsg_reply *bsg_reply = job->reply; in fc_bsg_host_dispatch() local 4146 bsg_reply->reply_payload_rcv_len = 0; in fc_bsg_host_dispatch() 4147 bsg_reply->result = ret; in fc_bsg_host_dispatch() 4149 bsg_job_done(job, bsg_reply->result, in fc_bsg_host_dispatch() 4150 bsg_reply->reply_payload_rcv_len); in fc_bsg_host_dispatch() 4177 struct fc_bsg_reply *bsg_reply = job->reply; in fc_bsg_rport_dispatch() local 4215 bsg_reply->reply_payload_rcv_len = 0; in fc_bsg_rport_dispatch() 4216 bsg_reply->result = ret; in fc_bsg_rport_dispatch() 4218 bsg_job_done(job, bsg_reply->result, in fc_bsg_rport_dispatch() 4219 bsg_reply->reply_payload_rcv_len); in fc_bsg_rport_dispatch()
|
/drivers/scsi/ibmvscsi/ |
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()
|
/drivers/scsi/be2iscsi/ |
D | be_main.c | 4796 struct iscsi_bsg_reply *bsg_reply = job->reply; in beiscsi_bsg_request() local 4852 bsg_reply->reply_payload_rcv_len = resp->response_length; in beiscsi_bsg_request() 4853 bsg_reply->result = status; in beiscsi_bsg_request() 4854 bsg_job_done(job, bsg_reply->result, in beiscsi_bsg_request() 4855 bsg_reply->reply_payload_rcv_len); in beiscsi_bsg_request()
|