Lines Matching refs:z3fold_pool
73 struct z3fold_pool;
75 int (*evict)(struct z3fold_pool *pool, unsigned long handle);
119 struct z3fold_pool *pool;
152 struct z3fold_pool { struct
196 static inline struct z3fold_buddy_slots *alloc_slots(struct z3fold_pool *pool, in alloc_slots()
212 static inline struct z3fold_pool *slots_to_pool(struct z3fold_buddy_slots *s) in slots_to_pool()
214 return (struct z3fold_pool *)(s->pool & ~HANDLE_FLAG_MASK); in slots_to_pool()
243 struct z3fold_pool *pool = slots_to_pool(slots); in free_handle()
278 static int z3fold_register_migration(struct z3fold_pool *pool) in z3fold_register_migration()
291 static void z3fold_unregister_migration(struct z3fold_pool *pool) in z3fold_unregister_migration()
299 struct z3fold_pool *pool, gfp_t gfp) in init_z3fold_page()
436 static inline struct z3fold_pool *zhdr_to_pool(struct z3fold_header *zhdr) in zhdr_to_pool()
444 struct z3fold_pool *pool = zhdr_to_pool(zhdr); in __release_z3fold_page()
481 struct z3fold_pool *pool = zhdr_to_pool(zhdr); in release_z3fold_page_locked_list()
492 struct z3fold_pool *pool = container_of(w, struct z3fold_pool, work); in free_pages_work()
537 static inline void add_to_unbuddied(struct z3fold_pool *pool, in add_to_unbuddied()
613 struct z3fold_pool *pool = zhdr_to_pool(zhdr); in do_compact_page()
655 static inline struct z3fold_header *__z3fold_alloc(struct z3fold_pool *pool, in __z3fold_alloc()
765 static struct z3fold_pool *z3fold_create_pool(const char *name, gfp_t gfp, in z3fold_create_pool()
768 struct z3fold_pool *pool = NULL; in z3fold_create_pool()
771 pool = kzalloc(sizeof(struct z3fold_pool), gfp); in z3fold_create_pool()
826 static void z3fold_destroy_pool(struct z3fold_pool *pool) in z3fold_destroy_pool()
864 static int z3fold_alloc(struct z3fold_pool *pool, size_t size, gfp_t gfp, in z3fold_alloc()
996 static void z3fold_free(struct z3fold_pool *pool, unsigned long handle) in z3fold_free()
1112 static int z3fold_reclaim_page(struct z3fold_pool *pool, unsigned int retries) in z3fold_reclaim_page()
1260 static void *z3fold_map(struct z3fold_pool *pool, unsigned long handle) in z3fold_map()
1306 static void z3fold_unmap(struct z3fold_pool *pool, unsigned long handle) in z3fold_unmap()
1332 static u64 z3fold_get_pool_size(struct z3fold_pool *pool) in z3fold_get_pool_size()
1340 struct z3fold_pool *pool; in z3fold_page_isolate()
1377 struct z3fold_pool *pool; in z3fold_page_migrate()
1440 struct z3fold_pool *pool; in z3fold_page_putback()
1469 static int z3fold_zpool_evict(struct z3fold_pool *pool, unsigned long handle) in z3fold_zpool_evict()
1485 struct z3fold_pool *pool; in z3fold_zpool_create()