/linux/drivers/scsi/qla2xxx/ |
A D | qla_bsg.c | 52 bsg_job->request_payload.sg_list, in qla2x00_bsg_sp_free() 320 bsg_job->request_payload.sg_cnt, in qla2x00_process_els() 762 bsg_job->request_payload.sg_list, bsg_job->request_payload.sg_cnt, in qla2x00_process_loopback() 967 bsg_job->request_payload.sg_list, in qla2x00_process_loopback() 1208 bsg_job->request_payload.sg_list, in qla84xx_mgmt_cmd() 1890 bsg_job->request_payload.sg_list, in qla24xx_process_bidir_cmd() 1891 bsg_job->request_payload.sg_cnt, in qla24xx_process_bidir_cmd() 1962 bsg_job->request_payload.sg_list, in qla24xx_process_bidir_cmd() 2010 bsg_job->request_payload.sg_list, in qlafx00_mgmt_cmd() 2095 bsg_job->request_payload.sg_list, in qlafx00_mgmt_cmd() [all …]
|
A D | qla_edif.c | 478 sg_copy_to_buffer(bsg_job->request_payload.sg_list, in qla_edif_app_start() 479 bsg_job->request_payload.sg_cnt, &appstart, in qla_edif_app_start() 578 sg_copy_to_buffer(bsg_job->request_payload.sg_list, in qla_edif_app_stop() 579 bsg_job->request_payload.sg_cnt, &appstop, in qla_edif_app_stop() 667 sg_copy_to_buffer(bsg_job->request_payload.sg_list, in qla_edif_app_authok() 668 bsg_job->request_payload.sg_cnt, &appplogiok, in qla_edif_app_authok() 846 bsg_job->request_payload.sg_cnt, &app_req, in qla_edif_app_getfcinfo() 953 bsg_job->request_payload.sg_cnt, &app_req, in qla_edif_app_getstats() 1022 bsg_job->request_payload.sg_cnt, &appcheck, in qla_edif_app_mgmt() 1261 bsg_job->request_payload.sg_cnt, &sa_frame, in qla24xx_sadb_update() [all …]
|
A D | qla_iocb.c | 3141 cpu_to_le32(bsg_job->request_payload.payload_len); in qla24xx_els_iocb() 3143 put_unaligned_le64(sg_dma_address(bsg_job->request_payload.sg_list), in qla24xx_els_iocb() 3146 (bsg_job->request_payload.sg_list)); in qla24xx_els_iocb() 3178 cpu_to_le16(bsg_job->request_payload.sg_cnt); in qla2x00_ct_iocb() 3180 cpu_to_le16(bsg_job->request_payload.sg_cnt + 1); in qla2x00_ct_iocb() 3182 cpu_to_le32(bsg_job->request_payload.payload_len); in qla2x00_ct_iocb() 3246 cmd_dsds = bsg_job->request_payload.sg_cnt; in qla24xx_ct_iocb() 3253 cpu_to_le32(bsg_job->request_payload.payload_len); in qla24xx_ct_iocb() 3917 req_data_len = rsp_data_len = bsg_job->request_payload.payload_len; in qla25xx_build_bidir_iocb() 3936 for_each_sg(bsg_job->request_payload.sg_list, sg, in qla25xx_build_bidir_iocb() [all …]
|
A D | qla_mr.c | 3291 cpu_to_le16(bsg_job->request_payload.sg_cnt); in qlafx00_fxdisc_iocb() 3293 bsg_job->request_payload.sg_cnt; in qlafx00_fxdisc_iocb() 3296 for_each_sg(bsg_job->request_payload.sg_list, sg, in qlafx00_fxdisc_iocb()
|
/linux/drivers/scsi/libsas/ |
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()
|
A D | sas_expander.c | 2164 if (job->request_payload.sg_cnt > 1 || in sas_smp_handler() 2167 __func__, job->request_payload.payload_len, in sas_smp_handler() 2172 ret = smp_execute_task_sg(dev, job->request_payload.sg_list, in sas_smp_handler()
|
/linux/drivers/scsi/ufs/ |
A D | ufs_bsg.c | 60 if (*desc_len > job->request_payload.payload_len) { in ufs_bsg_alloc_desc_buffer() 70 sg_copy_to_buffer(job->request_payload.sg_list, in ufs_bsg_alloc_desc_buffer() 71 job->request_payload.sg_cnt, descp, in ufs_bsg_alloc_desc_buffer() 148 sg_copy_from_buffer(job->request_payload.sg_list, in ufs_bsg_request() 149 job->request_payload.sg_cnt, in ufs_bsg_request()
|
/linux/drivers/scsi/qla4xxx/ |
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()
|
/linux/drivers/scsi/lpfc/ |
A D | lpfc_bsg.c | 453 job->request_payload.payload_len, 1); in lpfc_bsg_send_mgmt_cmd() 697 cmdsize = job->request_payload.payload_len; in lpfc_bsg_rport_els() 719 job->request_payload.sg_cnt, in lpfc_bsg_rport_els() 1321 job->request_payload.payload_len); in lpfc_bsg_hba_get_event() 1329 job->request_payload.sg_cnt, in lpfc_bsg_hba_get_event() 3124 if (job->request_payload.payload_len != in lpfc_bsg_diag_loopback_run() 3142 size = job->request_payload.payload_len; in lpfc_bsg_diag_loopback_run() 3175 job->request_payload.sg_cnt, in lpfc_bsg_diag_loopback_run() 4479 size = job->request_payload.payload_len; in lpfc_bsg_write_ebuf_set() 4481 job->request_payload.sg_cnt, in lpfc_bsg_write_ebuf_set() [all …]
|
/linux/block/ |
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()
|
/linux/include/linux/ |
A D | bsg-lib.h | 53 struct bsg_buffer request_payload; member
|
/linux/drivers/scsi/smartpqi/ |
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()
|
/linux/drivers/scsi/libfc/ |
A 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/drivers/scsi/bfa/ |
A D | bfad_bsg.c | 3135 payload_kbuf = kzalloc(job->request_payload.payload_len, GFP_KERNEL); in bfad_im_bsg_vendor_request() 3142 sg_copy_to_buffer(job->request_payload.sg_list, in bfad_im_bsg_vendor_request() 3143 job->request_payload.sg_cnt, payload_kbuf, in bfad_im_bsg_vendor_request() 3144 job->request_payload.payload_len); in bfad_im_bsg_vendor_request() 3148 job->request_payload.payload_len); in bfad_im_bsg_vendor_request() 3332 job->request_payload.payload_len, in bfad_fcxp_bsg_send() 3442 req_kbuf = kzalloc(job->request_payload.payload_len, GFP_KERNEL); in bfad_im_bsg_els_ct_request() 3459 sg_copy_to_buffer(job->request_payload.sg_list, in bfad_im_bsg_els_ct_request() 3460 job->request_payload.sg_cnt, req_kbuf, in bfad_im_bsg_els_ct_request() 3461 job->request_payload.payload_len); in bfad_im_bsg_els_ct_request() [all …]
|
/linux/drivers/scsi/be2iscsi/ |
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()
|
A D | be_main.c | 4813 job->request_payload.payload_len, in beiscsi_bsg_request()
|
/linux/drivers/scsi/mpt3sas/ |
A D | mpt3sas_transport.c | 2078 rc = _transport_map_smp_buffer(&ioc->pdev->dev, &job->request_payload, in _transport_smp_handler() 2083 sg_copy_to_buffer(job->request_payload.sg_list, in _transport_smp_handler() 2084 job->request_payload.sg_cnt, addr_out, in _transport_smp_handler() 2085 job->request_payload.payload_len); in _transport_smp_handler() 2169 _transport_unmap_smp_buffer(&ioc->pdev->dev, &job->request_payload, in _transport_smp_handler()
|
/linux/drivers/scsi/ibmvscsi/ |
A D | ibmvfc.c | 2177 req_seg = dma_map_sg(vhost->dev, job->request_payload.sg_list, in ibmvfc_bsg_request() 2178 job->request_payload.sg_cnt, DMA_TO_DEVICE); in ibmvfc_bsg_request() 2189 dma_unmap_sg(vhost->dev, job->request_payload.sg_list, in ibmvfc_bsg_request() 2190 job->request_payload.sg_cnt, DMA_TO_DEVICE); in ibmvfc_bsg_request() 2224 mad->iu.cmd_len = cpu_to_be32(job->request_payload.payload_len); in ibmvfc_bsg_request() 2229 mad->iu.cmd.va = cpu_to_be64(sg_dma_address(job->request_payload.sg_list)); in ibmvfc_bsg_request() 2230 mad->iu.cmd.len = cpu_to_be32(sg_dma_len(job->request_payload.sg_list)); in ibmvfc_bsg_request() 2262 dma_unmap_sg(vhost->dev, job->request_payload.sg_list, in ibmvfc_bsg_request() 2263 job->request_payload.sg_cnt, DMA_TO_DEVICE); in ibmvfc_bsg_request()
|
/linux/drivers/message/fusion/ |
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()
|
/linux/drivers/s390/scsi/ |
A D | zfcp_fc.c | 1060 ct_els->req = job->request_payload.sg_list; in zfcp_fc_exec_bsg_job()
|
/linux/drivers/scsi/ |
A D | scsi_transport_fc.c | 4114 if ((!job->request_payload.payload_len) || in fc_bsg_host_dispatch() 4124 if ((!job->request_payload.payload_len) || in fc_bsg_host_dispatch() 4204 if ((!job->request_payload.payload_len) || in fc_bsg_rport_dispatch()
|