Lines Matching refs:zbud_header
111 struct zbud_header { struct
136 static struct zbud_header *init_zbud_page(struct page *page) in init_zbud_page() argument
138 struct zbud_header *zhdr = page_address(page); in init_zbud_page()
146 static void free_zbud_page(struct zbud_header *zhdr) in free_zbud_page()
155 static unsigned long encode_handle(struct zbud_header *zhdr, enum buddy bud) in encode_handle()
175 static struct zbud_header *handle_to_zbud_header(unsigned long handle) in handle_to_zbud_header()
177 return (struct zbud_header *)(handle & PAGE_MASK); in handle_to_zbud_header()
181 static int num_free_chunks(struct zbud_header *zhdr) in num_free_chunks()
250 struct zbud_header *zhdr = NULL; in zbud_alloc()
265 struct zbud_header, buddy); in zbud_alloc()
313 struct zbud_header *zhdr; in zbud_free()
436 BUILD_BUG_ON(sizeof(struct zbud_header) > ZHDR_SIZE_ALIGNED); in init_zbud()