/kernel/linux/linux-5.10/drivers/media/common/videobuf2/ |
H A D | videobuf2-dma-sg.c | 137 ret = sg_alloc_table_from_pages(buf->dma_sgt, buf->pages, in vb2_dma_sg_alloc() 247 if (sg_alloc_table_from_pages(buf->dma_sgt, buf->pages, in vb2_dma_sg_get_userptr()
|
H A D | videobuf2-dma-contig.c | 524 ret = sg_alloc_table_from_pages(sgt, frame_vector_pages(vec), n_pages, in vb2_dc_get_userptr()
|
/kernel/linux/linux-5.10/lib/ |
H A D | scatterlist.c | 526 * sg_alloc_table_from_pages - Allocate and initialize an sg table from 545 int sg_alloc_table_from_pages(struct sg_table *sgt, struct page **pages, in sg_alloc_table_from_pages() function 552 EXPORT_SYMBOL(sg_alloc_table_from_pages); variable
|
/kernel/linux/linux-5.10/drivers/gpu/drm/tegra/ |
H A D | gem.c | 90 err = sg_alloc_table_from_pages(sgt, obj->pages, obj->num_pages, in tegra_bo_pin() 560 if (sg_alloc_table_from_pages(sgt, bo->pages, bo->num_pages, in tegra_gem_prime_map_dma_buf()
|
/kernel/linux/linux-6.6/drivers/media/common/videobuf2/ |
H A D | videobuf2-dma-sg.c | 137 ret = sg_alloc_table_from_pages(buf->dma_sgt, buf->pages, in vb2_dma_sg_alloc() 256 if (sg_alloc_table_from_pages(buf->dma_sgt, buf->pages, in vb2_dma_sg_get_userptr()
|
H A D | videobuf2-dma-contig.c | 632 ret = sg_alloc_table_from_pages(sgt, frame_vector_pages(vec), n_pages, in vb2_dc_get_userptr()
|
/kernel/linux/linux-5.10/drivers/dma-buf/heaps/ |
H A D | heap-helpers.c | 104 ret = sg_alloc_table_from_pages(&a->table, buffer->pages, in dma_heap_attach()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | scatterlist.h | 299 int sg_alloc_table_from_pages(struct sg_table *sgt, struct page **pages,
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | scatterlist.h | 452 * sg_alloc_table_from_pages - Allocate and initialize an sg table from 471 static inline int sg_alloc_table_from_pages(struct sg_table *sgt, in sg_alloc_table_from_pages() function
|
/kernel/linux/linux-6.6/drivers/gpu/drm/tegra/ |
H A D | gem.c | 117 err = sg_alloc_table_from_pages(map->sgt, obj->pages, obj->num_pages, 0, gem->size, in tegra_bo_pin() 627 if (sg_alloc_table_from_pages(sgt, bo->pages, bo->num_pages, in tegra_gem_prime_map_dma_buf()
|
/kernel/linux/linux-5.10/drivers/fpga/ |
H A D | fpga-mgr.c | 291 * in sg_alloc_table_from_pages in fpga_mgr_buf_load() 293 rc = sg_alloc_table_from_pages(&sgt, pages, index, offset_in_page(buf), in fpga_mgr_buf_load()
|
/kernel/linux/linux-5.10/drivers/dma-buf/ |
H A D | udmabuf.c | 64 ret = sg_alloc_table_from_pages(sg, ubuf->pages, ubuf->pagecount, in get_sg_table()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/lima/ |
H A D | lima_gem.c | 66 ret = sg_alloc_table_from_pages(&sgt, pages, i, 0, in lima_heap_alloc()
|
/kernel/linux/linux-5.10/drivers/staging/kpc2000/kpc_dma/ |
H A D | fileops.c | 92 rv = sg_alloc_table_from_pages(&acd->sgt, acd->user_pages, acd->page_count, iov_base & (PAGE_SIZE - 1), iov_len, GFP_KERNEL); in kpc_dma_transfer()
|
/kernel/linux/linux-6.6/drivers/vfio/pci/pds/ |
H A D | dirty.c | 368 err = sg_alloc_table_from_pages(&sg_table, pages, npages, page_offset, in pds_vfio_dirty_seq_ack()
|
H A D | lm.c | 66 if (sg_alloc_table_from_pages(&lm_file->sg_table, pages, npages, 0, in pds_vfio_get_lm_file()
|
/kernel/linux/linux-6.6/drivers/dma-buf/heaps/ |
H A D | cma_heap.c | 61 ret = sg_alloc_table_from_pages(&a->table, buffer->pages, in cma_heap_attach()
|
/kernel/linux/linux-6.6/drivers/dma-buf/ |
H A D | udmabuf.c | 96 ret = sg_alloc_table_from_pages(sg, ubuf->pages, ubuf->pagecount, in get_sg_table()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/lima/ |
H A D | lima_gem.c | 67 ret = sg_alloc_table_from_pages(&sgt, pages, i, 0, in lima_heap_alloc()
|
/kernel/linux/linux-5.10/drivers/iommu/ |
H A D | dma-iommu.c | 625 if (sg_alloc_table_from_pages(&sgt, pages, count, 0, size, GFP_KERNEL)) in iommu_dma_alloc_remap() 1129 return sg_alloc_table_from_pages(sgt, pages, in iommu_dma_get_sgtable()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/panfrost/ |
H A D | panfrost_mmu.c | 469 ret = sg_alloc_table_from_pages(sgt, pages + page_offset, in panfrost_mmu_map_fault_addr()
|
/kernel/linux/linux-6.6/drivers/fpga/ |
H A D | fpga-mgr.c | 508 * in sg_alloc_table_from_pages in fpga_mgr_buf_load() 510 rc = sg_alloc_table_from_pages(&sgt, pages, index, offset_in_page(buf), in fpga_mgr_buf_load()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/gud/ |
H A D | gud_drv.c | 406 ret = sg_alloc_table_from_pages(&gdrm->bulk_sgt, pages, num_pages, in gud_alloc_bulk_buffer()
|
/kernel/linux/linux-5.10/drivers/xen/ |
H A D | gntdev-dmabuf.c | 213 ret = sg_alloc_table_from_pages(sgt, pages, nr_pages, 0, in dmabuf_pages_to_sgt()
|
/kernel/linux/linux-6.6/drivers/xen/ |
H A D | gntdev-dmabuf.c | 207 ret = sg_alloc_table_from_pages(sgt, pages, nr_pages, 0, in dmabuf_pages_to_sgt()
|