Home
last modified time | relevance | path

Searched refs:for_each_sg (Results 1 – 25 of 248) sorted by relevance

12345678910

/linux-6.6.21/drivers/hwtracing/intel_th/
Dmsu-sink.c70 for_each_sg((*sgt)->sgl, sg_ptr, nents, i) { in msu_sink_alloc_window()
90 for_each_sg(sgt->sgl, sg_ptr, sgt->nents, i) { in msu_sink_free_window()
Dmsu.c330 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()
662 for_each_sg(win->sgt->sgl, sg, win->nr_segs, blk) { in msc_buffer_clear_hw_header()
1002 for_each_sg(win->sgt->sgl, sg_ptr, nr_segs, i) { in __msc_buffer_win_alloc()
1015 for_each_sg(win->sgt->sgl, sg_ptr, i, ret) in __msc_buffer_win_alloc()
1037 for_each_sg(win->sgt->sgl, sg_ptr, win->nr_segs, i) { in msc_buffer_set_uc()
1057 for_each_sg(win->sgt->sgl, sg_ptr, win->nr_segs, i) { in msc_buffer_set_wb()
1149 for_each_sg(win->sgt->sgl, sg, win->nr_segs, i) { in __msc_buffer_win_free()
1214 for_each_sg(win->sgt->sgl, sg, win->nr_segs, blk) { in msc_buffer_relink()
1413 for_each_sg(win->sgt->sgl, sg, win->nr_segs, blk) { in msc_buffer_get_page()
/linux-6.6.21/drivers/xen/
Dswiotlb-xen.c319 for_each_sg(sgl, sg, nelems, i) in xen_swiotlb_unmap_sg()
334 for_each_sg(sgl, sg, nelems, i) { in xen_swiotlb_map_sg()
356 for_each_sg(sgl, sg, nelems, i) { in xen_swiotlb_sync_sg_for_cpu()
369 for_each_sg(sgl, sg, nelems, i) { in xen_swiotlb_sync_sg_for_device()
Dgrant-dma-ops.c244 for_each_sg(sg, s, nents, i) in xen_grant_dma_unmap_sg()
259 for_each_sg(sg, s, nents, i) { in xen_grant_dma_map_sg()
/linux-6.6.21/drivers/iommu/
Ddma-iommu.c550 for_each_sg(sg, s, nents, i) in dev_use_sg_swiotlb()
887 for_each_sg(sgt->sgl, sg, sgt->orig_nents, i) in __iommu_dma_alloc_noncontiguous()
1005 for_each_sg(sgl, sg, nelems, i) in iommu_dma_sync_sg_for_cpu()
1009 for_each_sg(sgl, sg, nelems, i) in iommu_dma_sync_sg_for_cpu()
1021 for_each_sg(sgl, sg, nelems, i) in iommu_dma_sync_sg_for_device()
1026 for_each_sg(sgl, sg, nelems, i) in iommu_dma_sync_sg_for_device()
1121 for_each_sg(sg, s, nents, i) { in __finalise_sg()
1186 for_each_sg(sg, s, nents, i) { in __invalidate_sg()
1206 for_each_sg(sg, s, nents, i) in iommu_dma_unmap_sg_swiotlb()
1219 for_each_sg(sg, s, nents, i) { in iommu_dma_map_sg_swiotlb()
[all …]
/linux-6.6.21/arch/mips/jazz/
Djazzdma.c549 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-6.6.21/arch/powerpc/kernel/
Ddma-iommu.c44 for_each_sg(sg, s, nents, i) { in arch_dma_map_sg_direct()
61 for_each_sg(sg, s, nents, i) { in arch_dma_unmap_sg_direct()
/linux-6.6.21/include/linux/
Dscatterlist.h195 #define for_each_sg(sglist, sg, nr, __i) \ macro
202 for_each_sg((sgt)->sgl, sg, (sgt)->orig_nents, i)
210 for_each_sg((sgt)->sgl, sg, (sgt)->nents, i)
Ddevcoredump.h31 for_each_sg(table, iter, sg_nents(table), i) { in _devcd_free_sgtable()
/linux-6.6.21/include/scsi/
Dscsi_cmnd.h207 for_each_sg(scsi_sglist(cmd), sg, nseg, __i)
332 for_each_sg(scsi_prot_sglist(cmd), sg, nseg, __i)
/linux-6.6.21/kernel/dma/
Ddirect.c414 for_each_sg(sgl, sg, nents, i) { in dma_direct_sync_sg_for_device()
437 for_each_sg(sgl, sg, nents, i) { in dma_direct_sync_sg_for_cpu()
465 for_each_sg(sgl, sg, nents, i) { in dma_direct_unmap_sg()
483 for_each_sg(sgl, sg, nents, i) { in dma_direct_map_sg()
Ddebug.c1309 for_each_sg(sg, s, nents, i) { in debug_dma_map_sg()
1315 for_each_sg(sg, s, mapped_ents, i) { in debug_dma_map_sg()
1364 for_each_sg(sglist, s, nelems, i) { in debug_dma_unmap_sg()
1537 for_each_sg(sg, s, nelems, i) { in debug_dma_sync_sg_for_cpu()
1569 for_each_sg(sg, s, nelems, i) { in debug_dma_sync_sg_for_device()
/linux-6.6.21/arch/x86/kernel/
Damd_gart_64.c282 for_each_sg(sg, s, nents, i) { in gart_unmap_sg()
300 for_each_sg(sg, s, nents, i) { in dma_map_sg_nonforce()
334 for_each_sg(start, s, nelems, i) { in __dma_map_cont()
397 for_each_sg(sg, s, nents, i) { in gart_map_sg()
/linux-6.6.21/drivers/crypto/intel/qat/qat_common/
Dqat_bl.c96 for_each_sg(sgl, sg, n, i) { in __qat_bl_sgl_to_bufl()
151 for_each_sg(sglout, sg, n_sglout, i) { in __qat_bl_sgl_to_bufl()
287 for_each_sg(sgl, sg, n, i) { in qat_bl_sgl_map()
/linux-6.6.21/tools/virtio/linux/
Dscatterlist.h78 #define for_each_sg(sglist, sg, nr, __i) \ macro
/linux-6.6.21/arch/sparc/mm/
Dio-unit.c173 for_each_sg(sgl, sg, nents, i) { in iounit_map_sg()
205 for_each_sg(sgl, sg, nents, i) { in iounit_unmap_sg()
Diommu.c256 for_each_sg(sgl, sg, nents, j) { in __sbus_iommu_map_sg()
305 for_each_sg(sgl, sg, nents, i) { in sbus_iommu_unmap_sg()
/linux-6.6.21/drivers/scsi/arm/
Darm_scsi.h48 for_each_sg(sg_next(SCp->buffer), src_sg, bufs, i) in copy_SCp_to_sg()
/linux-6.6.21/drivers/gpu/drm/i915/gvt/
Ddmabuf.c79 for_each_sg(st->sgl, sg, page_num, i) { in vgpu_gem_get_pages()
98 for_each_sg(st->sgl, sg, i, j) { in vgpu_gem_get_pages()
122 for_each_sg(pages->sgl, sg, fb_info->size, i) in vgpu_gem_put_pages()
/linux-6.6.21/drivers/media/platform/rockchip/rga/
Drga-buf.c131 for_each_sg(sgt->sgl, sgl, sgt->nents, i) { in rga_buf_map()
/linux-6.6.21/net/rds/
Dib.h333 for_each_sg(sglist, sg, sg_dma_len, i) { in rds_ib_dma_sync_sg_for_cpu()
348 for_each_sg(sglist, sg, sg_dma_len, i) { in rds_ib_dma_sync_sg_for_device()
/linux-6.6.21/drivers/scsi/aic94xx/
Daic94xx_task.c82 for_each_sg(task->scatter, sc, num_sg, i) { in asd_map_scatterlist()
91 for_each_sg(task->scatter, sc, 2, i) { in asd_map_scatterlist()
103 for_each_sg(task->scatter, sc, num_sg, i) { in asd_map_scatterlist()
/linux-6.6.21/drivers/dma/
Dste_dma40_ll.c285 for_each_sg(sg, current_sg, sg_len, i) { in d40_phy_sg_to_lli()
434 for_each_sg(sg, current_sg, sg_len, i) { in d40_log_sg_to_lli()
/linux-6.6.21/drivers/mmc/host/
Drenesas_sdhi_sys_dmac.c166 for_each_sg(sg, sg_tmp, host->sg_len, i) { in renesas_sdhi_sys_dmac_start_dma_rx()
238 for_each_sg(sg, sg_tmp, host->sg_len, i) { in renesas_sdhi_sys_dmac_start_dma_tx()
/linux-6.6.21/arch/sparc/kernel/
Diommu.c477 for_each_sg(sglist, s, nelems, i) { in dma_4u_map_sg()
555 for_each_sg(sglist, s, nelems, i) { in dma_4u_map_sg()
728 for_each_sg(sglist, sg, nelems, i) { in dma_4u_sync_sg_for_cpu()

12345678910