Home
last modified time | relevance | path

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

123

/linux/drivers/gpu/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 | __GFP_NOWARN)) { in i915_rsgt_from_buddy_resource()
/linux/drivers/gpu/drm/armada/
H A 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/drivers/hwtracing/intel_th/
H A Dmsu-sink.c64 ret = sg_alloc_table(*sgt, nents, GFP_KERNEL); in msu_sink_alloc_window()
/linux/kernel/dma/
H A Dops_helpers.c26 ret = sg_alloc_table(sgt, 1, GFP_KERNEL); in dma_common_get_sgtable()
/linux/drivers/gpu/drm/i915/gem/selftests/
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()
/linux/drivers/gpu/drm/i915/gem/
H A Di915_gem_internal.c62 if (sg_alloc_table(st, npages, GFP_KERNEL)) { in i915_gem_object_get_pages_internal()
H A Di915_gem_phys.c54 if (sg_alloc_table(st, 1, GFP_KERNEL)) in i915_gem_object_get_pages_phys()
H A Di915_gem_dmabuf.c46 ret = sg_alloc_table(sgt, obj->mm.pages->orig_nents, GFP_KERNEL); in i915_gem_map_dma_buf()
H A Di915_gem_shmem.c86 if (sg_alloc_table(st, page_count, GFP_KERNEL | __GFP_NOWARN)) in shmem_sg_alloc_table()
/linux/drivers/mmc/core/
H A Dsdio_ops.c154 if (sg_alloc_table(&sgtable, nents, GFP_KERNEL)) in mmc_io_rw_extended()
/linux/drivers/gpu/drm/virtio/
H A Dvirtgpu_vram.c93 ret = sg_alloc_table(sgt, 1, GFP_KERNEL); in virtio_gpu_vram_map_dma_buf()
/linux/drivers/gpu/drm/nouveau/nvkm/core/
H A Dfirmware.c266 ret = sg_alloc_table(&fw->mem.sgt, pages, GFP_KERNEL); in nvkm_firmware_ctor()
/linux/net/ceph/
H A Dcrypto.c171 ret = sg_alloc_table(sgt, chunk_cnt, GFP_NOFS); in setup_sgtable()
/linux/drivers/fpga/tests/
H A Dfpga-mgr-test.c266 ret = sg_alloc_table(sgt, 1, GFP_KERNEL); in fpga_mgr_test_img_load_sgt()
/linux/drivers/gpu/drm/tests/
H A Ddrm_gem_shmem_test.c84 ret = sg_alloc_table(sgt, 1, GFP_KERNEL); in drm_gem_shmem_test_obj_create_private()
/linux/drivers/media/common/videobuf2/
H A Dvideobuf2-vmalloc.c229 ret = sg_alloc_table(sgt, num_pages, GFP_KERNEL); in vb2_vmalloc_dmabuf_ops_attach()
/linux/include/linux/
H A Dscatterlist.h440 int sg_alloc_table(struct sg_table *, unsigned int, gfp_t);
/linux/drivers/crypto/qce/
H A 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()
H A Dskcipher.c104 ret = sg_alloc_table(&rctx->dst_tbl, rctx->dst_nents, gfp); in qce_skcipher_async_req_handle()
/linux/lib/
H A 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/drivers/crypto/ccp/
H A Dccp-crypto-aes-cmac.c110 ret = sg_alloc_table(&rctx->data_sg, sg_count, gfp); in ccp_do_cmac_update()
/linux/drivers/gpu/drm/renesas/rcar-du/
H A Drcar_du_vsp.c280 ret = sg_alloc_table(sgt, gem->sgt->orig_nents, in rcar_du_vsp_map_fb()
/linux/drivers/gpu/drm/xe/
H A Dxe_ttm_vram_mgr.c399 r = sg_alloc_table(*sgt, num_entries, GFP_KERNEL); in xe_ttm_vram_mgr_alloc_sgt()
/linux/Documentation/arch/arm/stm32/
H A Dstm32-dma-mdma-chaining.rst246 ret = sg_alloc_table(&new_dma_sgt, new_nents, GFP_ATOMIC);
264 ret = sg_alloc_table(&new_mdma_sgt, new_nents, GFP_ATOMIC);

123