2 #ifndef __KVM_HYP_GFP_H
3 #define __KVM_HYP_GFP_H
5 #include <linux/list.h>
10 #define HYP_NO_ORDER USHRT_MAX
19 struct list_head
free_area[NR_PAGE_ORDERS];
33 unsigned int reserved_pages);
int hyp_pool_init(struct hyp_pool *pool, u64 pfn, unsigned int nr_pages, unsigned int reserved_pages)
void hyp_get_page(struct hyp_pool *pool, void *addr)
void * hyp_alloc_pages(struct hyp_pool *pool, unsigned short order)
void hyp_split_page(struct hyp_page *page)
void hyp_put_page(struct hyp_pool *pool, void *addr)
struct list_head free_area[NR_PAGE_ORDERS]