Searched refs:ion_page_pool (Results 1 – 4 of 4) sorted by relevance
/linux-4.1.27/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() 38 static void ion_page_pool_free_pages(struct ion_page_pool *pool, in ion_page_pool_free_pages() 44 static int ion_page_pool_add(struct ion_page_pool *pool, struct page *page) in ion_page_pool_add() 58 static struct page *ion_page_pool_remove(struct ion_page_pool *pool, bool high) in ion_page_pool_remove() 76 struct page *ion_page_pool_alloc(struct ion_page_pool *pool) in ion_page_pool_alloc() 95 void ion_page_pool_free(struct ion_page_pool *pool, struct page *page) in ion_page_pool_free() 106 static int ion_page_pool_total(struct ion_page_pool *pool, bool high) in ion_page_pool_total() 116 int ion_page_pool_shrink(struct ion_page_pool *pool, gfp_t gfp_mask, in ion_page_pool_shrink() 149 struct ion_page_pool *ion_page_pool_create(gfp_t gfp_mask, unsigned int order) in ion_page_pool_create() 151 struct ion_page_pool *pool = kmalloc(sizeof(struct ion_page_pool), in ion_page_pool_create() [all …]
|
D | ion_priv.h | 368 struct ion_page_pool { struct 379 struct ion_page_pool *ion_page_pool_create(gfp_t gfp_mask, unsigned int order); argument 380 void ion_page_pool_destroy(struct ion_page_pool *); 381 struct page *ion_page_pool_alloc(struct ion_page_pool *); 382 void ion_page_pool_free(struct ion_page_pool *, struct page *); 391 int ion_page_pool_shrink(struct ion_page_pool *pool, gfp_t gfp_mask,
|
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() 220 struct ion_page_pool *pool = sys_heap->pools[i]; in ion_system_heap_shrink() 249 struct ion_page_pool *pool = sys_heap->pools[i]; in ion_system_heap_debug_show() 267 sizeof(struct ion_page_pool *) * num_orders, in ion_system_heap_create() 276 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 \
|