Home
last modified time | relevance | path

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

/linux-4.1.27/include/linux/
Dgenalloc.h55 struct gen_pool { struct
76 extern struct gen_pool *gen_pool_create(int, int); argument
77 extern phys_addr_t gen_pool_virt_to_phys(struct gen_pool *pool, unsigned long);
78 extern int gen_pool_add_virt(struct gen_pool *, unsigned long, phys_addr_t,
92 static inline int gen_pool_add(struct gen_pool *pool, unsigned long addr, in gen_pool_add()
97 extern void gen_pool_destroy(struct gen_pool *);
98 extern unsigned long gen_pool_alloc(struct gen_pool *, size_t);
99 extern void *gen_pool_dma_alloc(struct gen_pool *pool, size_t size,
101 extern void gen_pool_free(struct gen_pool *, unsigned long, size_t);
102 extern void gen_pool_for_each_chunk(struct gen_pool *,
[all …]
/linux-4.1.27/lib/
Dgenalloc.c152 struct gen_pool *gen_pool_create(int min_alloc_order, int nid) in gen_pool_create()
154 struct gen_pool *pool; in gen_pool_create()
156 pool = kmalloc_node(sizeof(struct gen_pool), GFP_KERNEL, nid); in gen_pool_create()
181 int gen_pool_add_virt(struct gen_pool *pool, unsigned long virt, phys_addr_t phys, in gen_pool_add_virt()
213 phys_addr_t gen_pool_virt_to_phys(struct gen_pool *pool, unsigned long addr) in gen_pool_virt_to_phys()
238 void gen_pool_destroy(struct gen_pool *pool) in gen_pool_destroy()
270 unsigned long gen_pool_alloc(struct gen_pool *pool, size_t size) in gen_pool_alloc()
325 void *gen_pool_dma_alloc(struct gen_pool *pool, size_t size, dma_addr_t *dma) in gen_pool_dma_alloc()
353 void gen_pool_free(struct gen_pool *pool, unsigned long addr, size_t size) in gen_pool_free()
391 void gen_pool_for_each_chunk(struct gen_pool *pool, in gen_pool_for_each_chunk()
[all …]
/linux-4.1.27/include/linux/platform_data/
Ddma-mmp_tdma.h32 extern struct gen_pool *sram_get_gpool(char *pool_name);
34 static inline struct gen_pool *sram_get_gpool(char *pool_name) in sram_get_gpool()
Duio_pruss.h24 struct gen_pool *sram_pool;
Ddavinci_asp.h34 struct gen_pool *sram_pool;
/linux-4.1.27/arch/arm/mach-davinci/
Dsram.c19 static struct gen_pool *sram_pool;
21 struct gen_pool *sram_get_gen_pool(void) in sram_get_gen_pool()
/linux-4.1.27/arch/ia64/kernel/
Duncached.c35 struct gen_pool *pool;
229 struct gen_pool *pool = uncached_pools[nid].pool; in uncached_free_page()
255 struct gen_pool *pool = uncached_pools[nid].pool; in uncached_build_memmap()
/linux-4.1.27/arch/arm/mach-mmp/
Dsram.c29 struct gen_pool *gpool;
42 struct gen_pool *sram_get_gpool(char *pool_name) in sram_get_gpool()
/linux-4.1.27/arch/sh/mm/
Dsram.c22 struct gen_pool *sram_pool;
/linux-4.1.27/arch/arm/mach-davinci/include/mach/
Dsram.h28 extern struct gen_pool *sram_get_gen_pool(void);
/linux-4.1.27/arch/avr32/mach-at32ap/include/mach/
Dsram.h15 extern struct gen_pool *sram_pool;
/linux-4.1.27/arch/sh/include/asm/
Dsram.h10 extern struct gen_pool *sram_pool;
/linux-4.1.27/sound/core/
Dmemalloc.c121 struct gen_pool *pool = NULL; in snd_malloc_dev_iram()
144 struct gen_pool *pool = dmab->private_data; in snd_free_dev_iram()
/linux-4.1.27/drivers/dma/
Dmmp_tdma.c130 struct gen_pool *pool;
360 struct gen_pool *gpool; in mmp_tdma_free_descriptor()
410 struct gen_pool *gpool; in mmp_tdma_alloc_descriptor()
544 int type, struct gen_pool *pool) in mmp_tdma_chan_init()
632 struct gen_pool *pool = NULL; in mmp_tdma_probe()
/linux-4.1.27/sound/soc/pxa/
Dmmp-pcm.c149 struct gen_pool *gpool; in mmp_pcm_free_dma_buffers()
177 struct gen_pool *gpool; in mmp_pcm_preallocate_dma_buffer()
/linux-4.1.27/drivers/infiniband/hw/cxgb3/
Dcxio_hal.h111 struct gen_pool *pbl_pool;
112 struct gen_pool *rqt_pool;
/linux-4.1.27/arch/metag/kernel/
Dtcm.c21 struct gen_pool *pool;
/linux-4.1.27/arch/hexagon/kernel/
Ddma.c58 static struct gen_pool *coherent_pool;
/linux-4.1.27/drivers/staging/android/ion/
Dion_carveout_heap.c30 struct gen_pool *pool;
Dion_chunk_heap.c29 struct gen_pool *pool;
/linux-4.1.27/arch/arm/kernel/
Dtcm.c21 static struct gen_pool *tcm_pool;
/linux-4.1.27/drivers/misc/
Dsram.c38 struct gen_pool *pool;
/linux-4.1.27/drivers/uio/
Duio_pruss.c72 struct gen_pool *sram_pool;
/linux-4.1.27/arch/arm/mach-at91/
Dpm.c353 struct gen_pool *sram_pool; in at91_pm_sram_init()
/linux-4.1.27/drivers/infiniband/hw/cxgb4/
Diw_cxgb4.h173 struct gen_pool *pbl_pool;
174 struct gen_pool *rqt_pool;
175 struct gen_pool *ocqp_pool;
/linux-4.1.27/drivers/media/platform/coda/
Dcoda.h86 struct gen_pool *iram_pool;
Dcoda-common.c2092 struct gen_pool *pool; in coda_probe()
/linux-4.1.27/arch/arm/mach-imx/
Dpm-imx6.c434 struct gen_pool *ocram_pool; in imx6q_suspend_init()
/linux-4.1.27/drivers/acpi/apei/
Dghes.c128 static struct gen_pool *ghes_estatus_pool;
201 static void ghes_estatus_pool_free_chunk_page(struct gen_pool *pool, in ghes_estatus_pool_free_chunk_page()
/linux-4.1.27/arch/arm64/mm/
Ddma-mapping.c42 static struct gen_pool *atomic_pool;
/linux-4.1.27/drivers/video/fbdev/
Dsh_mobile_meram.c160 struct gen_pool *pool;
/linux-4.1.27/drivers/net/caif/
Dcaif_virtio.c122 struct gen_pool *genpool;
/linux-4.1.27/arch/avr32/mach-at32ap/
Dat32ap700x.c2353 struct gen_pool *sram_pool;
2357 struct gen_pool *pool; in sram_init()
/linux-4.1.27/drivers/iommu/
Dfsl_pamu.c77 static struct gen_pool *spaace_pool;
/linux-4.1.27/arch/arm/mm/
Ddma-mapping.c318 static struct gen_pool *atomic_pool;