Home
last modified time | relevance | path

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

123

/linux-6.14.4/drivers/gpu/drm/i915/
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 | __GFP_NOWARN)) { in i915_rsgt_from_buddy_resource()
/linux-6.14.4/drivers/gpu/drm/armada/
Darmada_gem.c404 if (sg_alloc_table(sgt, count, GFP_KERNEL)) in armada_gem_prime_map_dma_buf()
423 if (sg_alloc_table(sgt, 1, GFP_KERNEL)) in armada_gem_prime_map_dma_buf()
432 if (sg_alloc_table(sgt, 1, GFP_KERNEL)) in armada_gem_prime_map_dma_buf()
/linux-6.14.4/drivers/hwtracing/intel_th/
Dmsu-sink.c64 ret = sg_alloc_table(*sgt, nents, GFP_KERNEL); in msu_sink_alloc_window()
/linux-6.14.4/kernel/dma/
Dops_helpers.c26 ret = sg_alloc_table(sgt, 1, GFP_KERNEL); in dma_common_get_sgtable()
/linux-6.14.4/drivers/dma-buf/heaps/
Dsystem_heap.c67 ret = sg_alloc_table(new_table, table->orig_nents, GFP_KERNEL); in dup_sg_table()
382 if (sg_alloc_table(table, i, GFP_KERNEL)) in system_heap_allocate()
/linux-6.14.4/drivers/gpu/drm/i915/gem/selftests/
Dmock_dmabuf.c22 err = sg_alloc_table(st, mock->npages, GFP_KERNEL); in mock_map_dma_buf()
Dhuge_gem_object.c45 if (sg_alloc_table(pages, npages, GFP)) { in huge_get_pages()
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()
/linux-6.14.4/drivers/gpu/drm/i915/gem/
Di915_gem_internal.c62 if (sg_alloc_table(st, npages, GFP_KERNEL)) { in i915_gem_object_get_pages_internal()
Di915_gem_phys.c54 if (sg_alloc_table(st, 1, GFP_KERNEL)) in i915_gem_object_get_pages_phys()
Di915_gem_dmabuf.c46 ret = sg_alloc_table(sgt, obj->mm.pages->orig_nents, GFP_KERNEL); in i915_gem_map_dma_buf()
/linux-6.14.4/drivers/mmc/core/
Dsdio_ops.c154 if (sg_alloc_table(&sgtable, nents, GFP_KERNEL)) in mmc_io_rw_extended()
/linux-6.14.4/drivers/gpu/drm/virtio/
Dvirtgpu_vram.c93 ret = sg_alloc_table(sgt, 1, GFP_KERNEL); in virtio_gpu_vram_map_dma_buf()
/linux-6.14.4/drivers/gpu/drm/nouveau/nvkm/core/
Dfirmware.c266 ret = sg_alloc_table(&fw->mem.sgt, pages, GFP_KERNEL); in nvkm_firmware_ctor()
/linux-6.14.4/drivers/gpu/drm/xe/
Dxe_hmm.c55 return sg_alloc_table(st, num_chunks, GFP_KERNEL); in xe_alloc_sg()
/linux-6.14.4/drivers/gpu/drm/i915/selftests/
Dscatterlist.c227 if (sg_alloc_table(&pt->st, max, in alloc_table()
/linux-6.14.4/net/ceph/
Dcrypto.c171 ret = sg_alloc_table(sgt, chunk_cnt, GFP_NOFS); in setup_sgtable()
/linux-6.14.4/drivers/fpga/tests/
Dfpga-mgr-test.c266 ret = sg_alloc_table(sgt, 1, GFP_KERNEL); in fpga_mgr_test_img_load_sgt()
/linux-6.14.4/drivers/gpu/drm/amd/amdgpu/
Damdgpu_gart.c161 ret = sg_alloc_table(sg, 1, GFP_KERNEL); in amdgpu_gart_table_ram_alloc()
/linux-6.14.4/include/linux/
Dscatterlist.h440 int sg_alloc_table(struct sg_table *, unsigned int, gfp_t);
/linux-6.14.4/drivers/media/common/videobuf2/
Dvideobuf2-vmalloc.c229 ret = sg_alloc_table(sgt, num_pages, GFP_KERNEL); in vb2_vmalloc_dmabuf_ops_attach()
/linux-6.14.4/drivers/gpu/drm/tests/
Ddrm_gem_shmem_test.c84 ret = sg_alloc_table(sgt, 1, GFP_KERNEL); in drm_gem_shmem_test_obj_create_private()
/linux-6.14.4/drivers/crypto/qce/
Daead.c137 ret = sg_alloc_table(&rctx->dst_tbl, rctx->dst_nents, gfp); in qce_aead_prepare_dst_buf()
244 ret = sg_alloc_table(&rctx->src_tbl, rctx->src_nents, gfp); in qce_aead_ccm_prepare_buf_assoclen()
/linux-6.14.4/lib/
Dscatterlist.c375 int sg_alloc_table(struct sg_table *table, unsigned int nents, gfp_t gfp_mask) in sg_alloc_table() function
385 EXPORT_SYMBOL(sg_alloc_table);
/linux-6.14.4/drivers/crypto/ccp/
Dccp-crypto-aes-cmac.c110 ret = sg_alloc_table(&rctx->data_sg, sg_count, gfp); in ccp_do_cmac_update()

123