Lines Matching refs:z3fold_pool
70 struct z3fold_pool;
114 struct z3fold_pool *pool;
126 * struct z3fold_pool - stores metadata for each z3fold pool
143 struct z3fold_pool {
178 static struct z3fold_header *__z3fold_alloc(struct z3fold_pool *, size_t, bool);
194 static inline struct z3fold_buddy_slots *alloc_slots(struct z3fold_pool *pool,
210 static inline struct z3fold_pool *slots_to_pool(struct z3fold_buddy_slots *s)
212 return (struct z3fold_pool *)(s->pool & ~HANDLE_FLAG_MASK);
310 struct z3fold_pool *pool = slots_to_pool(slots);
320 struct z3fold_pool *pool, gfp_t gfp)
432 static inline struct z3fold_pool *zhdr_to_pool(struct z3fold_header *zhdr)
440 struct z3fold_pool *pool = zhdr_to_pool(zhdr);
471 struct z3fold_pool *pool = zhdr_to_pool(zhdr);
493 struct z3fold_pool *pool = container_of(w, struct z3fold_pool, work);
538 static inline void add_to_unbuddied(struct z3fold_pool *pool,
596 struct z3fold_pool *pool = zhdr_to_pool(zhdr);
736 struct z3fold_pool *pool = zhdr_to_pool(zhdr);
785 static inline struct z3fold_header *__z3fold_alloc(struct z3fold_pool *pool,
908 static struct z3fold_pool *z3fold_create_pool(const char *name, gfp_t gfp)
910 struct z3fold_pool *pool = NULL;
913 pool = kzalloc(sizeof(struct z3fold_pool), gfp);
963 static void z3fold_destroy_pool(struct z3fold_pool *pool)
1000 static int z3fold_alloc(struct z3fold_pool *pool, size_t size, gfp_t gfp,
1092 static void z3fold_free(struct z3fold_pool *pool, unsigned long handle)
1174 static void *z3fold_map(struct z3fold_pool *pool, unsigned long handle)
1219 static void z3fold_unmap(struct z3fold_pool *pool, unsigned long handle)
1244 static u64 z3fold_get_pool_size(struct z3fold_pool *pool)
1252 struct z3fold_pool *pool;
1289 struct z3fold_pool *pool;
1347 struct z3fold_pool *pool;