/openbmc/linux/drivers/scsi/qla2xxx/ |
H A D | qla_bsg.c | 53 bsg_job->request_payload.sg_list, in qla2x00_bsg_sp_free() 325 bsg_job->request_payload.sg_cnt, in qla2x00_process_els() 768 bsg_job->request_payload.sg_list, bsg_job->request_payload.sg_cnt, in qla2x00_process_loopback() 973 bsg_job->request_payload.sg_list, in qla2x00_process_loopback() 1214 bsg_job->request_payload.sg_list, in qla84xx_mgmt_cmd() 1896 bsg_job->request_payload.sg_list, in qla24xx_process_bidir_cmd() 1897 bsg_job->request_payload.sg_cnt, in qla24xx_process_bidir_cmd() 1968 bsg_job->request_payload.sg_list, in qla24xx_process_bidir_cmd() 2016 bsg_job->request_payload.sg_list, in qlafx00_mgmt_cmd() 2101 bsg_job->request_payload.sg_list, in qlafx00_mgmt_cmd() [all …]
|
H A 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() 952 bsg_job->request_payload.sg_cnt, &app_req, in qla_edif_app_getfcinfo() 1079 bsg_job->request_payload.sg_cnt, &app_req, in qla_edif_app_getstats() 1313 bsg_job->request_payload.sg_cnt, &appcheck, in qla_edif_app_mgmt() 1562 bsg_job->request_payload.sg_cnt, &sa_frame, in qla24xx_sadb_update() [all …]
|
H A D | qla_iocb.c | 3206 cpu_to_le32(bsg_job->request_payload.payload_len); in qla24xx_els_iocb() 3208 put_unaligned_le64(sg_dma_address(bsg_job->request_payload.sg_list), in qla24xx_els_iocb() 3211 (bsg_job->request_payload.sg_list)); in qla24xx_els_iocb() 3243 cpu_to_le16(bsg_job->request_payload.sg_cnt); in qla2x00_ct_iocb() 3245 cpu_to_le16(bsg_job->request_payload.sg_cnt + 1); in qla2x00_ct_iocb() 3247 cpu_to_le32(bsg_job->request_payload.payload_len); in qla2x00_ct_iocb() 3311 cmd_dsds = bsg_job->request_payload.sg_cnt; in qla24xx_ct_iocb() 3318 cpu_to_le32(bsg_job->request_payload.payload_len); in qla24xx_ct_iocb() 4075 req_data_len = rsp_data_len = bsg_job->request_payload.payload_len; in qla25xx_build_bidir_iocb() 4094 for_each_sg(bsg_job->request_payload.sg_list, sg, in qla25xx_build_bidir_iocb() [all …]
|
H A 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()
|
/openbmc/linux/drivers/scsi/libsas/ |
H A 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()
|
H A D | sas_expander.c | 2137 if (job->request_payload.sg_cnt > 1 || in sas_smp_handler() 2140 __func__, job->request_payload.payload_len, in sas_smp_handler() 2145 ret = smp_execute_task_sg(dev, job->request_payload.sg_list, in sas_smp_handler()
|
/openbmc/linux/drivers/scsi/mpi3mr/ |
H A D | mpi3mr_app.c | 161 job->request_payload.sg_cnt, in mpi3mr_enable_logdata() 190 if (job->request_payload.payload_len >= sz) { in mpi3mr_get_logdata() 192 job->request_payload.sg_cnt, in mpi3mr_get_logdata() 243 job->request_payload.sg_cnt, in mpi3mr_bsg_pel_enable() 333 job->request_payload.sg_cnt, in mpi3mr_get_all_tgt_info() 370 job->request_payload.sg_cnt, in mpi3mr_get_all_tgt_info() 395 job->request_payload.sg_cnt, in mpi3mr_get_change_count() 420 if (job->request_payload.payload_len != in mpi3mr_bsg_adp_reset() 428 job->request_payload.sg_cnt, in mpi3mr_bsg_adp_reset() 498 job->request_payload.sg_cnt, in mpi3mr_bsg_populate_adpinfo() [all …]
|
H A D | mpi3mr_transport.c | 3227 rc = mpi3mr_map_smp_buffer(&mrioc->pdev->dev, &job->request_payload, in mpi3mr_transport_smp_handler() 3233 sg_copy_to_buffer(job->request_payload.sg_list, in mpi3mr_transport_smp_handler() 3234 job->request_payload.sg_cnt, addr_out, in mpi3mr_transport_smp_handler() 3235 job->request_payload.payload_len); in mpi3mr_transport_smp_handler() 3285 mpi3mr_unmap_smp_buffer(&mrioc->pdev->dev, &job->request_payload, in mpi3mr_transport_smp_handler()
|
/openbmc/linux/drivers/ufs/core/ |
H A 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()
|
/openbmc/linux/include/linux/ |
H A D | bsg-lib.h | 52 struct bsg_buffer request_payload; member
|
/openbmc/linux/block/ |
H A 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()
|
/openbmc/linux/drivers/scsi/qla4xxx/ |
H A 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()
|
/openbmc/linux/drivers/scsi/lpfc/ |
H A D | lpfc_bsg.c | 441 job->request_payload.payload_len, 1); in lpfc_bsg_send_mgmt_cmd() 681 cmdsize = job->request_payload.payload_len; in lpfc_bsg_rport_els() 702 job->request_payload.sg_cnt, in lpfc_bsg_rport_els() 1305 job->request_payload.payload_len); in lpfc_bsg_hba_get_event() 1313 job->request_payload.sg_cnt, in lpfc_bsg_hba_get_event() 3064 if (job->request_payload.payload_len != in lpfc_bsg_diag_loopback_run() 3082 size = job->request_payload.payload_len; in lpfc_bsg_diag_loopback_run() 3115 job->request_payload.sg_cnt, in lpfc_bsg_diag_loopback_run() 4404 size = job->request_payload.payload_len; in lpfc_bsg_write_ebuf_set() 4406 job->request_payload.sg_cnt, in lpfc_bsg_write_ebuf_set() [all …]
|
/openbmc/linux/drivers/scsi/smartpqi/ |
H A 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()
|
/openbmc/linux/drivers/scsi/libfc/ |
H A D | fc_lport.c | 2031 fp = fc_frame_alloc(lport, job->request_payload.payload_len); in fc_lport_els_request() 2035 len = job->request_payload.payload_len; in fc_lport_els_request() 2038 sg_copy_to_buffer(job->request_payload.sg_list, in fc_lport_els_request() 2039 job->request_payload.sg_cnt, in fc_lport_els_request() 2091 job->request_payload.payload_len); in fc_lport_ct_request() 2095 len = job->request_payload.payload_len; in fc_lport_ct_request() 2098 sg_copy_to_buffer(job->request_payload.sg_list, in fc_lport_ct_request() 2099 job->request_payload.sg_cnt, in fc_lport_ct_request()
|
/openbmc/linux/drivers/scsi/bfa/ |
H A D | bfad_bsg.c | 3161 payload_kbuf = kzalloc(job->request_payload.payload_len, GFP_KERNEL); in bfad_im_bsg_vendor_request() 3168 sg_copy_to_buffer(job->request_payload.sg_list, in bfad_im_bsg_vendor_request() 3169 job->request_payload.sg_cnt, payload_kbuf, in bfad_im_bsg_vendor_request() 3170 job->request_payload.payload_len); in bfad_im_bsg_vendor_request() 3174 job->request_payload.payload_len); in bfad_im_bsg_vendor_request() 3358 job->request_payload.payload_len, in bfad_fcxp_bsg_send() 3468 req_kbuf = kzalloc(job->request_payload.payload_len, GFP_KERNEL); in bfad_im_bsg_els_ct_request() 3485 sg_copy_to_buffer(job->request_payload.sg_list, in bfad_im_bsg_els_ct_request() 3486 job->request_payload.sg_cnt, req_kbuf, in bfad_im_bsg_els_ct_request() 3487 job->request_payload.payload_len); in bfad_im_bsg_els_ct_request() [all …]
|
/openbmc/linux/drivers/scsi/be2iscsi/ |
H A 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()
|
H A D | be_main.c | 4830 job->request_payload.payload_len, in beiscsi_bsg_request()
|
/openbmc/linux/drivers/scsi/mpt3sas/ |
H A 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()
|
/openbmc/linux/drivers/scsi/ibmvscsi/ |
H A D | ibmvfc.c | 2200 req_seg = dma_map_sg(vhost->dev, job->request_payload.sg_list, in ibmvfc_bsg_request() 2201 job->request_payload.sg_cnt, DMA_TO_DEVICE); in ibmvfc_bsg_request() 2212 dma_unmap_sg(vhost->dev, job->request_payload.sg_list, in ibmvfc_bsg_request() 2213 job->request_payload.sg_cnt, DMA_TO_DEVICE); in ibmvfc_bsg_request() 2252 mad->iu.cmd_len = cpu_to_be32(job->request_payload.payload_len); in ibmvfc_bsg_request() 2257 mad->iu.cmd.va = cpu_to_be64(sg_dma_address(job->request_payload.sg_list)); in ibmvfc_bsg_request() 2258 mad->iu.cmd.len = cpu_to_be32(sg_dma_len(job->request_payload.sg_list)); in ibmvfc_bsg_request() 2290 dma_unmap_sg(vhost->dev, job->request_payload.sg_list, in ibmvfc_bsg_request() 2291 job->request_payload.sg_cnt, DMA_TO_DEVICE); in ibmvfc_bsg_request()
|
/openbmc/linux/drivers/message/fusion/ |
H A 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()
|
/openbmc/linux/drivers/s390/scsi/ |
H A D | zfcp_fc.c | 1078 ct_els->req = job->request_payload.sg_list; in zfcp_fc_exec_bsg_job()
|
/openbmc/linux/drivers/scsi/ |
H A 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()
|