| /linux/drivers/scsi/ |
| H A D | scsi_lib_dma.c | 30 nseg = dma_map_sg(dev, scsi_sglist(cmd), scsi_sg_count(cmd), in scsi_dma_map() 48 dma_unmap_sg(dev, scsi_sglist(cmd), scsi_sg_count(cmd), in scsi_dma_unmap()
|
| H A D | mvumi.c | 198 *sg_count = dma_map_sg(&mhba->pdev->dev, scsi_sglist(scmd), sgnum, in mvumi_make_sgl() 204 dma_unmap_sg(&mhba->pdev->dev, scsi_sglist(scmd), sgnum, in mvumi_make_sgl() 1328 dma_unmap_sg(&mhba->pdev->dev, scsi_sglist(scmd), in mvumi_complete_cmd() 2133 dma_unmap_sg(&mhba->pdev->dev, scsi_sglist(scmd), in mvumi_timed_out()
|
| H A D | mac53c94.c | 81 scsi_sg_count(cmd), scsi_bufflen(cmd), scsi_sglist(cmd)); in mac53c94_queue_lck()
|
| H A D | ips.c | 1073 pt = (ips_passthru_t *) scsi_sglist(SC); in ips_queue_lck() 1481 (SC->device->lun == 0) && scsi_sglist(SC)) { in ips_is_passthru() 1482 struct scatterlist *sg = scsi_sglist(SC); in ips_is_passthru() 1548 struct scatterlist *sg = scsi_sglist(SC); in ips_make_passthru() 1977 if ((!scb) || (!scb->scsi_cmd) || (!scsi_sglist(scb->scsi_cmd))) { in ips_cleanup_passthru() 3149 sg = scsi_sglist(scb->scsi_cmd); in ips_done()
|
| H A D | ppa.c | 771 scsi_pointer->buffer = scsi_sglist(cmd); in ppa_engine()
|
| H A D | megaraid.c | 665 sg = scsi_sglist(cmd); in mega_build_cmd() 1553 sgl = scsi_sglist(cmd); in mega_cmd_done() 1733 sg = scsi_sglist(cmd); in mega_build_sglist()
|
| H A D | imm.c | 841 scsi_pointer->buffer = scsi_sglist(cmd); in imm_engine()
|
| H A D | vmw_pvscsi.c | 360 sg = scsi_sglist(cmd); in pvscsi_map_buffers()
|
| /linux/include/scsi/ |
| H A D | scsi_cmnd.h | 186 static inline struct scatterlist *scsi_sglist(struct scsi_cmnd *cmd) in scsi_sglist() function 207 for_each_sg(scsi_sglist(cmd), sg, nseg, __i) 212 return sg_copy_from_buffer(scsi_sglist(cmd), scsi_sg_count(cmd), in scsi_sg_copy_from_buffer() 219 return sg_copy_to_buffer(scsi_sglist(cmd), scsi_sg_count(cmd), in scsi_sg_copy_to_buffer()
|
| /linux/drivers/scsi/arm/ |
| H A D | arm_scsi.h | 97 scsi_pointer->buffer = scsi_sglist(SCpnt); in init_SCp()
|
| /linux/drivers/usb/storage/ |
| H A D | protocol.c | 133 sg = scsi_sglist(srb); in usb_stor_access_xfer_buf()
|
| H A D | shuttle_usbat.c | 1309 scsi_sglist(srb), in usbat_hp8200e_handle_read10() 1603 scsi_sglist(srb), in usbat_hp8200e_transport() 1670 result = usbat_read_block(us, scsi_sglist(srb), len, in usbat_hp8200e_transport()
|
| H A D | ene_ub6250.c | 707 result = ene_send_scsi_cmd(us, FDIR_READ, scsi_sglist(srb), 1); in sd_scsi_read() 747 result = ene_send_scsi_cmd(us, FDIR_WRITE, scsi_sglist(srb), 1); in sd_scsi_write() 1668 result = ene_send_scsi_cmd(us, FDIR_READ, scsi_sglist(srb), 1); in ms_scsi_read() 1769 result = ene_send_scsi_cmd(us, FDIR_WRITE, scsi_sglist(srb), 1); in ms_scsi_write()
|
| H A D | transport.c | 470 int result = usb_stor_bulk_transfer_sglist(us, pipe, scsi_sglist(srb), in usb_stor_bulk_srb()
|
| /linux/drivers/ata/ |
| H A D | libata-scsi.c | 772 qc->sg = scsi_sglist(cmd); in ata_scsi_qc_new() 1972 ata_sg_init(qc, scsi_sglist(cmd), scsi_sg_count(cmd)); in ata_scsi_translate() 2022 sg_copy_from_buffer(scsi_sglist(cmd), scsi_sg_count(cmd), in ata_scsi_rbuf_fill() 3020 sg_copy_to_buffer(scsi_sglist(cmd), scsi_sg_count(cmd), buf, 4); in atapi_fixup_inquiry() 3025 sg_copy_from_buffer(scsi_sglist(cmd), scsi_sg_count(cmd), buf, 4); in atapi_fixup_inquiry() 3590 sg_miter_start(&miter, scsi_sglist(cmd), scsi_sg_count(cmd), in ata_format_dsm_trim_descr() 4069 sg_miter_start(&miter, scsi_sglist(scmd), scsi_sg_count(scmd), in ata_scsi_report_zones_complete() 4512 if (!scsi_sg_count(scmd) || scsi_sglist(scmd)->length < len) in ata_scsi_mode_select_xlat() 4519 if (!sg_copy_to_buffer(scsi_sglist(scmd), scsi_sg_count(scmd), in ata_scsi_mode_select_xlat() 4717 sg_miter_start(&miter, scsi_sglist(scmd), scsi_sg_count(scmd), in ata_scsi_get_phys_element_status_complete()
|
| /linux/drivers/scsi/libfc/ |
| H A D | fc_fcp.c | 323 if (lport->tt.ddp_setup(lport, xid, scsi_sglist(fsp->cmd), in fc_fcp_ddp_setup() 521 sg = scsi_sglist(sc); in fc_fcp_recv_data() 646 sg = scsi_sglist(sc); in fc_fcp_send_data()
|
| /linux/drivers/scsi/lpfc/ |
| H A D | lpfc_scsi.c | 840 nseg = dma_map_sg(&phba->pcidev->dev, scsi_sglist(scsi_cmnd), in lpfc_scsi_prep_dma_buf_s3() 1707 sgde = scsi_sglist(sc); in lpfc_bg_setup_bpl_prot() 2003 sgde = scsi_sglist(sc); in lpfc_bg_setup_sgl() 2141 sgde = scsi_sglist(sc); in lpfc_bg_setup_sgl_prot() 2549 scsi_sglist(scsi_cmnd), in lpfc_bg_scsi_prep_dma_buf_s3() 2757 sgde = scsi_sglist(cmd); in lpfc_calc_bg_err() 3139 sgel = scsi_sglist(scsi_cmnd); in lpfc_scsi_prep_dma_buf_s4() 3322 scsi_sglist(scsi_cmnd), in lpfc_bg_scsi_prep_dma_buf_s4()
|
| /linux/drivers/scsi/pcmcia/ |
| H A D | nsp_cs.c | 201 SCpnt, target, SCpnt->device->lun, scsi_sglist(SCpnt), in nsp_queuecommand_lck() 241 scsi_pointer->buffer = scsi_sglist(SCpnt); in nsp_queuecommand_lck()
|
| /linux/drivers/scsi/qedf/ |
| H A D | qedf_io.c | 482 sg_count = dma_map_sg(&qedf->pdev->dev, scsi_sglist(sc), in qedf_map_sg() 484 sg = scsi_sglist(sc); in qedf_map_sg() 1111 dma_unmap_sg(&qedf->pdev->dev, scsi_sglist(sc), in qedf_unmap_sg_list()
|
| /linux/drivers/infiniband/ulp/iser/ |
| H A D | iser_initiator.c | 367 data_buf->sg = scsi_sglist(sc); in iser_send_command()
|
| /linux/drivers/scsi/bnx2fc/ |
| H A D | bnx2fc_io.c | 1669 sg_count = dma_map_sg(&hba->pcidev->dev, scsi_sglist(sc), in bnx2fc_map_sg() 1736 dma_unmap_sg(&hba->pcidev->dev, scsi_sglist(sc), in bnx2fc_unmap_sg_list()
|
| /linux/drivers/infiniband/ulp/srp/ |
| H A D | ib_srp.c | 1193 if (!scsi_sglist(scmnd) || in srp_unmap_data() 1216 ib_dma_unmap_sg(ibdev, scsi_sglist(scmnd), scsi_sg_count(scmnd), in srp_unmap_data() 1646 if (!scsi_sglist(scmnd) || scmnd->sc_data_direction == DMA_NONE) in srp_map_data() 1658 scat = scsi_sglist(scmnd); in srp_map_data()
|
| /linux/drivers/scsi/libsas/ |
| H A D | sas_scsi_host.c | 151 task->scatter = scsi_sglist(cmd); in sas_create_task()
|
| /linux/drivers/scsi/qedi/ |
| H A D | qedi_fw.c | 1793 sg_count = dma_map_sg(&qedi->pdev->dev, scsi_sglist(sc), in qedi_map_scsi_sg() 1800 sg = scsi_sglist(sc); in qedi_map_scsi_sg()
|
| /linux/drivers/firewire/ |
| H A D | sbp2.c | 1385 struct scatterlist *sg = scsi_sglist(orb->cmd); in sbp2_map_scatterlist()
|