Home
last modified time | relevance | path

Searched refs:bsg_reply (Results 1 – 8 of 8) 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/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/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/drivers/scsi/
H A Dscsi_transport_fc.c4143 struct fc_bsg_reply *bsg_reply = job->reply; in fc_bsg_host_dispatch() local
4205 bsg_reply->reply_payload_rcv_len = 0; in fc_bsg_host_dispatch()
4206 bsg_reply->result = ret; in fc_bsg_host_dispatch()
4208 bsg_job_done(job, bsg_reply->result, in fc_bsg_host_dispatch()
4209 bsg_reply->reply_payload_rcv_len); in fc_bsg_host_dispatch()
4236 struct fc_bsg_reply *bsg_reply = job->reply; in fc_bsg_rport_dispatch() local
4274 bsg_reply->reply_payload_rcv_len = 0; in fc_bsg_rport_dispatch()
4275 bsg_reply->result = ret; in fc_bsg_rport_dispatch()
4277 bsg_job_done(job, bsg_reply->result, in fc_bsg_rport_dispatch()
4278 bsg_reply->reply_payload_rcv_len); in fc_bsg_rport_dispatch()
/linux/drivers/scsi/qla2xxx/
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/ibmvscsi/
H A Dibmvfc-core.c2271 struct fc_bsg_reply *bsg_reply = job->reply; in ibmvfc_bsg_request() local
2277 bsg_reply->reply_payload_rcv_len = 0; in ibmvfc_bsg_request()
2389 bsg_reply->reply_payload_rcv_len = rsp_len; in ibmvfc_bsg_request()
2394 bsg_reply->result = rc; in ibmvfc_bsg_request()
2395 bsg_job_done(job, bsg_reply->result, in ibmvfc_bsg_request()
2396 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()