Lines Matching defs:zhdr

240 static inline void z3fold_page_lock(struct z3fold_header *zhdr)  in z3fold_page_lock()
246 static inline int z3fold_page_trylock(struct z3fold_header *zhdr) in z3fold_page_trylock()
252 static inline void z3fold_page_unlock(struct z3fold_header *zhdr) in z3fold_page_unlock()
261 struct z3fold_header *zhdr; in get_z3fold_header() local
290 static inline void put_z3fold_header(struct z3fold_header *zhdr) in put_z3fold_header()
298 static inline void free_handle(unsigned long handle, struct z3fold_header *zhdr) in free_handle()
389 struct z3fold_header *zhdr = page_address(page); in init_z3fold_page() local
429 static inline int __idx(struct z3fold_header *zhdr, enum buddy bud) in __idx()
438 static unsigned long __encode_handle(struct z3fold_header *zhdr, in __encode_handle()
464 static unsigned long encode_handle(struct z3fold_header *zhdr, enum buddy bud) in encode_handle()
488 struct z3fold_header *zhdr; in handle_to_buddy() local
500 static inline struct z3fold_pool *zhdr_to_pool(struct z3fold_header *zhdr) in zhdr_to_pool()
505 static void __release_z3fold_page(struct z3fold_header *zhdr, bool locked) in __release_z3fold_page()
531 struct z3fold_header *zhdr = container_of(ref, struct z3fold_header, in release_z3fold_page_locked() local
539 struct z3fold_header *zhdr = container_of(ref, struct z3fold_header, in release_z3fold_page_locked_list() local
557 struct z3fold_header *zhdr = list_first_entry(&pool->stale, in free_pages_work() local
577 static int num_free_chunks(struct z3fold_header *zhdr) in num_free_chunks()
599 struct z3fold_header *zhdr) in add_to_unbuddied()
616 static inline enum buddy get_free_buddy(struct z3fold_header *zhdr, int chunks) in get_free_buddy()
638 static inline void *mchunk_memmove(struct z3fold_header *zhdr, in mchunk_memmove()
647 static inline bool buddy_single(struct z3fold_header *zhdr) in buddy_single()
654 static struct z3fold_header *compact_single_buddy(struct z3fold_header *zhdr) in compact_single_buddy()
747 static int z3fold_compact_page(struct z3fold_header *zhdr) in z3fold_compact_page()
794 static void do_compact_page(struct z3fold_header *zhdr, bool locked) in do_compact_page()
838 struct z3fold_header *zhdr = container_of(w, struct z3fold_header, in compact_page_work() local
848 struct z3fold_header *zhdr = NULL; in __z3fold_alloc() local
1071 struct z3fold_header *zhdr = NULL; in z3fold_alloc() local
1168 struct z3fold_header *zhdr; in z3fold_free() local
1280 struct z3fold_header *zhdr = NULL; in z3fold_reclaim_page() local
1445 struct z3fold_header *zhdr; in z3fold_map() local
1490 struct z3fold_header *zhdr; in z3fold_unmap() local
1520 struct z3fold_header *zhdr; in z3fold_page_isolate() local
1560 struct z3fold_header *zhdr, *new_zhdr; in z3fold_page_migrate() local
1624 struct z3fold_header *zhdr; in z3fold_page_putback() local