Home
last modified time | relevance | path

Searched refs:request_payload (Results 1 – 23 of 23) sorted by relevance

/openbmc/linux/drivers/scsi/qla2xxx/
H A Dqla_bsg.c53 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 Dqla_edif.c545 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 Dqla_iocb.c3206 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 Dqla_mr.c3292 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 Dsas_host_smp.c233 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 Dsas_expander.c2137 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 Dmpi3mr_app.c161 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 Dmpi3mr_transport.c3227 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 Dufs_bsg.c47 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 Dbsg-lib.h52 struct bsg_buffer request_payload; member
/openbmc/linux/block/
H A Dbsg-lib.c163 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 Dql4_bsg.c109 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 Dlpfc_bsg.c441 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 Dsmartpqi_sas_transport.c470 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 Dfc_lport.c2031 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 Dbfad_bsg.c3161 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 Dbe_mgmt.c45 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 Dbe_main.c4830 job->request_payload.payload_len, in beiscsi_bsg_request()
/openbmc/linux/drivers/scsi/mpt3sas/
H A Dmpt3sas_transport.c2090 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 Dibmvfc.c2200 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 Dmptsas.c2254 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 Dzfcp_fc.c1078 ct_els->req = job->request_payload.sg_list; in zfcp_fc_exec_bsg_job()
/openbmc/linux/drivers/scsi/
H A Dscsi_transport_fc.c4111 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()