Searched refs:ion_page_pool (Results 1 – 4 of 4) sorted by relevance
/drivers/staging/android/ion/ |
D | ion_page_pool.c | 27 static void *ion_page_pool_alloc_pages(struct ion_page_pool *pool) in ion_page_pool_alloc_pages() 40 static void ion_page_pool_free_pages(struct ion_page_pool *pool, in ion_page_pool_free_pages() 47 static int ion_page_pool_add(struct ion_page_pool *pool, struct page *page) in ion_page_pool_add() 61 static struct page *ion_page_pool_remove(struct ion_page_pool *pool, bool high) in ion_page_pool_remove() 79 struct page *ion_page_pool_alloc(struct ion_page_pool *pool) in ion_page_pool_alloc() 98 void ion_page_pool_free(struct ion_page_pool *pool, struct page *page) in ion_page_pool_free() 109 void ion_page_pool_free_immediate(struct ion_page_pool *pool, struct page *page) in ion_page_pool_free_immediate() 114 static int ion_page_pool_total(struct ion_page_pool *pool, bool high) in ion_page_pool_total() 124 int ion_page_pool_shrink(struct ion_page_pool *pool, gfp_t gfp_mask, in ion_page_pool_shrink() 158 struct ion_page_pool *ion_page_pool_create(gfp_t gfp_mask, unsigned int order) in ion_page_pool_create() [all …]
|
D | ion_priv.h | 372 struct ion_page_pool { struct 383 struct ion_page_pool *ion_page_pool_create(gfp_t gfp_mask, unsigned int order); argument 384 void ion_page_pool_destroy(struct ion_page_pool *); 385 struct page *ion_page_pool_alloc(struct ion_page_pool *); 386 void ion_page_pool_free(struct ion_page_pool *, struct page *); 387 void ion_page_pool_free_immediate(struct ion_page_pool *, struct page *); 391 (struct ion_page_pool *pool, in ion_page_pool_alloc_set_cache_policy() 400 (struct ion_page_pool *pool, in ion_page_pool_free_set_cache_policy() 410 (struct ion_page_pool *pool, in ion_page_pool_alloc_set_cache_policy() 414 (struct ion_page_pool *pool, in ion_page_pool_free_set_cache_policy() [all …]
|
D | ion_system_heap.c | 52 struct ion_page_pool *pools[0]; 60 struct ion_page_pool *pool = heap->pools[order_to_index(order)]; in alloc_buffer_page() 87 struct ion_page_pool *pool = heap->pools[order_to_index(order)]; in free_buffer_page() 229 struct ion_page_pool *pool = sys_heap->pools[i]; in ion_system_heap_shrink() 266 struct ion_page_pool *pool = sys_heap->pools[i]; in ion_system_heap_debug_show() 284 sizeof(struct ion_page_pool *) * num_orders, in ion_system_heap_create() 293 struct ion_page_pool *pool; in ion_system_heap_create()
|
D | Makefile | 1 obj-$(CONFIG_ION) += ion.o ion_heap.o ion_page_pool.o ion_system_heap.o \
|