Home
last modified time | relevance | path

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

12345678910

/Linux-v5.10/arch/arm/mm/
Ddma-mapping-nommu.c125 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()
Ddma-mapping.c985 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/
Dmsu-sink.c70 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()
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()
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/
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-v5.10/include/linux/
Dscatterlist.h151 #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)
Ddevcoredump.h31 for_each_sg(table, iter, sg_nents(table), i) { in _devcd_free_sgtable()
/Linux-v5.10/drivers/xen/
Dswiotlb-xen.c498 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/
Damd_gart_64.c284 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/
Dscsi_cmnd.h205 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/
Ddirect.c343 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()
Dvirt.c44 for_each_sg(sgl, sg, nents, i) { in dma_virt_map_sg()
/Linux-v5.10/drivers/gpu/drm/i915/
Di915_scatterlist.c22 for_each_sg(orig_st->sgl, sg, orig_st->nents, i) { in i915_sg_trim()
/Linux-v5.10/drivers/iommu/
Ddma-iommu.c630 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/
Dscatterlist.h77 #define for_each_sg(sglist, sg, nr, __i) \ macro
/Linux-v5.10/arch/sparc/mm/
Dio-unit.c172 for_each_sg(sgl, sg, nents, i) { in iounit_map_sg()
204 for_each_sg(sgl, sg, nents, i) { in iounit_unmap_sg()
Diommu.c255 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/
Dscsi.h39 for_each_sg(sg_next(SCp->buffer), src_sg, bufs, i) in copy_SCp_to_sg()
/Linux-v5.10/drivers/gpu/drm/i915/gvt/
Ddmabuf.c89 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/
Dmem.c66 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/
Drga-buf.c132 for_each_sg(sgt->sgl, sgl, sgt->nents, i) { in rga_buf_map()
/Linux-v5.10/drivers/staging/kpc2000/kpc_dma/
Dfileops.c106 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/
Dib.h341 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/
Daic94xx_task.c79 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/
Dste_dma40_ll.c284 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()

12345678910