/linux-4.1.27/drivers/staging/android/ion/ |
H A D | ion_system_heap.c | 157 if (sg_alloc_table(table, i, GFP_KERNEL)) ion_system_heap_allocate() 340 ret = sg_alloc_table(table, 1, GFP_KERNEL); ion_system_contig_heap_allocate()
|
H A D | ion_carveout_heap.c | 87 ret = sg_alloc_table(table, 1, GFP_KERNEL); ion_carveout_heap_allocate()
|
H A D | ion_chunk_heap.c | 61 ret = sg_alloc_table(table, num_chunks, GFP_KERNEL); ion_chunk_heap_allocate()
|
/linux-4.1.27/lib/ |
H A D | scatterlist.c | 133 * The default behaviour of sg_alloc_table() is to use these kmalloc/kfree 321 * sg_alloc_table - Allocate and initialize an sg table 331 int sg_alloc_table(struct sg_table *table, unsigned int nents, gfp_t gfp_mask) sg_alloc_table() function 342 EXPORT_SYMBOL(sg_alloc_table); variable 381 ret = sg_alloc_table(sgt, chunks, gfp_mask); sg_alloc_table_from_pages()
|
/linux-4.1.27/drivers/gpu/drm/armada/ |
H A D | armada_gem.c | 439 if (sg_alloc_table(sgt, count, GFP_KERNEL)) armada_gem_prime_map_dma_buf() 462 if (sg_alloc_table(sgt, 1, GFP_KERNEL)) armada_gem_prime_map_dma_buf() 471 if (sg_alloc_table(sgt, 1, GFP_KERNEL)) armada_gem_prime_map_dma_buf()
|
/linux-4.1.27/drivers/mmc/core/ |
H A D | sdio_ops.c | 162 if (sg_alloc_table(&sgtable, nents, GFP_KERNEL)) mmc_io_rw_extended()
|
/linux-4.1.27/drivers/gpu/drm/omapdrm/ |
H A D | omap_gem_dmabuf.c | 44 ret = sg_alloc_table(sg, 1, GFP_KERNEL); omap_gem_map_dma_buf()
|
/linux-4.1.27/drivers/gpu/drm/tegra/ |
H A D | gem.c | 531 if (sg_alloc_table(sgt, bo->num_pages, GFP_KERNEL)) tegra_gem_prime_map_dma_buf() 540 if (sg_alloc_table(sgt, 1, GFP_KERNEL)) tegra_gem_prime_map_dma_buf()
|
/linux-4.1.27/net/ceph/ |
H A D | crypto.c | 100 * @prealloc_sg is to avoid memory allocation inside sg_alloc_table() 127 ret = sg_alloc_table(sgt, chunk_cnt, GFP_NOFS); setup_sgtable()
|
/linux-4.1.27/drivers/spi/ |
H A D | spi-pxa2xx-dma.c | 49 ret = sg_alloc_table(sgt, nents, GFP_ATOMIC); pxa2xx_spi_map_dma_buffer()
|
H A D | spi-ep93xx.c | 487 ret = sg_alloc_table(sgt, nents, GFP_KERNEL); ep93xx_spi_dma_prepare()
|
H A D | spi-pl022.c | 1051 ret = sg_alloc_table(&pl022->sgt_rx, pages, GFP_ATOMIC); configure_dma() 1055 ret = sg_alloc_table(&pl022->sgt_tx, pages, GFP_ATOMIC); configure_dma()
|
H A D | spi.c | 486 ret = sg_alloc_table(sgt, sgs, GFP_KERNEL); spi_map_buf()
|
/linux-4.1.27/drivers/gpu/drm/exynos/ |
H A D | exynos_drm_dmabuf.c | 92 ret = sg_alloc_table(sgt, buf->sgt->orig_nents, GFP_KERNEL); exynos_gem_map_dma_buf()
|
/linux-4.1.27/drivers/gpu/drm/i915/ |
H A D | i915_gem_dmabuf.c | 60 ret = sg_alloc_table(st, obj->pages->nents, GFP_KERNEL); i915_gem_map_dma_buf()
|
H A D | i915_gem_stolen.c | 357 if (sg_alloc_table(st, 1, GFP_KERNEL)) { i915_pages_create_for_stolen()
|
H A D | i915_gem_userptr.c | 523 ret = sg_alloc_table(*st, num_pages, GFP_KERNEL); st_set_pages()
|
H A D | i915_gem.c | 203 if (sg_alloc_table(st, 1, GFP_KERNEL)) { i915_gem_object_get_pages_phys() 2059 if (sg_alloc_table(st, page_count, GFP_KERNEL)) { i915_gem_object_get_pages_gtt()
|
H A D | i915_gem_gtt.c | 2668 ret = sg_alloc_table(st, rot_pages, GFP_KERNEL); intel_rotate_fb_obj_pages()
|
/linux-4.1.27/drivers/base/ |
H A D | dma-mapping.c | 234 ret = sg_alloc_table(sgt, 1, GFP_KERNEL); dma_common_get_sgtable()
|
/linux-4.1.27/drivers/gpu/drm/udl/ |
H A D | udl_dmabuf.c | 109 ret = sg_alloc_table(sgt, obj->sg->orig_nents, GFP_KERNEL); udl_map_dma_buf()
|
/linux-4.1.27/drivers/infiniband/core/ |
H A D | umem.c | 183 ret = sg_alloc_table(&umem->sg_head, npages, GFP_KERNEL); ib_umem_get()
|
/linux-4.1.27/drivers/media/v4l2-core/ |
H A D | videobuf2-vmalloc.c | 241 ret = sg_alloc_table(sgt, num_pages, GFP_KERNEL); vb2_vmalloc_dmabuf_ops_attach()
|
H A D | videobuf2-dma-contig.c | 255 ret = sg_alloc_table(sgt, buf->sgt_base->orig_nents, GFP_KERNEL); vb2_dc_dmabuf_ops_attach()
|
H A D | videobuf2-dma-sg.c | 458 ret = sg_alloc_table(sgt, buf->dma_sgt->orig_nents, GFP_KERNEL); vb2_dma_sg_dmabuf_ops_attach()
|
/linux-4.1.27/drivers/crypto/ccp/ |
H A D | ccp-crypto-aes-cmac.c | 113 ret = sg_alloc_table(&rctx->data_sg, sg_count, gfp); ccp_do_cmac_update()
|
H A D | ccp-crypto-sha.c | 104 ret = sg_alloc_table(&rctx->data_sg, sg_count, gfp); ccp_do_sha_update()
|
/linux-4.1.27/drivers/crypto/qce/ |
H A D | ablkcipher.c | 98 ret = sg_alloc_table(&rctx->dst_tbl, rctx->dst_nents, gfp); qce_ablkcipher_async_req_handle()
|
/linux-4.1.27/include/linux/ |
H A D | scatterlist.h | 236 int sg_alloc_table(struct sg_table *, unsigned int, gfp_t);
|
/linux-4.1.27/drivers/hsi/ |
H A D | hsi.c | 553 err = sg_alloc_table(&msg->sgt, nents, flags); hsi_alloc_msg()
|
/linux-4.1.27/drivers/misc/carma/ |
H A D | carma-fpga-program.c | 547 ret = sg_alloc_table(&table, num_pages, GFP_KERNEL); fpga_program_dma()
|
H A D | carma-fpga.c | 476 ret = sg_alloc_table(table, priv->corl_nents, GFP_KERNEL); data_setup_corl_table()
|
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmfmac/ |
H A D | bcmsdh.c | 898 err = sg_alloc_table(&sdiodev->sgtable, nents, GFP_KERNEL); brcmf_sdiod_sgtable_alloc()
|
/linux-4.1.27/drivers/char/agp/ |
H A D | intel-gtt.c | 106 if (sg_alloc_table(st, num_entries, GFP_KERNEL)) intel_gtt_map_memory()
|
/linux-4.1.27/arch/arm/mm/ |
H A D | dma-mapping.c | 774 ret = sg_alloc_table(sgt, 1, GFP_KERNEL); arm_dma_get_sgtable()
|