/linux-4.4.14/include/linux/ |
H A D | genalloc.h | 55 struct gen_pool { struct 78 extern struct gen_pool *gen_pool_create(int, int); 79 extern phys_addr_t gen_pool_virt_to_phys(struct gen_pool *pool, unsigned long); 80 extern int gen_pool_add_virt(struct gen_pool *, unsigned long, phys_addr_t, 94 static inline int gen_pool_add(struct gen_pool *pool, unsigned long addr, gen_pool_add() 99 extern void gen_pool_destroy(struct gen_pool *); 100 extern unsigned long gen_pool_alloc(struct gen_pool *, size_t); 101 extern void *gen_pool_dma_alloc(struct gen_pool *pool, size_t size, 103 extern void gen_pool_free(struct gen_pool *, unsigned long, size_t); 104 extern void gen_pool_for_each_chunk(struct gen_pool *, 105 void (*)(struct gen_pool *, struct gen_pool_chunk *, void *), void *); 106 extern size_t gen_pool_avail(struct gen_pool *); 107 extern size_t gen_pool_size(struct gen_pool *); 109 extern void gen_pool_set_algo(struct gen_pool *pool, genpool_algo_t algo, 122 extern struct gen_pool *devm_gen_pool_create(struct device *dev, 124 extern struct gen_pool *gen_pool_get(struct device *dev, const char *name); 126 bool addr_in_gen_pool(struct gen_pool *pool, unsigned long start, 130 extern struct gen_pool *of_gen_pool_get(struct device_node *np, 133 static inline struct gen_pool *of_gen_pool_get(struct device_node *np, of_gen_pool_get()
|
/linux-4.4.14/include/linux/platform_data/ |
H A D | dma-mmp_tdma.h | 32 extern struct gen_pool *sram_get_gpool(char *pool_name); 34 static inline struct gen_pool *sram_get_gpool(char *pool_name) sram_get_gpool()
|
H A D | uio_pruss.h | 24 struct gen_pool *sram_pool;
|
H A D | davinci_asp.h | 34 struct gen_pool *sram_pool;
|
/linux-4.4.14/lib/ |
H A D | genalloc.c | 152 struct gen_pool *gen_pool_create(int min_alloc_order, int nid) gen_pool_create() 154 struct gen_pool *pool; gen_pool_create() 156 pool = kmalloc_node(sizeof(struct gen_pool), GFP_KERNEL, nid); gen_pool_create() 182 int gen_pool_add_virt(struct gen_pool *pool, unsigned long virt, phys_addr_t phys, gen_pool_add_virt() 214 phys_addr_t gen_pool_virt_to_phys(struct gen_pool *pool, unsigned long addr) gen_pool_virt_to_phys() 239 void gen_pool_destroy(struct gen_pool *pool) gen_pool_destroy() 271 unsigned long gen_pool_alloc(struct gen_pool *pool, size_t size) gen_pool_alloc() 326 void *gen_pool_dma_alloc(struct gen_pool *pool, size_t size, dma_addr_t *dma) gen_pool_dma_alloc() 354 void gen_pool_free(struct gen_pool *pool, unsigned long addr, size_t size) gen_pool_free() 392 void gen_pool_for_each_chunk(struct gen_pool *pool, gen_pool_for_each_chunk() 393 void (*func)(struct gen_pool *pool, struct gen_pool_chunk *chunk, void *data), gen_pool_for_each_chunk() 414 bool addr_in_gen_pool(struct gen_pool *pool, unsigned long start, addr_in_gen_pool() 440 size_t gen_pool_avail(struct gen_pool *pool) gen_pool_avail() 459 size_t gen_pool_size(struct gen_pool *pool) gen_pool_size() 482 void gen_pool_set_algo(struct gen_pool *pool, genpool_algo_t algo, void *data) gen_pool_set_algo() 571 gen_pool_destroy(*(struct gen_pool **)res); devm_gen_pool_release() 576 struct gen_pool **p = res; devm_gen_pool_match() 589 * gen_pool_get - Obtain the gen_pool (if any) for a device 590 * @dev: device to retrieve the gen_pool from 591 * @name: name of a gen_pool or NULL, identifies a particular gen_pool on device 593 * Returns the gen_pool for the device if one is present, or NULL. 595 struct gen_pool *gen_pool_get(struct device *dev, const char *name) gen_pool_get() 597 struct gen_pool **p; gen_pool_get() 609 * @dev: device that provides the gen_pool 611 * @nid: node selector for allocated gen_pool, %NUMA_NO_NODE for all nodes 612 * @name: name of a gen_pool or NULL, identifies a particular gen_pool on device 618 struct gen_pool *devm_gen_pool_create(struct device *dev, int min_alloc_order, devm_gen_pool_create() 621 struct gen_pool **ptr, *pool; devm_gen_pool_create() 668 struct gen_pool *of_gen_pool_get(struct device_node *np, of_gen_pool_get() 674 struct gen_pool *pool = NULL; of_gen_pool_get() 682 /* Check if named gen_pool is created by parent node device */ of_gen_pool_get()
|
/linux-4.4.14/arch/arm/mach-davinci/include/mach/ |
H A D | sram.h | 27 /* Get the struct gen_pool * for use in platform data */ 28 extern struct gen_pool *sram_get_gen_pool(void);
|
/linux-4.4.14/arch/sh/include/asm/ |
H A D | sram.h | 10 extern struct gen_pool *sram_pool;
|
/linux-4.4.14/arch/avr32/mach-at32ap/include/mach/ |
H A D | sram.h | 15 extern struct gen_pool *sram_pool;
|
/linux-4.4.14/arch/x86/kernel/cpu/mcheck/ |
H A D | mce-genpool.c | 25 static struct gen_pool *mce_evt_pool; 73 struct gen_pool *tmpp; mce_gen_pool_create()
|
/linux-4.4.14/arch/arm/mach-davinci/ |
H A D | sram.c | 19 static struct gen_pool *sram_pool; 21 struct gen_pool *sram_get_gen_pool(void) sram_get_gen_pool()
|
/linux-4.4.14/arch/sh/mm/ |
H A D | sram.c | 22 struct gen_pool *sram_pool;
|
/linux-4.4.14/arch/arm/mach-mmp/ |
H A D | sram.c | 29 struct gen_pool *gpool; 42 struct gen_pool *sram_get_gpool(char *pool_name) sram_get_gpool()
|
/linux-4.4.14/sound/soc/pxa/ |
H A D | mmp-pcm.c | 149 struct gen_pool *gpool; mmp_pcm_free_dma_buffers() 177 struct gen_pool *gpool; mmp_pcm_preallocate_dma_buffer()
|
/linux-4.4.14/arch/ia64/kernel/ |
H A D | uncached.c | 35 struct gen_pool *pool; 229 struct gen_pool *pool = uncached_pools[nid].pool; uncached_free_page() 255 struct gen_pool *pool = uncached_pools[nid].pool; uncached_build_memmap()
|
/linux-4.4.14/drivers/dma/ |
H A D | mmp_tdma.c | 129 struct gen_pool *pool; 359 struct gen_pool *gpool; mmp_tdma_free_descriptor() 409 struct gen_pool *gpool; mmp_tdma_alloc_descriptor() 543 int type, struct gen_pool *pool) mmp_tdma_chan_init() 631 struct gen_pool *pool = NULL; mmp_tdma_probe()
|
/linux-4.4.14/arch/metag/kernel/ |
H A D | tcm.c | 21 struct gen_pool *pool;
|
/linux-4.4.14/arch/arm/mach-socfpga/ |
H A D | pm.c | 41 struct gen_pool *ocram_pool; socfpga_setup_ocram_self_refresh()
|
/linux-4.4.14/drivers/infiniband/hw/cxgb3/ |
H A D | cxio_hal.h | 111 struct gen_pool *pbl_pool; 112 struct gen_pool *rqt_pool;
|
/linux-4.4.14/sound/core/ |
H A D | memalloc.c | 121 struct gen_pool *pool = NULL; snd_malloc_dev_iram() 144 struct gen_pool *pool = dmab->private_data; snd_free_dev_iram()
|
/linux-4.4.14/drivers/staging/android/ion/ |
H A D | ion_carveout_heap.c | 30 struct gen_pool *pool;
|
H A D | ion_chunk_heap.c | 29 struct gen_pool *pool;
|
/linux-4.4.14/arch/hexagon/kernel/ |
H A D | dma.c | 47 static struct gen_pool *coherent_pool;
|
/linux-4.4.14/drivers/misc/ |
H A D | sram.c | 34 struct gen_pool *pool; 43 struct gen_pool *pool;
|
/linux-4.4.14/drivers/uio/ |
H A D | uio_pruss.c | 73 struct gen_pool *sram_pool;
|
/linux-4.4.14/drivers/media/platform/coda/ |
H A D | coda.h | 86 struct gen_pool *iram_pool;
|
H A D | coda-common.c | 2111 struct gen_pool *pool; coda_probe()
|
/linux-4.4.14/drivers/net/caif/ |
H A D | caif_virtio.c | 122 struct gen_pool *genpool; 571 netdev_warn(cfv->ndev, "Out of gen_pool memory\n"); cfv_netdev_tx()
|
/linux-4.4.14/arch/arm/mach-omap2/ |
H A D | omap4-common.c | 132 struct gen_pool *sram_pool; omap4_sram_init()
|
/linux-4.4.14/arch/arm/kernel/ |
H A D | tcm.c | 24 static struct gen_pool *tcm_pool;
|
/linux-4.4.14/arch/arm/mach-at91/ |
H A D | pm.c | 358 struct gen_pool *sram_pool; at91_pm_sram_init()
|
/linux-4.4.14/arch/arm/mach-imx/ |
H A D | pm-imx5.c | 280 struct gen_pool *ocram_pool; imx_suspend_alloc_ocram()
|
H A D | pm-imx6.c | 455 struct gen_pool *ocram_pool; imx6q_suspend_init()
|
/linux-4.4.14/drivers/infiniband/hw/cxgb4/ |
H A D | iw_cxgb4.h | 171 struct gen_pool *pbl_pool; 172 struct gen_pool *rqt_pool; 173 struct gen_pool *ocqp_pool;
|
/linux-4.4.14/drivers/acpi/apei/ |
H A D | ghes.c | 124 static struct gen_pool *ghes_estatus_pool; 201 static void ghes_estatus_pool_free_chunk_page(struct gen_pool *pool, ghes_estatus_pool_free_chunk_page()
|
/linux-4.4.14/drivers/video/fbdev/ |
H A D | sh_mobile_meram.c | 160 struct gen_pool *pool;
|
/linux-4.4.14/drivers/crypto/marvell/ |
H A D | cesa.h | 446 struct gen_pool *pool;
|
/linux-4.4.14/arch/avr32/mach-at32ap/ |
H A D | at32ap700x.c | 2330 struct gen_pool *sram_pool; 2334 struct gen_pool *pool; sram_init()
|
/linux-4.4.14/drivers/iommu/ |
H A D | fsl_pamu.c | 77 static struct gen_pool *spaace_pool;
|
/linux-4.4.14/drivers/crypto/ |
H A D | mv_cesa.c | 89 struct gen_pool *sram_pool;
|
/linux-4.4.14/arch/arm64/mm/ |
H A D | dma-mapping.c | 40 static struct gen_pool *atomic_pool;
|
/linux-4.4.14/arch/arm/mm/ |
H A D | dma-mapping.c | 322 static struct gen_pool *atomic_pool;
|