/Linux-v6.6/drivers/scsi/qla2xxx/ |
D | qla_bsg.c | 53 bsg_job->request_payload.sg_list, in qla2x00_bsg_sp_free() 54 bsg_job->request_payload.sg_cnt, DMA_TO_DEVICE); in qla2x00_bsg_sp_free() 68 dma_unmap_sg(&ha->pdev->dev, bsg_job->request_payload.sg_list, in qla2x00_bsg_sp_free() 69 bsg_job->request_payload.sg_cnt, DMA_TO_DEVICE); in qla2x00_bsg_sp_free() 214 len = bsg_job->request_payload.payload_len; in qla24xx_proc_fcp_prio_cfg_cmd() 234 sg_copy_to_buffer(bsg_job->request_payload.sg_list, in qla24xx_proc_fcp_prio_cfg_cmd() 235 bsg_job->request_payload.sg_cnt, ha->fcp_prio_cfg, in qla24xx_proc_fcp_prio_cfg_cmd() 320 if (bsg_job->request_payload.sg_cnt > 1 || in qla2x00_process_els() 325 bsg_job->request_payload.sg_cnt, in qla2x00_process_els() 370 dma_map_sg(&ha->pdev->dev, bsg_job->request_payload.sg_list, in qla2x00_process_els() [all …]
|
D | qla_edif.c | 545 sg_copy_to_buffer(bsg_job->request_payload.sg_list, in qla_edif_app_start() 546 bsg_job->request_payload.sg_cnt, &appstart, in qla_edif_app_start() 677 sg_copy_to_buffer(bsg_job->request_payload.sg_list, in qla_edif_app_stop() 678 bsg_job->request_payload.sg_cnt, &appstop, in qla_edif_app_stop() 762 sg_copy_to_buffer(bsg_job->request_payload.sg_list, in qla_edif_app_authok() 763 bsg_job->request_payload.sg_cnt, &appplogiok, in qla_edif_app_authok() 877 sg_copy_to_buffer(bsg_job->request_payload.sg_list, in qla_edif_app_authfail() 878 bsg_job->request_payload.sg_cnt, &appplogifail, in qla_edif_app_authfail() 951 sg_copy_to_buffer(bsg_job->request_payload.sg_list, in qla_edif_app_getfcinfo() 952 bsg_job->request_payload.sg_cnt, &app_req, in qla_edif_app_getfcinfo() [all …]
|
D | qla_iocb.c | 3170 els_iocb->tx_dsd_count = cpu_to_le16(bsg_job->request_payload.sg_cnt); in qla24xx_els_iocb() 3186 cpu_to_le32(bsg_job->request_payload.payload_len); in qla24xx_els_iocb() 3188 put_unaligned_le64(sg_dma_address(bsg_job->request_payload.sg_list), in qla24xx_els_iocb() 3191 (bsg_job->request_payload.sg_list)); in qla24xx_els_iocb() 3223 cpu_to_le16(bsg_job->request_payload.sg_cnt); in qla2x00_ct_iocb() 3225 cpu_to_le16(bsg_job->request_payload.sg_cnt + 1); in qla2x00_ct_iocb() 3227 cpu_to_le32(bsg_job->request_payload.payload_len); in qla2x00_ct_iocb() 3231 put_unaligned_le64(sg_dma_address(bsg_job->request_payload.sg_list), in qla2x00_ct_iocb() 3291 cmd_dsds = bsg_job->request_payload.sg_cnt; in qla24xx_ct_iocb() 3298 cpu_to_le32(bsg_job->request_payload.payload_len); in qla24xx_ct_iocb() [all …]
|
D | qla_mr.c | 3292 cpu_to_le16(bsg_job->request_payload.sg_cnt); in qlafx00_fxdisc_iocb() 3294 bsg_job->request_payload.sg_cnt; in qlafx00_fxdisc_iocb() 3297 for_each_sg(bsg_job->request_payload.sg_list, sg, in qlafx00_fxdisc_iocb()
|
/Linux-v6.6/drivers/scsi/libsas/ |
D | sas_host_smp.c | 233 if (job->request_payload.payload_len < 8 || in sas_smp_host_handler() 238 req_data = kzalloc(job->request_payload.payload_len, GFP_KERNEL); in sas_smp_host_handler() 241 sg_copy_to_buffer(job->request_payload.sg_list, in sas_smp_host_handler() 242 job->request_payload.sg_cnt, req_data, in sas_smp_host_handler() 243 job->request_payload.payload_len); in sas_smp_host_handler() 282 if (job->request_payload.payload_len < 16) in sas_smp_host_handler() 294 if (job->request_payload.payload_len < 16) in sas_smp_host_handler() 309 if (job->request_payload.payload_len < in sas_smp_host_handler() 326 if (job->request_payload.payload_len < 44) in sas_smp_host_handler()
|
D | sas_expander.c | 2121 if (job->request_payload.sg_cnt > 1 || in sas_smp_handler() 2124 __func__, job->request_payload.payload_len, in sas_smp_handler() 2129 ret = smp_execute_task_sg(dev, job->request_payload.sg_list, in sas_smp_handler()
|
/Linux-v6.6/drivers/scsi/mpi3mr/ |
D | mpi3mr_app.c | 159 if (job->request_payload.payload_len >= sizeof(logdata_enable)) { in mpi3mr_enable_logdata() 160 sg_copy_from_buffer(job->request_payload.sg_list, in mpi3mr_enable_logdata() 161 job->request_payload.sg_cnt, in mpi3mr_enable_logdata() 182 if ((!mrioc->logdata_buf) || (job->request_payload.payload_len < entry_sz)) in mpi3mr_get_logdata() 185 num_entries = job->request_payload.payload_len / entry_sz; in mpi3mr_get_logdata() 190 if (job->request_payload.payload_len >= sz) { in mpi3mr_get_logdata() 191 sg_copy_from_buffer(job->request_payload.sg_list, in mpi3mr_get_logdata() 192 job->request_payload.sg_cnt, in mpi3mr_get_logdata() 220 if (job->request_payload.payload_len != sizeof(pel_enable)) { in mpi3mr_bsg_pel_enable() 226 sg_copy_to_buffer(job->request_payload.sg_list, in mpi3mr_bsg_pel_enable() [all …]
|
D | mpi3mr_transport.c | 3217 rc = mpi3mr_map_smp_buffer(&mrioc->pdev->dev, &job->request_payload, in mpi3mr_transport_smp_handler() 3223 sg_copy_to_buffer(job->request_payload.sg_list, in mpi3mr_transport_smp_handler() 3224 job->request_payload.sg_cnt, addr_out, in mpi3mr_transport_smp_handler() 3225 job->request_payload.payload_len); in mpi3mr_transport_smp_handler() 3275 mpi3mr_unmap_smp_buffer(&mrioc->pdev->dev, &job->request_payload, in mpi3mr_transport_smp_handler()
|
/Linux-v6.6/drivers/ufs/core/ |
D | ufs_bsg.c | 47 if (*desc_len > job->request_payload.payload_len) { in ufs_bsg_alloc_desc_buffer() 57 sg_copy_to_buffer(job->request_payload.sg_list, in ufs_bsg_alloc_desc_buffer() 58 job->request_payload.sg_cnt, descp, in ufs_bsg_alloc_desc_buffer() 107 payload = &job->request_payload; in ufs_bsg_exec_advanced_rpmb_req() 166 sg_copy_from_buffer(job->request_payload.sg_list, in ufs_bsg_request() 167 job->request_payload.sg_cnt, in ufs_bsg_request()
|
/Linux-v6.6/include/linux/ |
D | bsg-lib.h | 52 struct bsg_buffer request_payload; member
|
/Linux-v6.6/block/ |
D | bsg-lib.c | 163 kfree(job->request_payload.sg_list); in bsg_teardown_job() 240 ret = bsg_map_buffer(&job->request_payload, req); in bsg_prepare_job() 256 kfree(job->request_payload.sg_list); in bsg_prepare_job()
|
/Linux-v6.6/drivers/scsi/qla4xxx/ |
D | ql4_bsg.c | 109 length = bsg_job->request_payload.payload_len; in qla4xxx_update_flash() 122 sg_copy_to_buffer(bsg_job->request_payload.sg_list, in qla4xxx_update_flash() 123 bsg_job->request_payload.sg_cnt, flash, length); in qla4xxx_update_flash() 299 len = bsg_job->request_payload.payload_len; in qla4xxx_update_nvram() 321 sg_copy_to_buffer(bsg_job->request_payload.sg_list, in qla4xxx_update_nvram() 322 bsg_job->request_payload.sg_cnt, nvram, len); in qla4xxx_update_nvram()
|
/Linux-v6.6/drivers/scsi/lpfc/ |
D | lpfc_bsg.c | 434 cmp = lpfc_alloc_bsg_buffers(phba, job->request_payload.payload_len, in lpfc_bsg_send_mgmt_cmd() 440 lpfc_bsg_copy_data(cmp, &job->request_payload, in lpfc_bsg_send_mgmt_cmd() 441 job->request_payload.payload_len, 1); in lpfc_bsg_send_mgmt_cmd() 666 if (job->request_payload.payload_len > FCELSSIZE) { in lpfc_bsg_rport_els() 681 cmdsize = job->request_payload.payload_len; in lpfc_bsg_rport_els() 701 sg_copy_to_buffer(job->request_payload.sg_list, in lpfc_bsg_rport_els() 702 job->request_payload.sg_cnt, in lpfc_bsg_rport_els() 1300 if (evt_dat->len > job->request_payload.payload_len) { in lpfc_bsg_hba_get_event() 1301 evt_dat->len = job->request_payload.payload_len; in lpfc_bsg_hba_get_event() 1305 job->request_payload.payload_len); in lpfc_bsg_hba_get_event() [all …]
|
/Linux-v6.6/drivers/scsi/smartpqi/ |
D | smartpqi_sas_transport.c | 470 req_size = job->request_payload.payload_len; in pqi_build_csmi_smp_passthru_buffer() 494 sg_copy_to_buffer(job->request_payload.sg_list, in pqi_build_csmi_smp_passthru_buffer() 543 if (job->request_payload.sg_cnt > 1 || job->reply_payload.sg_cnt > 1) { in pqi_sas_smp_handler()
|
/Linux-v6.6/drivers/scsi/libfc/ |
D | fc_lport.c | 2025 fp = fc_frame_alloc(lport, job->request_payload.payload_len); in fc_lport_els_request() 2029 len = job->request_payload.payload_len; in fc_lport_els_request() 2032 sg_copy_to_buffer(job->request_payload.sg_list, in fc_lport_els_request() 2033 job->request_payload.sg_cnt, in fc_lport_els_request() 2085 job->request_payload.payload_len); in fc_lport_ct_request() 2089 len = job->request_payload.payload_len; in fc_lport_ct_request() 2092 sg_copy_to_buffer(job->request_payload.sg_list, in fc_lport_ct_request() 2093 job->request_payload.sg_cnt, in fc_lport_ct_request()
|
/Linux-v6.6/drivers/scsi/bfa/ |
D | bfad_bsg.c | 3164 payload_kbuf = kzalloc(job->request_payload.payload_len, GFP_KERNEL); in bfad_im_bsg_vendor_request() 3171 sg_copy_to_buffer(job->request_payload.sg_list, in bfad_im_bsg_vendor_request() 3172 job->request_payload.sg_cnt, payload_kbuf, in bfad_im_bsg_vendor_request() 3173 job->request_payload.payload_len); in bfad_im_bsg_vendor_request() 3177 job->request_payload.payload_len); in bfad_im_bsg_vendor_request() 3361 job->request_payload.payload_len, in bfad_fcxp_bsg_send() 3471 req_kbuf = kzalloc(job->request_payload.payload_len, GFP_KERNEL); in bfad_im_bsg_els_ct_request() 3488 sg_copy_to_buffer(job->request_payload.sg_list, in bfad_im_bsg_els_ct_request() 3489 job->request_payload.sg_cnt, req_kbuf, in bfad_im_bsg_els_ct_request() 3490 job->request_payload.payload_len); in bfad_im_bsg_els_ct_request() [all …]
|
/Linux-v6.6/drivers/scsi/be2iscsi/ |
D | be_mgmt.c | 45 nonemb_cmd->size = job->request_payload.payload_len; in mgmt_vendor_specific_fw_cmd() 62 sg_copy_to_buffer(job->request_payload.sg_list, in mgmt_vendor_specific_fw_cmd() 63 job->request_payload.sg_cnt, in mgmt_vendor_specific_fw_cmd() 87 job->request_payload.sg_cnt); in mgmt_vendor_specific_fw_cmd()
|
D | be_main.c | 4829 job->request_payload.payload_len, in beiscsi_bsg_request()
|
/Linux-v6.6/drivers/scsi/mpt3sas/ |
D | mpt3sas_transport.c | 2090 rc = _transport_map_smp_buffer(&ioc->pdev->dev, &job->request_payload, in _transport_smp_handler() 2095 sg_copy_to_buffer(job->request_payload.sg_list, in _transport_smp_handler() 2096 job->request_payload.sg_cnt, addr_out, in _transport_smp_handler() 2097 job->request_payload.payload_len); in _transport_smp_handler() 2181 _transport_unmap_smp_buffer(&ioc->pdev->dev, &job->request_payload, in _transport_smp_handler()
|
/Linux-v6.6/drivers/scsi/ibmvscsi/ |
D | ibmvfc.c | 2182 req_seg = dma_map_sg(vhost->dev, job->request_payload.sg_list, in ibmvfc_bsg_request() 2183 job->request_payload.sg_cnt, DMA_TO_DEVICE); in ibmvfc_bsg_request() 2194 dma_unmap_sg(vhost->dev, job->request_payload.sg_list, in ibmvfc_bsg_request() 2195 job->request_payload.sg_cnt, DMA_TO_DEVICE); in ibmvfc_bsg_request() 2229 mad->iu.cmd_len = cpu_to_be32(job->request_payload.payload_len); in ibmvfc_bsg_request() 2234 mad->iu.cmd.va = cpu_to_be64(sg_dma_address(job->request_payload.sg_list)); in ibmvfc_bsg_request() 2235 mad->iu.cmd.len = cpu_to_be32(sg_dma_len(job->request_payload.sg_list)); in ibmvfc_bsg_request() 2267 dma_unmap_sg(vhost->dev, job->request_payload.sg_list, in ibmvfc_bsg_request() 2268 job->request_payload.sg_cnt, DMA_TO_DEVICE); in ibmvfc_bsg_request()
|
/Linux-v6.6/drivers/message/fusion/ |
D | mptsas.c | 2254 if (job->request_payload.sg_cnt > 1 || in mptsas_smp_handler() 2257 ioc->name, __func__, job->request_payload.payload_len, in mptsas_smp_handler() 2276 cpu_to_le16(job->request_payload.payload_len - 4); in mptsas_smp_handler() 2303 if (!dma_map_sg(&ioc->pcidev->dev, job->request_payload.sg_list, in mptsas_smp_handler() 2307 flagsLength |= (sg_dma_len(job->request_payload.sg_list) - 4); in mptsas_smp_handler() 2309 sg_dma_address(job->request_payload.sg_list)); in mptsas_smp_handler() 2361 dma_unmap_sg(&ioc->pcidev->dev, job->request_payload.sg_list, 1, in mptsas_smp_handler()
|
/Linux-v6.6/drivers/s390/scsi/ |
D | zfcp_fc.c | 1078 ct_els->req = job->request_payload.sg_list; in zfcp_fc_exec_bsg_job()
|
/Linux-v6.6/drivers/scsi/ |
D | scsi_transport_fc.c | 4111 if ((!job->request_payload.payload_len) || in fc_bsg_host_dispatch() 4121 if ((!job->request_payload.payload_len) || in fc_bsg_host_dispatch() 4201 if ((!job->request_payload.payload_len) || in fc_bsg_rport_dispatch()
|