Home
last modified time | relevance | path

Searched refs:sg_alloc_table_from_pages (Results 1 – 24 of 24) sorted by relevance

/kernel/linux/linux-5.10/drivers/media/common/videobuf2/
Dvideobuf2-dma-sg.c137 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()
Dvideobuf2-dma-contig.c524 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/
Dheap-helpers.c104 ret = sg_alloc_table_from_pages(&a->table, buffer->pages, in dma_heap_attach()
/kernel/linux/linux-5.10/drivers/gpu/drm/tegra/
Dgem.c90 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-5.10/lib/
Dscatterlist.c545 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);
/kernel/linux/linux-5.10/include/linux/
Dscatterlist.h299 int sg_alloc_table_from_pages(struct sg_table *sgt, struct page **pages,
/kernel/linux/linux-5.10/drivers/dma-buf/
Dudmabuf.c64 ret = sg_alloc_table_from_pages(sg, ubuf->pages, ubuf->pagecount, in get_sg_table()
/kernel/linux/linux-5.10/drivers/staging/kpc2000/kpc_dma/
Dfileops.c92 …rv = sg_alloc_table_from_pages(&acd->sgt, acd->user_pages, acd->page_count, iov_base & (PAGE_SIZE … in kpc_dma_transfer()
/kernel/linux/linux-5.10/drivers/gpu/drm/lima/
Dlima_gem.c66 ret = sg_alloc_table_from_pages(&sgt, pages, i, 0, in lima_heap_alloc()
/kernel/linux/linux-5.10/drivers/fpga/
Dfpga-mgr.c293 rc = sg_alloc_table_from_pages(&sgt, pages, index, offset_in_page(buf), in fpga_mgr_buf_load()
/kernel/linux/linux-5.10/drivers/iommu/
Ddma-iommu.c625 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/
Dpanfrost_mmu.c468 ret = sg_alloc_table_from_pages(sgt, pages + page_offset, in panfrost_mmu_map_fault_addr()
/kernel/linux/linux-5.10/drivers/xen/
Dgntdev-dmabuf.c212 ret = sg_alloc_table_from_pages(sgt, pages, nr_pages, 0, in dmabuf_pages_to_sgt()
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
Dradeon_ttm.c469 r = sg_alloc_table_from_pages(ttm->sg, ttm->pages, ttm->num_pages, 0, in radeon_ttm_tt_pin_userptr()
/kernel/linux/linux-5.10/drivers/gpu/drm/exynos/
Dexynos_drm_g2d.c504 ret = sg_alloc_table_from_pages(sgt, in g2d_userptr_get_dma_addr()
/kernel/linux/linux-5.10/drivers/misc/habanalabs/common/
Dmemory.c1319 rc = sg_alloc_table_from_pages(userptr->sgt, in get_user_memory()
/kernel/linux/linux-5.10/samples/vfio-mdev/
Dmbochs.c846 if (sg_alloc_table_from_pages(sg, dmabuf->pages, dmabuf->pagecount, in mbochs_map_dmabuf()
/kernel/linux/linux-5.10/arch/arm/mm/
Ddma-mapping.c1570 return sg_alloc_table_from_pages(sgt, pages, count, 0, size, in arm_iommu_get_sgtable()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ttm.c1000 r = sg_alloc_table_from_pages(ttm->sg, ttm->pages, ttm->num_pages, 0, in amdgpu_ttm_tt_pin_userptr()
/kernel/linux/linux-5.10/drivers/rapidio/devices/
Drio_mport_cdev.c887 ret = sg_alloc_table_from_pages(&req->sgt, page_list, nr_pages, in rio_dma_transfer()
/kernel/linux/linux-5.10/drivers/usb/gadget/function/
Df_fs.c785 if (sg_alloc_table_from_pages(sgt, pages, n_pages, 0, sz, GFP_KERNEL)) { in ffs_build_sg_list()
/kernel/linux/patches/linux-5.10/zhiyuan_patch/
Dkernel.patch719 + ret = sg_alloc_table_from_pages(&a->table, buffer->pages,
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0038_linux_drivers_mxc.patch136944 + if (sg_alloc_table_from_pages(sgt, pages, numPages, offset, Bytes, GFP_KERNEL) < 0)
138508 + result = sg_alloc_table_from_pages(&mdlPriv->sgt,
138661 + if (sg_alloc_table_from_pages(sgt, pages, numPages, offset, Bytes, GFP_KERNEL) < 0)
140080 + result = sg_alloc_table_from_pages(&um->sgt, pages, page_count,
140091 + printk("[galcore]: %s: sg_alloc_table_from_pages failed\n", __FUNCTION__);
140241 + result = sg_alloc_table_from_pages(&um->sgt, pages, pfn_count,
140252 + printk("[galcore]: %s: sg_alloc_table_from_pages failed\n", __FUNCTION__);
141229 + if (sg_alloc_table_from_pages(sgt, pages, numPages, offset, Bytes, GFP_KERNEL) < 0)
/kernel/linux/patches/linux-5.10/yangfan_patch/
Ddrivers.patch6258 + ret = sg_alloc_table_from_pages(&a->table, buffer->pages,