Searched refs:zbud_header (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/mm/
H A Dzbud.c103 * struct zbud_header - zbud page metadata occupying the first chunk of each
110 struct zbud_header { struct
223 static struct zbud_header *init_zbud_page(struct page *page) init_zbud_page()
225 struct zbud_header *zhdr = page_address(page); init_zbud_page()
235 static void free_zbud_page(struct zbud_header *zhdr) free_zbud_page()
244 static unsigned long encode_handle(struct zbud_header *zhdr, enum buddy bud) encode_handle()
264 static struct zbud_header *handle_to_zbud_header(unsigned long handle) handle_to_zbud_header()
266 return (struct zbud_header *)(handle & PAGE_MASK); handle_to_zbud_header()
270 static int num_free_chunks(struct zbud_header *zhdr) num_free_chunks()
342 struct zbud_header *zhdr = NULL; zbud_alloc()
358 struct zbud_header, buddy); for_each_unbuddied_list()
416 struct zbud_header *zhdr; zbud_free()
492 struct zbud_header *zhdr; zbud_reclaim_page()
502 zhdr = list_tail_entry(&pool->lru, struct zbud_header, lru); zbud_reclaim_page()
600 BUILD_BUG_ON(sizeof(struct zbud_header) > ZHDR_SIZE_ALIGNED); init_zbud()

Completed in 56 milliseconds