Home
last modified time | relevance | path

Searched refs:sg_alloc_table (Results 1 – 18 of 18) sorted by relevance

/openbsd/sys/dev/pci/drm/i915/
H A Di915_scatterlist.c24 if (sg_alloc_table(&new_st, orig_st->nents, GFP_KERNEL | __GFP_NOWARN)) in i915_sg_trim()
106 if (sg_alloc_table(st, DIV_ROUND_UP_ULL(node->size, segment_pages), in i915_rsgt_from_mm_node()
193 if (sg_alloc_table(st, PFN_UP(res->size), GFP_KERNEL)) { in i915_rsgt_from_buddy_resource()
H A Di915_vma.c1033 ret = sg_alloc_table(st, size, GFP_KERNEL); in intel_rotate_pages()
1243 ret = sg_alloc_table(st, size, GFP_KERNEL); in intel_remap_pages()
1281 ret = sg_alloc_table(st, count, GFP_KERNEL); in intel_partial_pages()
/openbsd/sys/dev/pci/drm/include/linux/
H A Dscatterlist.h59 int sg_alloc_table(struct sg_table *, unsigned int, gfp_t);
/openbsd/sys/dev/pci/drm/i915/gem/selftests/
H A Dmock_dmabuf.c21 err = sg_alloc_table(st, mock->npages, GFP_KERNEL); in mock_map_dma_buf()
H A Dhuge_gem_object.c45 if (sg_alloc_table(pages, npages, GFP)) { in huge_get_pages()
H A Dhuge_pages.c95 if (sg_alloc_table(st, obj->base.size >> PAGE_SHIFT, GFP)) { in get_huge_pages()
227 if (sg_alloc_table(st, obj->base.size >> PAGE_SHIFT, GFP)) { in fake_get_huge_pages()
277 if (sg_alloc_table(st, 1, GFP)) { in fake_get_huge_pages_single()
/openbsd/sys/dev/pci/drm/i915/gem/
H A Di915_gem_internal.c63 if (sg_alloc_table(st, npages, GFP_KERNEL)) { in i915_gem_object_get_pages_internal()
H A Di915_gem_dmabuf.c48 ret = sg_alloc_table(sgt, obj->mm.pages->orig_nents, GFP_KERNEL); in i915_gem_map_dma_buf()
H A Di915_gem_phys.c70 if (sg_alloc_table(st, 1, GFP_KERNEL)) in i915_gem_object_get_pages_phys()
H A Di915_gem_shmem.c104 if (sg_alloc_table(st, page_count, GFP_KERNEL | __GFP_NOWARN)) in shmem_sg_alloc_table()
H A Di915_gem_stolen.c634 if (sg_alloc_table(st, 1, GFP_KERNEL)) { in i915_pages_create_for_stolen()
/openbsd/sys/dev/pci/drm/i915/selftests/
H A Dscatterlist.c227 if (sg_alloc_table(&pt->st, max, in alloc_table()
H A Di915_gem_gtt.c77 if (sg_alloc_table(pages, rem, GFP)) { in fake_get_pages()
/openbsd/sys/dev/pci/drm/amd/amdgpu/
H A Damdgpu_gart.c157 ret = sg_alloc_table(sg, 1, GFP_KERNEL); in amdgpu_gart_table_ram_alloc()
H A Damdgpu_vram_mgr.c679 r = sg_alloc_table(*sgt, num_entries, GFP_KERNEL); in amdgpu_vram_mgr_alloc_sgt()
H A Damdgpu_amdkfd_gpuvm.c501 if (sg_alloc_table(sg, 1, GFP_KERNEL)) { in create_sg_table()
/openbsd/sys/dev/pci/drm/i915/gvt/
H A Ddmabuf.c72 ret = sg_alloc_table(st, page_num, GFP_KERNEL); in vgpu_gem_get_pages()
/openbsd/sys/dev/pci/drm/
H A Ddrm_linux.c1138 sg_alloc_table(struct sg_table *table, unsigned int nents, gfp_t gfp_mask) in sg_alloc_table() function
3324 ret = sg_alloc_table(sgt, 1, GFP_KERNEL); in dma_get_sgtable()