Lines Matching refs:z3fold_pool
74 struct z3fold_pool;
76 int (*evict)(struct z3fold_pool *pool, unsigned long handle);
121 struct z3fold_pool *pool;
155 struct z3fold_pool { struct
194 static struct z3fold_header *__z3fold_alloc(struct z3fold_pool *, size_t, bool);
210 static inline struct z3fold_buddy_slots *alloc_slots(struct z3fold_pool *pool, in alloc_slots()
228 static inline struct z3fold_pool *slots_to_pool(struct z3fold_buddy_slots *s) in slots_to_pool()
230 return (struct z3fold_pool *)(s->pool & ~HANDLE_FLAG_MASK); in slots_to_pool()
340 struct z3fold_pool *pool = slots_to_pool(slots); in free_handle()
377 static int z3fold_register_migration(struct z3fold_pool *pool) in z3fold_register_migration()
390 static void z3fold_unregister_migration(struct z3fold_pool *pool) in z3fold_unregister_migration()
398 struct z3fold_pool *pool, gfp_t gfp) in init_z3fold_page()
517 static inline struct z3fold_pool *zhdr_to_pool(struct z3fold_header *zhdr) in zhdr_to_pool()
525 struct z3fold_pool *pool = zhdr_to_pool(zhdr); in __release_z3fold_page()
564 struct z3fold_pool *pool = zhdr_to_pool(zhdr); in release_z3fold_page_locked_list()
576 struct z3fold_pool *pool = container_of(w, struct z3fold_pool, work); in free_pages_work()
621 static inline void add_to_unbuddied(struct z3fold_pool *pool, in add_to_unbuddied()
677 struct z3fold_pool *pool = zhdr_to_pool(zhdr); in compact_single_buddy()
821 struct z3fold_pool *pool = zhdr_to_pool(zhdr); in do_compact_page()
874 static inline struct z3fold_header *__z3fold_alloc(struct z3fold_pool *pool, in __z3fold_alloc()
989 static struct z3fold_pool *z3fold_create_pool(const char *name, gfp_t gfp, in z3fold_create_pool()
992 struct z3fold_pool *pool = NULL; in z3fold_create_pool()
995 pool = kzalloc(sizeof(struct z3fold_pool), gfp); in z3fold_create_pool()
1050 static void z3fold_destroy_pool(struct z3fold_pool *pool) in z3fold_destroy_pool()
1089 static int z3fold_alloc(struct z3fold_pool *pool, size_t size, gfp_t gfp, in z3fold_alloc()
1212 static void z3fold_free(struct z3fold_pool *pool, unsigned long handle) in z3fold_free()
1328 static int z3fold_reclaim_page(struct z3fold_pool *pool, unsigned int retries) in z3fold_reclaim_page()
1502 static void *z3fold_map(struct z3fold_pool *pool, unsigned long handle) in z3fold_map()
1547 static void z3fold_unmap(struct z3fold_pool *pool, unsigned long handle) in z3fold_unmap()
1572 static u64 z3fold_get_pool_size(struct z3fold_pool *pool) in z3fold_get_pool_size()
1580 struct z3fold_pool *pool; in z3fold_page_isolate()
1620 struct z3fold_pool *pool; in z3fold_page_migrate()
1685 struct z3fold_pool *pool; in z3fold_page_putback()
1715 static int z3fold_zpool_evict(struct z3fold_pool *pool, unsigned long handle) in z3fold_zpool_evict()
1731 struct z3fold_pool *pool; in z3fold_zpool_create()