Lines Matching refs:z3fold_pool
70 struct z3fold_pool;
114 struct z3fold_pool *pool;
143 struct z3fold_pool { struct
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, in alloc_slots()
210 static inline struct z3fold_pool *slots_to_pool(struct z3fold_buddy_slots *s) in slots_to_pool()
212 return (struct z3fold_pool *)(s->pool & ~HANDLE_FLAG_MASK); in slots_to_pool()
310 struct z3fold_pool *pool = slots_to_pool(slots); in free_handle()
320 struct z3fold_pool *pool, gfp_t gfp) in init_z3fold_page()
433 static inline struct z3fold_pool *zhdr_to_pool(struct z3fold_header *zhdr) in zhdr_to_pool()
441 struct z3fold_pool *pool = zhdr_to_pool(zhdr); in __release_z3fold_page()
472 struct z3fold_pool *pool = zhdr_to_pool(zhdr); in release_z3fold_page_locked_list()
494 struct z3fold_pool *pool = container_of(w, struct z3fold_pool, work); in free_pages_work()
539 static inline void add_to_unbuddied(struct z3fold_pool *pool, in add_to_unbuddied()
597 struct z3fold_pool *pool = zhdr_to_pool(zhdr); in compact_single_buddy()
737 struct z3fold_pool *pool = zhdr_to_pool(zhdr); in do_compact_page()
786 static inline struct z3fold_header *__z3fold_alloc(struct z3fold_pool *pool, in __z3fold_alloc()
909 static struct z3fold_pool *z3fold_create_pool(const char *name, gfp_t gfp) in z3fold_create_pool()
911 struct z3fold_pool *pool = NULL; in z3fold_create_pool()
914 pool = kzalloc(sizeof(struct z3fold_pool), gfp); in z3fold_create_pool()
964 static void z3fold_destroy_pool(struct z3fold_pool *pool) in z3fold_destroy_pool()
1001 static int z3fold_alloc(struct z3fold_pool *pool, size_t size, gfp_t gfp, in z3fold_alloc()
1093 static void z3fold_free(struct z3fold_pool *pool, unsigned long handle) in z3fold_free()
1175 static void *z3fold_map(struct z3fold_pool *pool, unsigned long handle) in z3fold_map()
1220 static void z3fold_unmap(struct z3fold_pool *pool, unsigned long handle) in z3fold_unmap()
1245 static u64 z3fold_get_pool_pages(struct z3fold_pool *pool) in z3fold_get_pool_pages()
1253 struct z3fold_pool *pool; in z3fold_page_isolate()
1290 struct z3fold_pool *pool; in z3fold_page_migrate()
1348 struct z3fold_pool *pool; in z3fold_page_putback()