Home
last modified time | relevance | path

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

/Linux-v5.15/mm/
Dzbud.c126 struct zbud_header { struct
153 static struct zbud_header *init_zbud_page(struct page *page) in init_zbud_page() argument
155 struct zbud_header *zhdr = page_address(page); in init_zbud_page()
165 static void free_zbud_page(struct zbud_header *zhdr) in free_zbud_page()
174 static unsigned long encode_handle(struct zbud_header *zhdr, enum buddy bud) in encode_handle()
194 static struct zbud_header *handle_to_zbud_header(unsigned long handle) in handle_to_zbud_header()
196 return (struct zbud_header *)(handle & PAGE_MASK); in handle_to_zbud_header()
200 static int num_free_chunks(struct zbud_header *zhdr) in num_free_chunks()
272 struct zbud_header *zhdr = NULL; in zbud_alloc()
287 struct zbud_header, buddy); in zbud_alloc()
[all …]