Searched refs:ion_page_pool (Results 1 – 4 of 4) sorted by relevance
| /Linux-v5.10/drivers/staging/android/ion/ |
| D | ion_page_pool.c | 15 static inline struct page *ion_page_pool_alloc_pages(struct ion_page_pool *pool) in ion_page_pool_alloc_pages() 22 static void ion_page_pool_free_pages(struct ion_page_pool *pool, in ion_page_pool_free_pages() 28 static void ion_page_pool_add(struct ion_page_pool *pool, struct page *page) in ion_page_pool_add() 44 static struct page *ion_page_pool_remove(struct ion_page_pool *pool, bool high) in ion_page_pool_remove() 64 struct page *ion_page_pool_alloc(struct ion_page_pool *pool) in ion_page_pool_alloc() 83 void ion_page_pool_free(struct ion_page_pool *pool, struct page *page) in ion_page_pool_free() 90 static int ion_page_pool_total(struct ion_page_pool *pool, bool high) in ion_page_pool_total() 100 int ion_page_pool_shrink(struct ion_page_pool *pool, gfp_t gfp_mask, in ion_page_pool_shrink() 134 struct ion_page_pool *ion_page_pool_create(gfp_t gfp_mask, unsigned int order) in ion_page_pool_create() 136 struct ion_page_pool *pool = kmalloc(sizeof(*pool), GFP_KERNEL); in ion_page_pool_create() [all …]
|
| D | ion.h | 276 struct ion_page_pool { struct 287 struct ion_page_pool *ion_page_pool_create(gfp_t gfp_mask, unsigned int order); argument 288 void ion_page_pool_destroy(struct ion_page_pool *pool); 289 struct page *ion_page_pool_alloc(struct ion_page_pool *pool); 290 void ion_page_pool_free(struct ion_page_pool *pool, struct page *page); 299 int ion_page_pool_shrink(struct ion_page_pool *pool, gfp_t gfp_mask,
|
| D | ion_system_heap.c | 44 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() 215 static void ion_system_heap_destroy_pools(struct ion_page_pool **pools) in ion_system_heap_destroy_pools() 224 static int ion_system_heap_create_pools(struct ion_page_pool **pools) in ion_system_heap_create_pools() 229 struct ion_page_pool *pool; in ion_system_heap_create_pools()
|
| D | Makefile | 3 obj-$(CONFIG_ION_SYSTEM_HEAP) += ion_system_heap.o ion_page_pool.o
|