KVM
|
Go to the source code of this file.
Functions | |
static struct hyp_page * | __find_buddy_nocheck (struct hyp_pool *pool, struct hyp_page *p, unsigned short order) |
static struct hyp_page * | __find_buddy_avail (struct hyp_pool *pool, struct hyp_page *p, unsigned short order) |
static void | page_remove_from_list (struct hyp_page *p) |
static void | page_add_to_list (struct hyp_page *p, struct list_head *head) |
static struct hyp_page * | node_to_page (struct list_head *node) |
static void | __hyp_attach_page (struct hyp_pool *pool, struct hyp_page *p) |
static struct hyp_page * | __hyp_extract_page (struct hyp_pool *pool, struct hyp_page *p, unsigned short order) |
static void | __hyp_put_page (struct hyp_pool *pool, struct hyp_page *p) |
void | hyp_put_page (struct hyp_pool *pool, void *addr) |
void | hyp_get_page (struct hyp_pool *pool, void *addr) |
void | hyp_split_page (struct hyp_page *p) |
void * | hyp_alloc_pages (struct hyp_pool *pool, unsigned short order) |
int | hyp_pool_init (struct hyp_pool *pool, u64 pfn, unsigned int nr_pages, unsigned int reserved_pages) |
Variables | |
u64 | __hyp_vmemmap |
|
static |
Definition at line 52 of file page_alloc.c.
|
static |
Definition at line 93 of file page_alloc.c.
|
static |
Definition at line 130 of file page_alloc.c.
Definition at line 153 of file page_alloc.c.
void* hyp_alloc_pages | ( | struct hyp_pool * | pool, |
unsigned short | order | ||
) |
Definition at line 198 of file page_alloc.c.
void hyp_get_page | ( | struct hyp_pool * | pool, |
void * | addr | ||
) |
Definition at line 175 of file page_alloc.c.
int hyp_pool_init | ( | struct hyp_pool * | pool, |
u64 | pfn, | ||
unsigned int | nr_pages, | ||
unsigned int | reserved_pages | ||
) |
Definition at line 223 of file page_alloc.c.
void hyp_put_page | ( | struct hyp_pool * | pool, |
void * | addr | ||
) |
Definition at line 166 of file page_alloc.c.
void hyp_split_page | ( | struct hyp_page * | p | ) |
Definition at line 184 of file page_alloc.c.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
u64 __hyp_vmemmap |
Definition at line 10 of file page_alloc.c.