Lines Matching refs:zbud_pool
75 struct zbud_pool;
78 int (*evict)(struct zbud_pool *pool, unsigned long handle);
101 struct zbud_pool { struct
220 static struct zbud_pool *zbud_create_pool(gfp_t gfp, const struct zbud_ops *ops) in zbud_create_pool()
222 struct zbud_pool *pool; in zbud_create_pool()
225 pool = kzalloc(sizeof(struct zbud_pool), gfp); in zbud_create_pool()
244 static void zbud_destroy_pool(struct zbud_pool *pool) in zbud_destroy_pool()
268 static int zbud_alloc(struct zbud_pool *pool, size_t size, gfp_t gfp, in zbud_alloc()
343 static void zbud_free(struct zbud_pool *pool, unsigned long handle) in zbud_free()
415 static int zbud_reclaim_page(struct zbud_pool *pool, unsigned int retries) in zbud_reclaim_page()
497 static void *zbud_map(struct zbud_pool *pool, unsigned long handle) in zbud_map()
507 static void zbud_unmap(struct zbud_pool *pool, unsigned long handle) in zbud_unmap()
518 static u64 zbud_get_pool_size(struct zbud_pool *pool) in zbud_get_pool_size()
527 static int zbud_zpool_evict(struct zbud_pool *pool, unsigned long handle) in zbud_zpool_evict()
543 struct zbud_pool *pool; in zbud_zpool_create()