/openbmc/linux/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()
|
/openbmc/linux/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()
|
/openbmc/linux/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()
|
/openbmc/linux/include/linux/ |
H A D | scatterlist.h | 471 static inline int sg_alloc_table_from_pages(struct sg_table *sgt, in sg_alloc_table_from_pages() function
|
/openbmc/linux/drivers/vfio/pci/pds/ |
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()
|
H A D | dirty.c | 368 err = sg_alloc_table_from_pages(&sg_table, pages, npages, page_offset, in pds_vfio_dirty_seq_ack()
|
/openbmc/linux/drivers/dma-buf/ |
H A D | udmabuf.c | 98 ret = sg_alloc_table_from_pages(sg, ubuf->pages, ubuf->pagecount, in get_sg_table()
|
/openbmc/linux/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()
|
/openbmc/linux/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()
|
/openbmc/linux/drivers/fpga/ |
H A D | fpga-mgr.c | 510 rc = sg_alloc_table_from_pages(&sgt, pages, index, offset_in_page(buf), in fpga_mgr_buf_load()
|
/openbmc/linux/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()
|
/openbmc/linux/drivers/gpu/drm/panfrost/ |
H A D | panfrost_mmu.c | 519 ret = sg_alloc_table_from_pages(sgt, pages + page_offset, in panfrost_mmu_map_fault_addr()
|
/openbmc/linux/drivers/tee/optee/ |
H A D | ffa_abi.c | 292 rc = sg_alloc_table_from_pages(&sgt, pages, num_pages, 0, in optee_ffa_shm_register()
|
/openbmc/linux/drivers/iommu/ |
H A D | dma-iommu.c | 880 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()
|
/openbmc/linux/drivers/gpu/drm/radeon/ |
H A D | radeon_ttm.c | 369 r = sg_alloc_table_from_pages(ttm->sg, ttm->pages, ttm->num_pages, 0, in radeon_ttm_tt_pin_userptr()
|
/openbmc/linux/drivers/gpu/drm/exynos/ |
H A D | exynos_drm_g2d.c | 499 ret = sg_alloc_table_from_pages(sgt, in g2d_userptr_get_dma_addr()
|
/openbmc/linux/samples/vfio-mdev/ |
H A D | mbochs.c | 874 if (sg_alloc_table_from_pages(sg, dmabuf->pages, dmabuf->pagecount, in mbochs_map_dmabuf()
|
/openbmc/linux/arch/arm/mm/ |
H A D | dma-mapping.c | 1181 return sg_alloc_table_from_pages(sgt, pages, count, 0, size, in arm_iommu_get_sgtable()
|
/openbmc/linux/drivers/accel/qaic/ |
H A D | qaic_control.c | 449 ret = sg_alloc_table_from_pages(sgt, page_list, nr_pages, in find_and_map_user_pages()
|
/openbmc/linux/net/ceph/ |
H A D | messenger_v2.c | 1141 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()
|
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_ttm.c | 788 r = sg_alloc_table_from_pages(ttm->sg, ttm->pages, ttm->num_pages, 0, in amdgpu_ttm_tt_pin_userptr()
|
H A D | amdgpu_amdkfd_gpuvm.c | 535 ret = sg_alloc_table_from_pages(ttm->sg, src_ttm->pages, in kfd_mem_dmamap_userptr()
|
/openbmc/linux/drivers/rapidio/devices/ |
H A D | rio_mport_cdev.c | 887 ret = sg_alloc_table_from_pages(&req->sgt, page_list, nr_pages, in rio_dma_transfer()
|
/openbmc/linux/drivers/accel/habanalabs/common/ |
H A D | memory.c | 2331 rc = sg_alloc_table_from_pages(userptr->sgt, in get_user_memory()
|