Searched refs:atomic_pool_size (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/kernel/dma/ |
H A D | pool.c | 24 static size_t atomic_pool_size; variable 31 atomic_pool_size = memparse(p, &p); in early_coherent_pool() 147 if (pool && gen_pool_avail(pool) < atomic_pool_size) in atomic_pool_resize() 195 if (!atomic_pool_size) { in dma_atomic_pool_init() 198 atomic_pool_size = max_t(size_t, pages << PAGE_SHIFT, SZ_128K); in dma_atomic_pool_init() 202 atomic_pool_kernel = __dma_atomic_pool_init(atomic_pool_size, in dma_atomic_pool_init() 207 atomic_pool_dma = __dma_atomic_pool_init(atomic_pool_size, in dma_atomic_pool_init() 213 atomic_pool_dma32 = __dma_atomic_pool_init(atomic_pool_size, in dma_atomic_pool_init() 257 if (gen_pool_avail(pool) < atomic_pool_size) in __dma_alloc_from_pool()
|
/openbmc/linux/arch/arm/mm/ |
H A D | dma-mapping.c | 188 static size_t atomic_pool_size __initdata = DEFAULT_DMA_COHERENT_POOL_SIZE; 192 atomic_pool_size = memparse(p, &p); in early_coherent_pool() 215 ptr = __alloc_from_contiguous(NULL, atomic_pool_size, prot, in atomic_pool_init() 219 ptr = __alloc_remap_buffer(NULL, atomic_pool_size, gfp, prot, in atomic_pool_init() 226 atomic_pool_size, -1); in atomic_pool_init() 234 atomic_pool_size / 1024); in atomic_pool_init() 243 atomic_pool_size / 1024); in atomic_pool_init()
|