Searched refs:pool_size (Results 1 – 1 of 1) sorted by relevance
/kernel/dma/ |
D | pool.c | 79 static int atomic_pool_expand(struct gen_pool *pool, size_t pool_size, in atomic_pool_expand() argument 88 order = min(get_order(pool_size), MAX_ORDER-1); in atomic_pool_expand() 91 pool_size = 1 << (PAGE_SHIFT + order); in atomic_pool_expand() 101 arch_dma_prep_coherent(page, pool_size); in atomic_pool_expand() 104 addr = dma_common_contiguous_remap(page, pool_size, in atomic_pool_expand() 121 pool_size, NUMA_NO_NODE); in atomic_pool_expand() 125 dma_atomic_pool_size_add(gfp, pool_size); in atomic_pool_expand() 137 dma_common_free_remap(addr, pool_size); in atomic_pool_expand() 162 static __init struct gen_pool *__dma_atomic_pool_init(size_t pool_size, in __dma_atomic_pool_init() argument 174 ret = atomic_pool_expand(pool, pool_size, gfp); in __dma_atomic_pool_init() [all …]
|