Home
last modified time | relevance | path

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

12

/linux-6.6.21/drivers/media/common/videobuf2/
Dvideobuf2-dma-sg.c137 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()
Dvideobuf2-dma-contig.c632 ret = sg_alloc_table_from_pages(sgt, frame_vector_pages(vec), n_pages, in vb2_dc_get_userptr()
/linux-6.6.21/drivers/gpu/drm/tegra/
Dgem.c117 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()
/linux-6.6.21/include/linux/
Dscatterlist.h471 static inline int sg_alloc_table_from_pages(struct sg_table *sgt, in sg_alloc_table_from_pages() function
/linux-6.6.21/drivers/dma-buf/heaps/
Dcma_heap.c61 ret = sg_alloc_table_from_pages(&a->table, buffer->pages, in cma_heap_attach()
/linux-6.6.21/drivers/vfio/pci/pds/
Dlm.c66 if (sg_alloc_table_from_pages(&lm_file->sg_table, pages, npages, 0, in pds_vfio_get_lm_file()
Ddirty.c368 err = sg_alloc_table_from_pages(&sg_table, pages, npages, page_offset, in pds_vfio_dirty_seq_ack()
/linux-6.6.21/drivers/dma-buf/
Dudmabuf.c96 ret = sg_alloc_table_from_pages(sg, ubuf->pages, ubuf->pagecount, in get_sg_table()
/linux-6.6.21/drivers/gpu/drm/lima/
Dlima_gem.c67 ret = sg_alloc_table_from_pages(&sgt, pages, i, 0, in lima_heap_alloc()
/linux-6.6.21/drivers/gpu/drm/gud/
Dgud_drv.c406 ret = sg_alloc_table_from_pages(&gdrm->bulk_sgt, pages, num_pages, in gud_alloc_bulk_buffer()
/linux-6.6.21/drivers/fpga/
Dfpga-mgr.c510 rc = sg_alloc_table_from_pages(&sgt, pages, index, offset_in_page(buf), in fpga_mgr_buf_load()
/linux-6.6.21/drivers/xen/
Dgntdev-dmabuf.c207 ret = sg_alloc_table_from_pages(sgt, pages, nr_pages, 0, in dmabuf_pages_to_sgt()
/linux-6.6.21/drivers/gpu/drm/panfrost/
Dpanfrost_mmu.c512 ret = sg_alloc_table_from_pages(sgt, pages + page_offset, in panfrost_mmu_map_fault_addr()
/linux-6.6.21/drivers/tee/optee/
Dffa_abi.c292 rc = sg_alloc_table_from_pages(&sgt, pages, num_pages, 0, in optee_ffa_shm_register()
/linux-6.6.21/drivers/iommu/
Ddma-iommu.c880 if (sg_alloc_table_from_pages(sgt, pages, count, 0, size, gfp)) in __iommu_dma_alloc_noncontiguous()
1577 return sg_alloc_table_from_pages(sgt, pages, in iommu_dma_get_sgtable()
/linux-6.6.21/drivers/gpu/drm/radeon/
Dradeon_ttm.c369 r = sg_alloc_table_from_pages(ttm->sg, ttm->pages, ttm->num_pages, 0, in radeon_ttm_tt_pin_userptr()
/linux-6.6.21/drivers/gpu/drm/exynos/
Dexynos_drm_g2d.c499 ret = sg_alloc_table_from_pages(sgt, in g2d_userptr_get_dma_addr()
/linux-6.6.21/samples/vfio-mdev/
Dmbochs.c874 if (sg_alloc_table_from_pages(sg, dmabuf->pages, dmabuf->pagecount, in mbochs_map_dmabuf()
/linux-6.6.21/drivers/accel/qaic/
Dqaic_control.c449 ret = sg_alloc_table_from_pages(sgt, page_list, nr_pages, in find_and_map_user_pages()
/linux-6.6.21/arch/arm/mm/
Ddma-mapping.c1181 return sg_alloc_table_from_pages(sgt, pages, count, 0, size, in arm_iommu_get_sgtable()
/linux-6.6.21/net/ceph/
Dmessenger_v2.c1141 ret = sg_alloc_table_from_pages(&enc_sgt, con->v2.in_enc_pages, in decrypt_tail()
1710 ret = sg_alloc_table_from_pages(&enc_sgt, enc_pages, enc_page_cnt, in prepare_message_secure()
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ttm.c773 r = sg_alloc_table_from_pages(ttm->sg, ttm->pages, ttm->num_pages, 0, in amdgpu_ttm_tt_pin_userptr()
Damdgpu_amdkfd_gpuvm.c531 ret = sg_alloc_table_from_pages(ttm->sg, src_ttm->pages, in kfd_mem_dmamap_userptr()
/linux-6.6.21/drivers/accel/habanalabs/common/
Dmemory.c2324 rc = sg_alloc_table_from_pages(userptr->sgt, in get_user_memory()
/linux-6.6.21/drivers/rapidio/devices/
Drio_mport_cdev.c887 ret = sg_alloc_table_from_pages(&req->sgt, page_list, nr_pages, in rio_dma_transfer()

12