Home
last modified time | relevance | path

Searched refs:atomic_pool_size (Results 1 – 2 of 2) sorted by relevance

/linux-5.19.10/kernel/dma/
Dpool.c24 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()
/linux-5.19.10/arch/arm/mm/
Ddma-mapping.c321 static size_t atomic_pool_size __initdata = DEFAULT_DMA_COHERENT_POOL_SIZE;
325 atomic_pool_size = memparse(p, &p); in early_coherent_pool()
348 ptr = __alloc_from_contiguous(NULL, atomic_pool_size, prot, in atomic_pool_init()
352 ptr = __alloc_remap_buffer(NULL, atomic_pool_size, gfp, prot, in atomic_pool_init()
359 atomic_pool_size, -1); in atomic_pool_init()
367 atomic_pool_size / 1024); in atomic_pool_init()
376 atomic_pool_size / 1024); in atomic_pool_init()