Home
last modified time | relevance | path

Searched refs:ion_page_pool (Results 1 – 4 of 4) sorted by relevance

/Linux-v4.19/drivers/staging/android/ion/
Dion_page_pool.c14 static inline struct page *ion_page_pool_alloc_pages(struct ion_page_pool *pool) in ion_page_pool_alloc_pages()
19 static void ion_page_pool_free_pages(struct ion_page_pool *pool, in ion_page_pool_free_pages()
25 static void ion_page_pool_add(struct ion_page_pool *pool, struct page *page) in ion_page_pool_add()
41 static struct page *ion_page_pool_remove(struct ion_page_pool *pool, bool high) in ion_page_pool_remove()
61 struct page *ion_page_pool_alloc(struct ion_page_pool *pool) in ion_page_pool_alloc()
80 void ion_page_pool_free(struct ion_page_pool *pool, struct page *page) in ion_page_pool_free()
87 static int ion_page_pool_total(struct ion_page_pool *pool, bool high) in ion_page_pool_total()
97 int ion_page_pool_shrink(struct ion_page_pool *pool, gfp_t gfp_mask, in ion_page_pool_shrink()
131 struct ion_page_pool *ion_page_pool_create(gfp_t gfp_mask, unsigned int order) in ion_page_pool_create()
133 struct ion_page_pool *pool = kmalloc(sizeof(*pool), GFP_KERNEL); in ion_page_pool_create()
[all …]
Dion.h303 struct ion_page_pool { struct
314 struct ion_page_pool *ion_page_pool_create(gfp_t gfp_mask, unsigned int order); argument
315 void ion_page_pool_destroy(struct ion_page_pool *pool);
316 struct page *ion_page_pool_alloc(struct ion_page_pool *pool);
317 void ion_page_pool_free(struct ion_page_pool *pool, struct page *page);
326 int ion_page_pool_shrink(struct ion_page_pool *pool, gfp_t gfp_mask,
Dion_system_heap.c44 struct ion_page_pool *pools[NUM_ORDERS];
51 struct ion_page_pool *pool = heap->pools[order_to_index(order)]; in alloc_buffer_page()
59 struct ion_page_pool *pool; in free_buffer_page()
174 struct ion_page_pool *pool; in ion_system_heap_shrink()
222 struct ion_page_pool *pool; in ion_system_heap_debug_show()
238 static void ion_system_heap_destroy_pools(struct ion_page_pool **pools) in ion_system_heap_destroy_pools()
247 static int ion_system_heap_create_pools(struct ion_page_pool **pools) in ion_system_heap_create_pools()
253 struct ion_page_pool *pool; in ion_system_heap_create_pools()
DMakefile3 obj-$(CONFIG_ION_SYSTEM_HEAP) += ion_system_heap.o ion_page_pool.o