Home
last modified time | relevance | path

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

123

/Linux-v6.1/drivers/gpu/drm/i915/
Di915_scatterlist.c24 if (sg_alloc_table(&new_st, orig_st->nents, GFP_KERNEL | __GFP_NOWARN)) in i915_sg_trim()
99 if (sg_alloc_table(st, DIV_ROUND_UP_ULL(node->size, segment_pages), in i915_rsgt_from_mm_node()
180 if (sg_alloc_table(st, res->num_pages, GFP_KERNEL)) { in i915_rsgt_from_buddy_resource()
Di915_vma.c970 ret = sg_alloc_table(st, size, GFP_KERNEL); in intel_rotate_pages()
1180 ret = sg_alloc_table(st, size, GFP_KERNEL); in intel_remap_pages()
1218 ret = sg_alloc_table(st, count, GFP_KERNEL); in intel_partial_pages()
/Linux-v6.1/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-v6.1/drivers/hwtracing/intel_th/
Dmsu-sink.c64 ret = sg_alloc_table(*sgt, nents, GFP_KERNEL); in msu_sink_alloc_window()
/Linux-v6.1/kernel/dma/
Dops_helpers.c25 ret = sg_alloc_table(sgt, 1, GFP_KERNEL); in dma_common_get_sgtable()
/Linux-v6.1/drivers/gpu/drm/i915/gem/selftests/
Dhuge_gem_object.c41 if (sg_alloc_table(pages, npages, GFP)) { in huge_get_pages()
Dmock_dmabuf.c21 err = sg_alloc_table(st, mock->npages, GFP_KERNEL); in mock_map_dma_buf()
Dhuge_pages.c91 if (sg_alloc_table(st, obj->base.size >> PAGE_SHIFT, GFP)) { in get_huge_pages()
220 if (sg_alloc_table(st, obj->base.size >> PAGE_SHIFT, GFP)) { in fake_get_huge_pages()
273 if (sg_alloc_table(st, 1, GFP)) { in fake_get_huge_pages_single()
/Linux-v6.1/drivers/dma-buf/heaps/
Dsystem_heap.c68 ret = sg_alloc_table(new_table, table->orig_nents, GFP_KERNEL); in dup_sg_table()
383 if (sg_alloc_table(table, i, GFP_KERNEL)) in system_heap_allocate()
/Linux-v6.1/drivers/gpu/drm/i915/gem/
Di915_gem_internal.c60 if (sg_alloc_table(st, npages, GFP_KERNEL)) { in i915_gem_object_get_pages_internal()
Di915_gem_phys.c49 if (sg_alloc_table(st, 1, GFP_KERNEL)) in i915_gem_object_get_pages_phys()
Di915_gem_dmabuf.c43 ret = sg_alloc_table(st, obj->mm.pages->orig_nents, GFP_KERNEL); in i915_gem_map_dma_buf()
/Linux-v6.1/drivers/mmc/core/
Dsdio_ops.c154 if (sg_alloc_table(&sgtable, nents, GFP_KERNEL)) in mmc_io_rw_extended()
/Linux-v6.1/drivers/gpu/drm/virtio/
Dvirtgpu_vram.c93 ret = sg_alloc_table(sgt, 1, GFP_KERNEL); in virtio_gpu_vram_map_dma_buf()
/Linux-v6.1/lib/
Dscatterlist.c371 int sg_alloc_table(struct sg_table *table, unsigned int nents, gfp_t gfp_mask) in sg_alloc_table() function
381 EXPORT_SYMBOL(sg_alloc_table);
/Linux-v6.1/drivers/gpu/drm/i915/selftests/
Dscatterlist.c223 if (sg_alloc_table(&pt->st, max, in alloc_table()
/Linux-v6.1/net/ceph/
Dcrypto.c183 ret = sg_alloc_table(sgt, chunk_cnt, GFP_NOFS); in setup_sgtable()
/Linux-v6.1/include/linux/
Dscatterlist.h380 int sg_alloc_table(struct sg_table *, unsigned int, gfp_t);
/Linux-v6.1/drivers/media/common/videobuf2/
Dvideobuf2-vmalloc.c225 ret = sg_alloc_table(sgt, num_pages, GFP_KERNEL); in vb2_vmalloc_dmabuf_ops_attach()
/Linux-v6.1/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()
Dskcipher.c104 ret = sg_alloc_table(&rctx->dst_tbl, rctx->dst_nents, gfp); in qce_skcipher_async_req_handle()
/Linux-v6.1/drivers/gpu/drm/rcar-du/
Drcar_du_vsp.c219 ret = sg_alloc_table(sgt, gem->sgt->orig_nents, in rcar_du_vsp_map_fb()
/Linux-v6.1/drivers/crypto/ccp/
Dccp-crypto-aes-cmac.c110 ret = sg_alloc_table(&rctx->data_sg, sg_count, gfp); in ccp_do_cmac_update()
/Linux-v6.1/drivers/usb/gadget/function/
Duvc_video.c357 sg_alloc_table(&video->ureq[i].sgt, in uvc_video_alloc_requests()
/Linux-v6.1/drivers/gpu/drm/i915/gvt/
Ddmabuf.c70 ret = sg_alloc_table(st, page_num, GFP_KERNEL); in vgpu_gem_get_pages()

123