Home
last modified time | relevance | path

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

/arch/arm64/mm/
Ddma-mapping.c43 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()
[all …]
/arch/arm/mm/
Ddma-mapping.c324 static size_t atomic_pool_size = DEFAULT_DMA_COHERENT_POOL_SIZE; variable
328 atomic_pool_size = memparse(p, &p); in early_coherent_pool()
344 if (atomic_pool_size == DEFAULT_DMA_COHERENT_POOL_SIZE) in init_dma_coherent_pool_size()
345 atomic_pool_size = size; in init_dma_coherent_pool_size()
363 ptr = __alloc_from_contiguous(NULL, atomic_pool_size, prot, in atomic_pool_init()
366 ptr = __alloc_remap_buffer(NULL, atomic_pool_size, gfp, prot, in atomic_pool_init()
373 atomic_pool_size, -1); in atomic_pool_init()
381 atomic_pool_size / 1024); in atomic_pool_init()
390 atomic_pool_size / 1024); in atomic_pool_init()