• Home
  • Raw
  • Download

Lines Matching refs:z3fold_header

61 #define ZHDR_SIZE_ALIGNED round_up(sizeof(struct z3fold_header), CHUNK_SIZE)
113 struct z3fold_header { struct
298 static struct z3fold_header *init_z3fold_page(struct page *page, bool headless, in init_z3fold_page()
301 struct z3fold_header *zhdr = page_address(page); in init_z3fold_page()
345 static inline void z3fold_page_lock(struct z3fold_header *zhdr) in z3fold_page_lock()
351 static inline int z3fold_page_trylock(struct z3fold_header *zhdr) in z3fold_page_trylock()
357 static inline void z3fold_page_unlock(struct z3fold_header *zhdr) in z3fold_page_unlock()
363 static inline int __idx(struct z3fold_header *zhdr, enum buddy bud) in __idx()
372 static unsigned long __encode_handle(struct z3fold_header *zhdr, in __encode_handle()
396 static unsigned long encode_handle(struct z3fold_header *zhdr, enum buddy bud) in encode_handle()
402 static inline struct z3fold_header *handle_to_z3fold_header(unsigned long h) in handle_to_z3fold_header()
409 return (struct z3fold_header *)(addr & PAGE_MASK); in handle_to_z3fold_header()
427 struct z3fold_header *zhdr; in handle_to_buddy()
432 zhdr = (struct z3fold_header *)(addr & PAGE_MASK); in handle_to_buddy()
436 static inline struct z3fold_pool *zhdr_to_pool(struct z3fold_header *zhdr) in zhdr_to_pool()
441 static void __release_z3fold_page(struct z3fold_header *zhdr, bool locked) in __release_z3fold_page()
464 struct z3fold_header *zhdr = container_of(ref, struct z3fold_header, in release_z3fold_page()
471 struct z3fold_header *zhdr = container_of(ref, struct z3fold_header, in release_z3fold_page_locked()
479 struct z3fold_header *zhdr = container_of(ref, struct z3fold_header, in release_z3fold_page_locked_list()
496 struct z3fold_header *zhdr = list_first_entry(&pool->stale, in free_pages_work()
497 struct z3fold_header, buddy); in free_pages_work()
516 static int num_free_chunks(struct z3fold_header *zhdr) in num_free_chunks()
538 struct z3fold_header *zhdr) in add_to_unbuddied()
553 static inline void *mchunk_memmove(struct z3fold_header *zhdr, in mchunk_memmove()
564 static int z3fold_compact_page(struct z3fold_header *zhdr) in z3fold_compact_page()
611 static void do_compact_page(struct z3fold_header *zhdr, bool locked) in do_compact_page()
648 struct z3fold_header *zhdr = container_of(w, struct z3fold_header, in compact_page_work()
655 static inline struct z3fold_header *__z3fold_alloc(struct z3fold_pool *pool, in __z3fold_alloc()
658 struct z3fold_header *zhdr = NULL; in __z3fold_alloc()
670 struct z3fold_header, buddy); in __z3fold_alloc()
679 struct z3fold_header, buddy)) || in __z3fold_alloc()
725 struct z3fold_header, buddy); in __z3fold_alloc()
868 struct z3fold_header *zhdr = NULL; in z3fold_alloc()
915 struct z3fold_header, buddy); in z3fold_alloc()
998 struct z3fold_header *zhdr; in z3fold_free()
1115 struct z3fold_header *zhdr = NULL; in z3fold_reclaim_page()
1262 struct z3fold_header *zhdr; in z3fold_map()
1308 struct z3fold_header *zhdr; in z3fold_unmap()
1339 struct z3fold_header *zhdr; in z3fold_page_isolate()
1376 struct z3fold_header *zhdr, *new_zhdr; in z3fold_page_migrate()
1439 struct z3fold_header *zhdr; in z3fold_page_putback()