Lines Matching refs:z3fold_pool
74 struct z3fold_pool;
76 int (*evict)(struct z3fold_pool *pool, unsigned long handle);
121 struct z3fold_pool *pool;
157 struct z3fold_pool { struct
196 static struct z3fold_header *__z3fold_alloc(struct z3fold_pool *, size_t, bool);
212 static inline struct z3fold_buddy_slots *alloc_slots(struct z3fold_pool *pool, in alloc_slots()
230 static inline struct z3fold_pool *slots_to_pool(struct z3fold_buddy_slots *s) in slots_to_pool()
232 return (struct z3fold_pool *)(s->pool & ~HANDLE_FLAG_MASK); in slots_to_pool()
328 struct z3fold_pool *pool = slots_to_pool(slots); in free_handle()
365 static int z3fold_register_migration(struct z3fold_pool *pool) in z3fold_register_migration()
378 static void z3fold_unregister_migration(struct z3fold_pool *pool) in z3fold_unregister_migration()
386 struct z3fold_pool *pool, gfp_t gfp) in init_z3fold_page()
499 static inline struct z3fold_pool *zhdr_to_pool(struct z3fold_header *zhdr) in zhdr_to_pool()
507 struct z3fold_pool *pool = zhdr_to_pool(zhdr); in __release_z3fold_page()
545 struct z3fold_pool *pool = zhdr_to_pool(zhdr); in release_z3fold_page_locked_list()
557 struct z3fold_pool *pool = container_of(w, struct z3fold_pool, work); in free_pages_work()
602 static inline void add_to_unbuddied(struct z3fold_pool *pool, in add_to_unbuddied()
660 struct z3fold_pool *pool = zhdr_to_pool(zhdr); in compact_single_buddy()
804 struct z3fold_pool *pool = zhdr_to_pool(zhdr); in do_compact_page()
857 static inline struct z3fold_header *__z3fold_alloc(struct z3fold_pool *pool, in __z3fold_alloc()
973 static struct z3fold_pool *z3fold_create_pool(const char *name, gfp_t gfp, in z3fold_create_pool()
976 struct z3fold_pool *pool = NULL; in z3fold_create_pool()
979 pool = kzalloc(sizeof(struct z3fold_pool), gfp); in z3fold_create_pool()
1035 static void z3fold_destroy_pool(struct z3fold_pool *pool) in z3fold_destroy_pool()
1074 static int z3fold_alloc(struct z3fold_pool *pool, size_t size, gfp_t gfp, in z3fold_alloc()
1197 static void z3fold_free(struct z3fold_pool *pool, unsigned long handle) in z3fold_free()
1313 static int z3fold_reclaim_page(struct z3fold_pool *pool, unsigned int retries) in z3fold_reclaim_page()
1487 static void *z3fold_map(struct z3fold_pool *pool, unsigned long handle) in z3fold_map()
1532 static void z3fold_unmap(struct z3fold_pool *pool, unsigned long handle) in z3fold_unmap()
1557 static u64 z3fold_get_pool_size(struct z3fold_pool *pool) in z3fold_get_pool_size()
1565 struct z3fold_pool *pool; in z3fold_page_isolate()
1605 struct z3fold_pool *pool; in z3fold_page_migrate()
1670 struct z3fold_pool *pool; in z3fold_page_putback()
1700 static int z3fold_zpool_evict(struct z3fold_pool *pool, unsigned long handle) in z3fold_zpool_evict()
1716 struct z3fold_pool *pool; in z3fold_zpool_create()