/Linux-v6.1/drivers/scsi/qla2xxx/ |
D | qla_bsg.c | 58 bsg_job->reply_payload.sg_list, in qla2x00_bsg_sp_free() 59 bsg_job->reply_payload.sg_cnt, DMA_FROM_DEVICE); in qla2x00_bsg_sp_free() 71 dma_unmap_sg(&ha->pdev->dev, bsg_job->reply_payload.sg_list, in qla2x00_bsg_sp_free() 72 bsg_job->reply_payload.sg_cnt, DMA_FROM_DEVICE); in qla2x00_bsg_sp_free() 197 len = bsg_job->reply_payload.payload_len; in qla24xx_proc_fcp_prio_cfg_cmd() 207 bsg_job->reply_payload.sg_list, in qla24xx_proc_fcp_prio_cfg_cmd() 208 bsg_job->reply_payload.sg_cnt, ha->fcp_prio_cfg, in qla24xx_proc_fcp_prio_cfg_cmd() 317 bsg_job->reply_payload.sg_cnt > 1) { in qla2x00_process_els() 322 bsg_job->reply_payload.sg_cnt); in qla2x00_process_els() 374 rsp_sg_cnt = dma_map_sg(&ha->pdev->dev, bsg_job->reply_payload.sg_list, in qla2x00_process_els() [all …]
|
D | qla_edif.c | 608 bsg_reply->reply_payload_rcv_len = sg_copy_from_buffer(bsg_job->reply_payload.sg_list, in qla_edif_app_start() 609 bsg_job->reply_payload.sg_cnt, in qla_edif_app_start() 810 bsg_reply->reply_payload_rcv_len = sg_copy_from_buffer(bsg_job->reply_payload.sg_list, in qla_edif_app_authok() 811 bsg_job->reply_payload.sg_cnt, in qla_edif_app_authok() 1008 bsg_reply->reply_payload_rcv_len = sg_copy_from_buffer(bsg_job->reply_payload.sg_list, in qla_edif_app_getfcinfo() 1009 bsg_job->reply_payload.sg_cnt, in qla_edif_app_getfcinfo() 1081 sg_copy_from_buffer(bsg_job->reply_payload.sg_list, in qla_edif_app_getstats() 1082 bsg_job->reply_payload.sg_cnt, app_reply, in qla_edif_app_getstats() 1134 reply_payload_len = bsg_job->reply_payload.payload_len; in qla_edif_consume_dbell() 1169 sg_skip += sg_copy_buffer(bsg_job->reply_payload.sg_list, in qla_edif_consume_dbell() [all …]
|
D | qla_iocb.c | 3163 els_iocb->rx_dsd_count = cpu_to_le16(bsg_job->reply_payload.sg_cnt); in qla24xx_els_iocb() 3174 cpu_to_le32(bsg_job->reply_payload.payload_len); in qla24xx_els_iocb() 3183 put_unaligned_le64(sg_dma_address(bsg_job->reply_payload.sg_list), in qla24xx_els_iocb() 3186 (bsg_job->reply_payload.sg_list)); in qla24xx_els_iocb() 3219 cpu_to_le32(bsg_job->reply_payload.payload_len); in qla2x00_ct_iocb() 3225 put_unaligned_le64(sg_dma_address(bsg_job->reply_payload.sg_list), in qla2x00_ct_iocb() 3232 tot_dsds = bsg_job->reply_payload.sg_cnt; in qla2x00_ct_iocb() 3234 for_each_sg(bsg_job->reply_payload.sg_list, sg, tot_dsds, index) { in qla2x00_ct_iocb() 3282 rsp_dsds = bsg_job->reply_payload.sg_cnt; in qla24xx_ct_iocb() 3314 for_each_sg(bsg_job->reply_payload.sg_list, sg, rsp_dsds, index) { in qla24xx_ct_iocb() [all …]
|
D | qla_mr.c | 2238 bsg_job->reply_payload.payload_len; in qlafx00_ioctl_iosb_entry() 3348 cpu_to_le16(bsg_job->reply_payload.sg_cnt); in qlafx00_fxdisc_iocb() 3349 tot_dsds = bsg_job->reply_payload.sg_cnt; in qlafx00_fxdisc_iocb() 3353 for_each_sg(bsg_job->reply_payload.sg_list, sg, in qlafx00_fxdisc_iocb()
|
D | qla_isr.c | 2102 bsg_job->reply_payload.payload_len; in qla2x00_ct_entry() 2170 n = sg_copy_from_buffer(bsg_job->reply_payload.sg_list, in qla24xx_els_ct_entry() 2171 bsg_job->reply_payload.sg_cnt, in qla24xx_els_ct_entry() 2322 bsg_reply->reply_payload_rcv_len = bsg_job->reply_payload.payload_len; in qla24xx_els_ct_entry() 3030 bsg_job->reply_payload.payload_len; in qla25xx_process_bidir_status_iocb()
|
/Linux-v6.1/drivers/scsi/qla4xxx/ |
D | ql4_bsg.c | 44 length = bsg_job->reply_payload.payload_len; in qla4xxx_read_flash() 62 sg_copy_from_buffer(bsg_job->reply_payload.sg_list, in qla4xxx_read_flash() 63 bsg_job->reply_payload.sg_cnt, in qla4xxx_read_flash() 168 if (bsg_job->reply_payload.payload_len < sizeof(status)) { in qla4xxx_get_acb_state() 170 __func__, bsg_job->reply_payload.payload_len); in qla4xxx_get_acb_state() 186 sg_copy_from_buffer(bsg_job->reply_payload.sg_list, in qla4xxx_get_acb_state() 187 bsg_job->reply_payload.sg_cnt, in qla4xxx_get_acb_state() 228 len = bsg_job->reply_payload.payload_len; in qla4xxx_read_nvram() 257 sg_copy_from_buffer(bsg_job->reply_payload.sg_list, in qla4xxx_read_nvram() 258 bsg_job->reply_payload.sg_cnt, in qla4xxx_read_nvram() [all …]
|
/Linux-v6.1/drivers/scsi/libsas/ |
D | sas_host_smp.c | 234 job->reply_payload.payload_len < 8) in sas_smp_host_handler() 247 resp_data = kzalloc(max(job->reply_payload.payload_len, 128U), in sas_smp_host_handler() 343 sg_copy_from_buffer(job->reply_payload.sg_list, in sas_smp_host_handler() 344 job->reply_payload.sg_cnt, resp_data, in sas_smp_host_handler() 345 job->reply_payload.payload_len); in sas_smp_host_handler()
|
D | sas_expander.c | 2139 job->reply_payload.sg_cnt > 1) { in sas_smp_handler() 2142 job->reply_payload.payload_len); in sas_smp_handler() 2147 job->reply_payload.sg_list); in sas_smp_handler() 2150 rcvlen = job->reply_payload.payload_len - ret; in sas_smp_handler()
|
/Linux-v6.1/drivers/scsi/smartpqi/ |
D | smartpqi_sas_transport.c | 471 resp_size = job->reply_payload.payload_len; in pqi_build_csmi_smp_passthru_buffer() 495 job->reply_payload.sg_cnt, ¶meters->request, in pqi_build_csmi_smp_passthru_buffer() 505 sg_copy_from_buffer(job->reply_payload.sg_list, in pqi_build_sas_smp_handler_reply() 506 job->reply_payload.sg_cnt, &smp_buf->parameters.response, in pqi_build_sas_smp_handler_reply() 513 return job->reply_payload.payload_len - in pqi_build_sas_smp_handler_reply() 528 if (job->reply_payload.payload_len == 0) { in pqi_sas_smp_handler() 543 if (job->request_payload.sg_cnt > 1 || job->reply_payload.sg_cnt > 1) { in pqi_sas_smp_handler()
|
/Linux-v6.1/net/ethtool/ |
D | tunnels.c | 170 void *reply_payload; in ethnl_tunnel_info_doit() local 190 info, &reply_payload); in ethnl_tunnel_info_doit() 201 genlmsg_end(rskb, reply_payload); in ethnl_tunnel_info_doit()
|
D | features.c | 163 void *reply_payload; in features_send_reply() local 182 &reply_payload); in features_send_reply() 197 genlmsg_end(rskb, reply_payload); in features_send_reply()
|
D | netlink.c | 359 void *reply_payload; in ethnl_default_doit() local 395 ops->hdr_attr, info, &reply_payload); in ethnl_default_doit() 408 genlmsg_end(rskb, reply_payload); in ethnl_default_doit() 615 void *reply_payload; in ethnl_default_notify() local 647 reply_payload = ethnl_bcastmsg_put(skb, cmd); in ethnl_default_notify() 648 if (!reply_payload) in ethnl_default_notify() 659 genlmsg_end(skb, reply_payload); in ethnl_default_notify()
|
/Linux-v6.1/include/linux/ |
D | bsg-lib.h | 53 struct bsg_buffer reply_payload; member
|
/Linux-v6.1/block/ |
D | bsg-lib.c | 128 unsigned int rsp_len = job->reply_payload.payload_len; in bsg_transport_sg_io_fn() 164 kfree(job->reply_payload.sg_list); in bsg_teardown_job() 245 ret = bsg_map_buffer(&job->reply_payload, job->bidi_rq); in bsg_prepare_job()
|
/Linux-v6.1/drivers/scsi/lpfc/ |
D | lpfc_bsg.c | 351 lpfc_bsg_copy_data(rmp, &job->reply_payload, in lpfc_bsg_send_mgmt_cmd_cmp() 445 rmp = lpfc_alloc_bsg_buffers(phba, job->reply_payload.payload_len, 0, in lpfc_bsg_send_mgmt_cmd() 598 sg_copy_from_buffer(job->reply_payload.sg_list, in lpfc_bsg_rport_els_cmp() 599 job->reply_payload.sg_cnt, in lpfc_bsg_rport_els_cmp() 3065 job->reply_payload.payload_len) { in lpfc_bsg_diag_loopback_run() 3273 sg_copy_from_buffer(job->reply_payload.sg_list, in lpfc_bsg_diag_loopback_run() 3274 job->reply_payload.sg_cnt, in lpfc_bsg_diag_loopback_run() 3403 size = job->reply_payload.payload_len; in lpfc_bsg_issue_mbox_cmpl() 3405 sg_copy_from_buffer(job->reply_payload.sg_list, in lpfc_bsg_issue_mbox_cmpl() 3406 job->reply_payload.sg_cnt, in lpfc_bsg_issue_mbox_cmpl() [all …]
|
/Linux-v6.1/drivers/scsi/libfc/ |
D | fc_lport.c | 1994 job->reply_payload.payload_len) in fc_lport_bsg_resp() 1996 job->reply_payload.payload_len; in fc_lport_bsg_resp() 2055 info->nents = job->reply_payload.sg_cnt; in fc_lport_els_request() 2056 info->sg = job->reply_payload.sg_list; in fc_lport_els_request() 2115 info->nents = job->reply_payload.sg_cnt; in fc_lport_ct_request() 2116 info->sg = job->reply_payload.sg_list; in fc_lport_ct_request()
|
/Linux-v6.1/drivers/scsi/mpi3mr/ |
D | mpi3mr_app.c | 1003 din_buf = kzalloc(job->reply_payload.payload_len, in mpi3mr_bsg_process_mpt_cmds() 1027 if (sgl_din_iter > (din_buf + job->reply_payload.payload_len)) { in mpi3mr_bsg_process_mpt_cmds() 1387 sg_copy_from_buffer(job->reply_payload.sg_list, in mpi3mr_bsg_process_mpt_cmds() 1388 job->reply_payload.sg_cnt, in mpi3mr_bsg_process_mpt_cmds() 1389 din_buf, job->reply_payload.payload_len); in mpi3mr_bsg_process_mpt_cmds()
|
D | mpi3mr_transport.c | 3227 rc = mpi3mr_map_smp_buffer(&mrioc->pdev->dev, &job->reply_payload, in mpi3mr_transport_smp_handler() 3266 sg_copy_from_buffer(job->reply_payload.sg_list, in mpi3mr_transport_smp_handler() 3267 job->reply_payload.sg_cnt, addr_in, in mpi3mr_transport_smp_handler() 3268 job->reply_payload.payload_len); in mpi3mr_transport_smp_handler() 3272 mpi3mr_unmap_smp_buffer(&mrioc->pdev->dev, &job->reply_payload, in mpi3mr_transport_smp_handler()
|
/Linux-v6.1/drivers/scsi/bfa/ |
D | bfad_bsg.c | 3153 sg_copy_from_buffer(job->reply_payload.sg_list, in bfad_im_bsg_vendor_request() 3154 job->reply_payload.sg_cnt, in bfad_im_bsg_vendor_request() 3156 job->reply_payload.payload_len); in bfad_im_bsg_vendor_request() 3162 job->reply_len = job->reply_payload.payload_len; in bfad_im_bsg_vendor_request() 3163 bsg_reply->reply_payload_rcv_len = job->reply_payload.payload_len; in bfad_im_bsg_vendor_request() 3334 job->reply_payload.payload_len, bsg_fcpt->tsecs); in bfad_fcxp_bsg_send() 3450 rsp_kbuf = kzalloc(job->reply_payload.payload_len, GFP_KERNEL); in bfad_im_bsg_els_ct_request() 3480 job->reply_payload.payload_len, in bfad_im_bsg_els_ct_request() 3520 sg_copy_from_buffer(job->reply_payload.sg_list, in bfad_im_bsg_els_ct_request() 3521 job->reply_payload.sg_cnt, in bfad_im_bsg_els_ct_request() [all …]
|
/Linux-v6.1/drivers/scsi/mpt3sas/ |
D | mpt3sas_transport.c | 2088 rc = _transport_map_smp_buffer(&ioc->pdev->dev, &job->reply_payload, in _transport_smp_handler() 2159 sg_copy_to_buffer(job->reply_payload.sg_list, in _transport_smp_handler() 2160 job->reply_payload.sg_cnt, addr_in, in _transport_smp_handler() 2161 job->reply_payload.payload_len); in _transport_smp_handler() 2166 _transport_unmap_smp_buffer(&ioc->pdev->dev, &job->reply_payload, in _transport_smp_handler()
|
/Linux-v6.1/drivers/s390/scsi/ |
D | zfcp_fc.c | 974 jr->reply_payload_rcv_len = job->reply_payload.payload_len; in zfcp_fc_ct_els_job_handler() 1083 ct_els->resp = job->reply_payload.sg_list; in zfcp_fc_exec_bsg_job()
|
/Linux-v6.1/drivers/scsi/ibmvscsi/ |
D | ibmvfc.c | 2190 rsp_seg = dma_map_sg(vhost->dev, job->reply_payload.sg_list, in ibmvfc_bsg_request() 2191 job->reply_payload.sg_cnt, DMA_FROM_DEVICE); in ibmvfc_bsg_request() 2230 mad->iu.rsp_len = cpu_to_be32(job->reply_payload.payload_len); in ibmvfc_bsg_request() 2236 mad->iu.rsp.va = cpu_to_be64(sg_dma_address(job->reply_payload.sg_list)); in ibmvfc_bsg_request() 2237 mad->iu.rsp.len = cpu_to_be32(sg_dma_len(job->reply_payload.sg_list)); in ibmvfc_bsg_request() 2269 dma_unmap_sg(vhost->dev, job->reply_payload.sg_list, in ibmvfc_bsg_request() 2270 job->reply_payload.sg_cnt, DMA_FROM_DEVICE); in ibmvfc_bsg_request()
|
/Linux-v6.1/drivers/message/fusion/ |
D | mptsas.c | 2255 job->reply_payload.sg_cnt > 1) { in mptsas_smp_handler() 2258 job->reply_payload.payload_len); in mptsas_smp_handler() 2320 if (!dma_map_sg(&ioc->pcidev->dev, job->reply_payload.sg_list, in mptsas_smp_handler() 2323 flagsLength |= sg_dma_len(job->reply_payload.sg_list) + 4; in mptsas_smp_handler() 2325 sg_dma_address(job->reply_payload.sg_list)); in mptsas_smp_handler() 2358 dma_unmap_sg(&ioc->pcidev->dev, job->reply_payload.sg_list, 1, in mptsas_smp_handler()
|
/Linux-v6.1/drivers/scsi/ |
D | scsi_transport_fc.c | 4110 (!job->reply_payload.payload_len)) { in fc_bsg_host_dispatch() 4120 (!job->reply_payload.payload_len)) { in fc_bsg_host_dispatch() 4200 (!job->reply_payload.payload_len)) { in fc_bsg_rport_dispatch()
|
D | scsi_transport_sas.c | 180 if (!job->reply_payload.payload_len) { in sas_smp_dispatch()
|