Lines Matching refs:z3fold_pool
74 struct z3fold_pool;
76 int (*evict)(struct z3fold_pool *pool, unsigned long handle);
121 struct z3fold_pool *pool;
133 * struct z3fold_pool - stores metadata for each z3fold pool
155 struct z3fold_pool {
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,
228 static inline struct z3fold_pool *slots_to_pool(struct z3fold_buddy_slots *s)
230 return (struct z3fold_pool *)(s->pool & ~HANDLE_FLAG_MASK);
340 struct z3fold_pool *pool = slots_to_pool(slots);
377 static int z3fold_register_migration(struct z3fold_pool *pool)
390 static void z3fold_unregister_migration(struct z3fold_pool *pool)
398 struct z3fold_pool *pool, gfp_t gfp)
517 static inline struct z3fold_pool *zhdr_to_pool(struct z3fold_header *zhdr)
525 struct z3fold_pool *pool = zhdr_to_pool(zhdr);
564 struct z3fold_pool *pool = zhdr_to_pool(zhdr);
576 struct z3fold_pool *pool = container_of(w, struct z3fold_pool, work);
621 static inline void add_to_unbuddied(struct z3fold_pool *pool,
677 struct z3fold_pool *pool = zhdr_to_pool(zhdr);
821 struct z3fold_pool *pool = zhdr_to_pool(zhdr);
874 static inline struct z3fold_header *__z3fold_alloc(struct z3fold_pool *pool,
989 static struct z3fold_pool *z3fold_create_pool(const char *name, gfp_t gfp,
992 struct z3fold_pool *pool = NULL;
995 pool = kzalloc(sizeof(struct z3fold_pool), gfp);
1050 static void z3fold_destroy_pool(struct z3fold_pool *pool)
1089 static int z3fold_alloc(struct z3fold_pool *pool, size_t size, gfp_t gfp,
1212 static void z3fold_free(struct z3fold_pool *pool, unsigned long handle)
1328 static int z3fold_reclaim_page(struct z3fold_pool *pool, unsigned int retries)
1502 static void *z3fold_map(struct z3fold_pool *pool, unsigned long handle)
1547 static void z3fold_unmap(struct z3fold_pool *pool, unsigned long handle)
1572 static u64 z3fold_get_pool_size(struct z3fold_pool *pool)
1580 struct z3fold_pool *pool;
1620 struct z3fold_pool *pool;
1685 struct z3fold_pool *pool;
1715 static int z3fold_zpool_evict(struct z3fold_pool *pool, unsigned long handle)
1731 struct z3fold_pool *pool;