Searched refs:atomic_pool (Results 1 - 2 of 2) sorted by relevance
/linux-4.4.14/arch/arm64/mm/ |
H A D | dma-mapping.c | 40 static struct gen_pool *atomic_pool; variable in typeref:struct:gen_pool 57 if (!atomic_pool) { __alloc_from_pool() 62 val = gen_pool_alloc(atomic_pool, size); __alloc_from_pool() 64 phys_addr_t phys = gen_pool_virt_to_phys(atomic_pool, val); __alloc_from_pool() 76 return addr_in_gen_pool(atomic_pool, (unsigned long)start, size); __in_atomic_pool() 84 gen_pool_free(atomic_pool, (unsigned long)start, size); __free_from_pool() 382 atomic_pool = gen_pool_create(PAGE_SHIFT, -1); atomic_pool_init() 383 if (!atomic_pool) atomic_pool_init() 392 ret = gen_pool_add_virt(atomic_pool, (unsigned long)addr, atomic_pool_init() 398 gen_pool_set_algo(atomic_pool, atomic_pool_init() 411 gen_pool_destroy(atomic_pool); atomic_pool_init() 412 atomic_pool = NULL; atomic_pool_init()
|
/linux-4.4.14/arch/arm/mm/ |
H A D | dma-mapping.c | 322 static struct gen_pool *atomic_pool; variable in typeref:struct:gen_pool 338 BUG_ON(atomic_pool); init_dma_coherent_pool_size() 358 atomic_pool = gen_pool_create(PAGE_SHIFT, -1); atomic_pool_init() 359 if (!atomic_pool) atomic_pool_init() 371 ret = gen_pool_add_virt(atomic_pool, (unsigned long)ptr, atomic_pool_init() 377 gen_pool_set_algo(atomic_pool, atomic_pool_init() 386 gen_pool_destroy(atomic_pool); atomic_pool_init() 387 atomic_pool = NULL; atomic_pool_init() 500 if (!atomic_pool) { __alloc_from_pool() 505 val = gen_pool_alloc(atomic_pool, size); __alloc_from_pool() 507 phys_addr_t phys = gen_pool_virt_to_phys(atomic_pool, val); __alloc_from_pool() 518 return addr_in_gen_pool(atomic_pool, (unsigned long)start, size); __in_atomic_pool() 526 gen_pool_free(atomic_pool, (unsigned long)start, size); __free_from_pool() 1306 phys = gen_pool_virt_to_phys(atomic_pool, (unsigned long)addr); __atomic_get_pages()
|
Completed in 96 milliseconds