Lines Matching refs:atomic_pool_size
43 static size_t atomic_pool_size __initdata = DEFAULT_DMA_COHERENT_POOL_SIZE;
47 atomic_pool_size = memparse(p, &p); in early_coherent_pool()
364 unsigned long nr_pages = atomic_pool_size >> PAGE_SHIFT; in atomic_pool_init()
367 unsigned int pool_size_order = get_order(atomic_pool_size); in atomic_pool_init()
379 memset(page_addr, 0, atomic_pool_size); in atomic_pool_init()
380 __dma_flush_range(page_addr, page_addr + atomic_pool_size); in atomic_pool_init()
386 addr = dma_common_contiguous_remap(page, atomic_pool_size, in atomic_pool_init()
394 atomic_pool_size, -1); in atomic_pool_init()
403 atomic_pool_size / 1024); in atomic_pool_init()
409 dma_common_free_remap(addr, atomic_pool_size, VM_USERMAP); in atomic_pool_init()
418 atomic_pool_size / 1024); in atomic_pool_init()