Searched refs:zbud_pool (Results 1 - 2 of 2) sorted by relevance
/linux-4.1.27/include/linux/ |
H A D | zbud.h | 6 struct zbud_pool; 9 int (*evict)(struct zbud_pool *pool, unsigned long handle); 12 struct zbud_pool *zbud_create_pool(gfp_t gfp, struct zbud_ops *ops); 13 void zbud_destroy_pool(struct zbud_pool *pool); 14 int zbud_alloc(struct zbud_pool *pool, size_t size, gfp_t gfp, 16 void zbud_free(struct zbud_pool *pool, unsigned long handle); 17 int zbud_reclaim_page(struct zbud_pool *pool, unsigned int retries); 18 void *zbud_map(struct zbud_pool *pool, unsigned long handle); 19 void zbud_unmap(struct zbud_pool *pool, unsigned long handle); 20 u64 zbud_get_pool_size(struct zbud_pool *pool);
|
/linux-4.1.27/mm/ |
H A D | zbud.c | 76 * struct zbud_pool - stores metadata for each zbud pool 93 struct zbud_pool { struct 124 static int zbud_zpool_evict(struct zbud_pool *pool, unsigned long handle) zbud_zpool_evict() 290 struct zbud_pool *zbud_create_pool(gfp_t gfp, struct zbud_ops *ops) zbud_create_pool() 292 struct zbud_pool *pool; zbud_create_pool() 295 pool = kmalloc(sizeof(struct zbud_pool), gfp); zbud_create_pool() 314 void zbud_destroy_pool(struct zbud_pool *pool) zbud_destroy_pool() 338 int zbud_alloc(struct zbud_pool *pool, size_t size, gfp_t gfp, zbud_alloc() 414 void zbud_free(struct zbud_pool *pool, unsigned long handle) zbud_free() 489 int zbud_reclaim_page(struct zbud_pool *pool, unsigned int retries) zbud_reclaim_page() 571 void *zbud_map(struct zbud_pool *pool, unsigned long handle) zbud_map() 581 void zbud_unmap(struct zbud_pool *pool, unsigned long handle) zbud_unmap() 592 u64 zbud_get_pool_size(struct zbud_pool *pool) zbud_get_pool_size()
|
Completed in 114 milliseconds