Lines Matching refs:z3fold_header

68 struct z3fold_header {  struct
96 #define ZHDR_SIZE_ALIGNED round_up(sizeof(struct z3fold_header), CHUNK_SIZE) argument
167 static struct z3fold_header *init_z3fold_page(struct page *page, in init_z3fold_page()
170 struct z3fold_header *zhdr = page_address(page); in init_z3fold_page()
200 static inline void z3fold_page_lock(struct z3fold_header *zhdr) in z3fold_page_lock()
206 static inline int z3fold_page_trylock(struct z3fold_header *zhdr) in z3fold_page_trylock()
212 static inline void z3fold_page_unlock(struct z3fold_header *zhdr) in z3fold_page_unlock()
221 static unsigned long encode_handle(struct z3fold_header *zhdr, enum buddy bud) in encode_handle()
232 static struct z3fold_header *handle_to_z3fold_header(unsigned long handle) in handle_to_z3fold_header()
234 return (struct z3fold_header *)(handle & PAGE_MASK); in handle_to_z3fold_header()
244 struct z3fold_header *zhdr = handle_to_z3fold_header(handle); in handle_to_buddy()
248 static void __release_z3fold_page(struct z3fold_header *zhdr, bool locked) in __release_z3fold_page()
271 struct z3fold_header *zhdr = container_of(ref, struct z3fold_header, in release_z3fold_page()
278 struct z3fold_header *zhdr = container_of(ref, struct z3fold_header, in release_z3fold_page_locked()
286 struct z3fold_header *zhdr = container_of(ref, struct z3fold_header, in release_z3fold_page_locked_list()
302 struct z3fold_header *zhdr = list_first_entry(&pool->stale, in free_pages_work()
303 struct z3fold_header, buddy); in free_pages_work()
322 static int num_free_chunks(struct z3fold_header *zhdr) in num_free_chunks()
342 static inline void *mchunk_memmove(struct z3fold_header *zhdr, in mchunk_memmove()
353 static int z3fold_compact_page(struct z3fold_header *zhdr) in z3fold_compact_page()
397 static void do_compact_page(struct z3fold_header *zhdr, bool locked) in do_compact_page()
440 struct z3fold_header *zhdr = container_of(w, struct z3fold_header, in compact_page_work()
540 struct z3fold_header *zhdr = NULL; in z3fold_alloc()
564 struct z3fold_header, buddy); in z3fold_alloc()
573 struct z3fold_header, buddy)) || in z3fold_alloc()
634 struct z3fold_header, buddy); in z3fold_alloc()
715 struct z3fold_header *zhdr; in z3fold_free()
822 struct z3fold_header *zhdr = NULL; in z3fold_reclaim_page()
944 struct z3fold_header *zhdr; in z3fold_map()
988 struct z3fold_header *zhdr; in z3fold_unmap()