Home
last modified time | relevance | path

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

/linux-4.1.27/lib/
Dscatterlist.c331 int sg_alloc_table(struct sg_table *table, unsigned int nents, gfp_t gfp_mask) in sg_alloc_table() function
342 EXPORT_SYMBOL(sg_alloc_table);
381 ret = sg_alloc_table(sgt, chunks, gfp_mask); in sg_alloc_table_from_pages()
/linux-4.1.27/drivers/gpu/drm/armada/
Darmada_gem.c439 if (sg_alloc_table(sgt, count, GFP_KERNEL)) in armada_gem_prime_map_dma_buf()
462 if (sg_alloc_table(sgt, 1, GFP_KERNEL)) in armada_gem_prime_map_dma_buf()
471 if (sg_alloc_table(sgt, 1, GFP_KERNEL)) in armada_gem_prime_map_dma_buf()
/linux-4.1.27/drivers/staging/android/ion/
Dion_system_heap.c157 if (sg_alloc_table(table, i, GFP_KERNEL)) in ion_system_heap_allocate()
340 ret = sg_alloc_table(table, 1, GFP_KERNEL); in ion_system_contig_heap_allocate()
Dion_carveout_heap.c87 ret = sg_alloc_table(table, 1, GFP_KERNEL); in ion_carveout_heap_allocate()
Dion_chunk_heap.c61 ret = sg_alloc_table(table, num_chunks, GFP_KERNEL); in ion_chunk_heap_allocate()
/linux-4.1.27/drivers/gpu/drm/omapdrm/
Domap_gem_dmabuf.c44 ret = sg_alloc_table(sg, 1, GFP_KERNEL); in omap_gem_map_dma_buf()
/linux-4.1.27/include/linux/
Dscatterlist.h236 int sg_alloc_table(struct sg_table *, unsigned int, gfp_t);
/linux-4.1.27/drivers/mmc/core/
Dsdio_ops.c162 if (sg_alloc_table(&sgtable, nents, GFP_KERNEL)) in mmc_io_rw_extended()
/linux-4.1.27/drivers/gpu/drm/exynos/
Dexynos_drm_dmabuf.c92 ret = sg_alloc_table(sgt, buf->sgt->orig_nents, GFP_KERNEL); in exynos_gem_map_dma_buf()
/linux-4.1.27/drivers/gpu/drm/udl/
Dudl_dmabuf.c109 ret = sg_alloc_table(sgt, obj->sg->orig_nents, GFP_KERNEL); in udl_map_dma_buf()
/linux-4.1.27/drivers/gpu/drm/tegra/
Dgem.c531 if (sg_alloc_table(sgt, bo->num_pages, GFP_KERNEL)) in tegra_gem_prime_map_dma_buf()
540 if (sg_alloc_table(sgt, 1, GFP_KERNEL)) in tegra_gem_prime_map_dma_buf()
/linux-4.1.27/drivers/base/
Ddma-mapping.c234 ret = sg_alloc_table(sgt, 1, GFP_KERNEL); in dma_common_get_sgtable()
/linux-4.1.27/drivers/infiniband/core/
Dumem.c183 ret = sg_alloc_table(&umem->sg_head, npages, GFP_KERNEL); in ib_umem_get()
/linux-4.1.27/drivers/gpu/drm/i915/
Di915_gem_dmabuf.c60 ret = sg_alloc_table(st, obj->pages->nents, GFP_KERNEL); in i915_gem_map_dma_buf()
Di915_gem_stolen.c357 if (sg_alloc_table(st, 1, GFP_KERNEL)) { in i915_pages_create_for_stolen()
Di915_gem_userptr.c523 ret = sg_alloc_table(*st, num_pages, GFP_KERNEL); in st_set_pages()
Di915_gem.c203 if (sg_alloc_table(st, 1, GFP_KERNEL)) { in i915_gem_object_get_pages_phys()
2059 if (sg_alloc_table(st, page_count, GFP_KERNEL)) { in i915_gem_object_get_pages_gtt()
Di915_gem_gtt.c2668 ret = sg_alloc_table(st, rot_pages, GFP_KERNEL); in intel_rotate_fb_obj_pages()
/linux-4.1.27/drivers/spi/
Dspi-pxa2xx-dma.c49 ret = sg_alloc_table(sgt, nents, GFP_ATOMIC); in pxa2xx_spi_map_dma_buffer()
Dspi-ep93xx.c487 ret = sg_alloc_table(sgt, nents, GFP_KERNEL); in ep93xx_spi_dma_prepare()
Dspi-pl022.c1051 ret = sg_alloc_table(&pl022->sgt_rx, pages, GFP_ATOMIC); in configure_dma()
1055 ret = sg_alloc_table(&pl022->sgt_tx, pages, GFP_ATOMIC); in configure_dma()
Dspi.c486 ret = sg_alloc_table(sgt, sgs, GFP_KERNEL); in spi_map_buf()
/linux-4.1.27/drivers/media/v4l2-core/
Dvideobuf2-vmalloc.c241 ret = sg_alloc_table(sgt, num_pages, GFP_KERNEL); in vb2_vmalloc_dmabuf_ops_attach()
Dvideobuf2-dma-sg.c458 ret = sg_alloc_table(sgt, buf->dma_sgt->orig_nents, GFP_KERNEL); in vb2_dma_sg_dmabuf_ops_attach()
Dvideobuf2-dma-contig.c255 ret = sg_alloc_table(sgt, buf->sgt_base->orig_nents, GFP_KERNEL); in vb2_dc_dmabuf_ops_attach()
/linux-4.1.27/drivers/crypto/qce/
Dablkcipher.c98 ret = sg_alloc_table(&rctx->dst_tbl, rctx->dst_nents, gfp); in qce_ablkcipher_async_req_handle()
/linux-4.1.27/drivers/crypto/ccp/
Dccp-crypto-aes-cmac.c113 ret = sg_alloc_table(&rctx->data_sg, sg_count, gfp); in ccp_do_cmac_update()
Dccp-crypto-sha.c104 ret = sg_alloc_table(&rctx->data_sg, sg_count, gfp); in ccp_do_sha_update()
/linux-4.1.27/net/ceph/
Dcrypto.c127 ret = sg_alloc_table(sgt, chunk_cnt, GFP_NOFS); in setup_sgtable()
/linux-4.1.27/drivers/hsi/
Dhsi.c553 err = sg_alloc_table(&msg->sgt, nents, flags); in hsi_alloc_msg()
/linux-4.1.27/drivers/misc/carma/
Dcarma-fpga-program.c547 ret = sg_alloc_table(&table, num_pages, GFP_KERNEL); in fpga_program_dma()
Dcarma-fpga.c476 ret = sg_alloc_table(table, priv->corl_nents, GFP_KERNEL); in data_setup_corl_table()
/linux-4.1.27/drivers/char/agp/
Dintel-gtt.c106 if (sg_alloc_table(st, num_entries, GFP_KERNEL)) in intel_gtt_map_memory()
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmfmac/
Dbcmsdh.c898 err = sg_alloc_table(&sdiodev->sgtable, nents, GFP_KERNEL); in brcmf_sdiod_sgtable_alloc()
/linux-4.1.27/arch/arm/mm/
Ddma-mapping.c774 ret = sg_alloc_table(sgt, 1, GFP_KERNEL); in arm_dma_get_sgtable()