/Linux-v5.10/arch/arm/mm/ |
D | dma-mapping-nommu.c | 125 for_each_sg(sgl, sg, nents, i) { in arm_nommu_dma_map_sg() 141 for_each_sg(sgl, sg, nents, i) in arm_nommu_dma_unmap_sg() 163 for_each_sg(sgl, sg, nents, i) in arm_nommu_dma_sync_sg_for_device() 173 for_each_sg(sgl, sg, nents, i) in arm_nommu_dma_sync_sg_for_cpu()
|
D | dma-mapping.c | 985 for_each_sg(sg, s, nents, i) { in arm_dma_map_sg() 997 for_each_sg(sg, s, i, j) in arm_dma_map_sg() 1020 for_each_sg(sg, s, nents, i) in arm_dma_unmap_sg() 1038 for_each_sg(sg, s, nents, i) in arm_dma_sync_sg_for_cpu() 1057 for_each_sg(sg, s, nents, i) in arm_dma_sync_sg_for_device() 1661 for_each_sg(sg, s, count, i) in __iommu_map_sg() 1709 for_each_sg(sg, s, nents, i) { in __iommu_unmap_sg() 1768 for_each_sg(sg, s, nents, i) in arm_iommu_sync_sg_for_cpu() 1787 for_each_sg(sg, s, nents, i) in arm_iommu_sync_sg_for_device()
|
/Linux-v5.10/drivers/hwtracing/intel_th/ |
D | msu-sink.c | 70 for_each_sg((*sgt)->sgl, sg_ptr, nents, i) { in msu_sink_alloc_window() 87 for_each_sg(sgt->sgl, sg_ptr, sgt->nents, i) { in msu_sink_free_window()
|
D | msu.c | 330 for_each_sg(win->sgt->sgl, sg, win->nr_segs, blk) { in msc_win_total_sz() 425 for_each_sg(win->sgt->sgl, sg, win->nr_segs, blk) { in msc_win_oldest_sg() 664 for_each_sg(win->sgt->sgl, sg, win->nr_segs, blk) { in msc_buffer_clear_hw_header() 1004 for_each_sg(win->sgt->sgl, sg_ptr, nr_segs, i) { in __msc_buffer_win_alloc() 1017 for_each_sg(win->sgt->sgl, sg_ptr, i, ret) in __msc_buffer_win_alloc() 1032 for_each_sg(win->sgt->sgl, sg_ptr, nr_segs, i) { in msc_buffer_set_uc() 1044 for_each_sg(win->sgt->sgl, sg_ptr, win->nr_segs, i) { in msc_buffer_set_wb() 1127 for_each_sg(win->sgt->sgl, sg, win->nr_segs, i) { in __msc_buffer_win_free() 1194 for_each_sg(win->sgt->sgl, sg, win->nr_segs, blk) { in msc_buffer_relink() 1389 for_each_sg(win->sgt->sgl, sg, win->nr_segs, blk) { in msc_buffer_get_page()
|
/Linux-v5.10/arch/mips/jazz/ |
D | jazzdma.c | 549 for_each_sg(sglist, sg, nents, i) { in jazz_dma_map_sg() 568 for_each_sg(sglist, sg, nents, i) { in jazz_dma_unmap_sg() 593 for_each_sg(sgl, sg, nents, i) in jazz_dma_sync_sg_for_device() 603 for_each_sg(sgl, sg, nents, i) in jazz_dma_sync_sg_for_cpu()
|
/Linux-v5.10/include/linux/ |
D | scatterlist.h | 151 #define for_each_sg(sglist, sg, nr, __i) \ macro 158 for_each_sg((sgt)->sgl, sg, (sgt)->orig_nents, i) 166 for_each_sg((sgt)->sgl, sg, (sgt)->nents, i)
|
D | devcoredump.h | 31 for_each_sg(table, iter, sg_nents(table), i) { in _devcd_free_sgtable()
|
/Linux-v5.10/drivers/xen/ |
D | swiotlb-xen.c | 498 for_each_sg(sgl, sg, nelems, i) in xen_swiotlb_unmap_sg() 513 for_each_sg(sgl, sg, nelems, i) { in xen_swiotlb_map_sg() 535 for_each_sg(sgl, sg, nelems, i) { in xen_swiotlb_sync_sg_for_cpu() 548 for_each_sg(sgl, sg, nelems, i) { in xen_swiotlb_sync_sg_for_device()
|
/Linux-v5.10/arch/x86/kernel/ |
D | amd_gart_64.c | 284 for_each_sg(sg, s, nents, i) { in gart_unmap_sg() 302 for_each_sg(sg, s, nents, i) { in dma_map_sg_nonforce() 336 for_each_sg(start, s, nelems, i) { in __dma_map_cont() 399 for_each_sg(sg, s, nents, i) { in gart_map_sg() 459 for_each_sg(sg, s, nents, i) in gart_map_sg()
|
/Linux-v5.10/include/scsi/ |
D | scsi_cmnd.h | 205 for_each_sg(scsi_sglist(cmd), sg, nseg, __i) 309 for_each_sg(scsi_prot_sglist(cmd), sg, nseg, __i)
|
/Linux-v5.10/kernel/dma/ |
D | direct.c | 343 for_each_sg(sgl, sg, nents, i) { in dma_direct_sync_sg_for_device() 366 for_each_sg(sgl, sg, nents, i) { in dma_direct_sync_sg_for_cpu() 390 for_each_sg(sgl, sg, nents, i) in dma_direct_unmap_sg() 402 for_each_sg(sgl, sg, nents, i) { in dma_direct_map_sg()
|
D | virt.c | 44 for_each_sg(sgl, sg, nents, i) { in dma_virt_map_sg()
|
/Linux-v5.10/drivers/gpu/drm/i915/ |
D | i915_scatterlist.c | 22 for_each_sg(orig_st->sgl, sg, orig_st->nents, i) { in i915_sg_trim()
|
/Linux-v5.10/drivers/iommu/ |
D | dma-iommu.c | 630 for_each_sg(sgt.sgl, sg, sgt.orig_nents, i) in iommu_dma_alloc_remap() 707 for_each_sg(sgl, sg, nelems, i) in iommu_dma_sync_sg_for_cpu() 721 for_each_sg(sgl, sg, nelems, i) in iommu_dma_sync_sg_for_device() 764 for_each_sg(sg, s, nents, i) { in __finalise_sg() 814 for_each_sg(sg, s, nents, i) { in __invalidate_sg() 856 for_each_sg(sg, s, nents, i) { in iommu_dma_map_sg() 924 for_each_sg(sg_next(sg), tmp, nents - 1, i) { in iommu_dma_unmap_sg()
|
/Linux-v5.10/tools/virtio/linux/ |
D | scatterlist.h | 77 #define for_each_sg(sglist, sg, nr, __i) \ macro
|
/Linux-v5.10/arch/sparc/mm/ |
D | io-unit.c | 172 for_each_sg(sgl, sg, nents, i) { in iounit_map_sg() 204 for_each_sg(sgl, sg, nents, i) { in iounit_unmap_sg()
|
D | iommu.c | 255 for_each_sg(sgl, sg, nents, j) { in __sbus_iommu_map_sg() 304 for_each_sg(sgl, sg, nents, i) { in sbus_iommu_unmap_sg()
|
/Linux-v5.10/drivers/scsi/arm/ |
D | scsi.h | 39 for_each_sg(sg_next(SCp->buffer), src_sg, bufs, i) in copy_SCp_to_sg()
|
/Linux-v5.10/drivers/gpu/drm/i915/gvt/ |
D | dmabuf.c | 89 for_each_sg(st->sgl, sg, page_num, i) { in vgpu_gem_get_pages() 108 for_each_sg(st->sgl, sg, i, j) { in vgpu_gem_get_pages() 132 for_each_sg(pages->sgl, sg, fb_info->size, i) in vgpu_gem_put_pages()
|
/Linux-v5.10/drivers/infiniband/hw/mlx5/ |
D | mem.c | 66 for_each_sg(umem->sg_head.sgl, sg, umem->nmap, entry) { in mlx5_ib_cont_pages() 131 for_each_sg(umem->sg_head.sgl, sg, umem->nmap, entry) { in __mlx5_ib_populate_pas()
|
/Linux-v5.10/drivers/media/platform/rockchip/rga/ |
D | rga-buf.c | 132 for_each_sg(sgt->sgl, sgl, sgt->nents, i) { in rga_buf_map()
|
/Linux-v5.10/drivers/staging/kpc2000/kpc_dma/ |
D | fileops.c | 106 for_each_sg(acd->sgt.sgl, sg, acd->mapped_entry_count, i) { in kpc_dma_transfer() 129 for_each_sg(acd->sgt.sgl, sg, acd->mapped_entry_count, i) { in kpc_dma_transfer()
|
/Linux-v5.10/net/rds/ |
D | ib.h | 341 for_each_sg(sglist, sg, sg_dma_len, i) { in rds_ib_dma_sync_sg_for_cpu() 356 for_each_sg(sglist, sg, sg_dma_len, i) { in rds_ib_dma_sync_sg_for_device()
|
/Linux-v5.10/drivers/scsi/aic94xx/ |
D | aic94xx_task.c | 79 for_each_sg(task->scatter, sc, num_sg, i) { in asd_map_scatterlist() 88 for_each_sg(task->scatter, sc, 2, i) { in asd_map_scatterlist() 100 for_each_sg(task->scatter, sc, num_sg, i) { in asd_map_scatterlist()
|
/Linux-v5.10/drivers/dma/ |
D | ste_dma40_ll.c | 284 for_each_sg(sg, current_sg, sg_len, i) { in d40_phy_sg_to_lli() 433 for_each_sg(sg, current_sg, sg_len, i) { in d40_log_sg_to_lli()
|