hyp_page
DEFINE(STRUCT_HYP_PAGE_SIZE, sizeof(struct hyp_page));
void hyp_split_page(struct hyp_page *page);
#define hyp_page_to_pfn(page) ((struct hyp_page *)(page) - hyp_vmemmap)
#define hyp_page_to_pool(page) (((struct hyp_page *)page)->pool)
static inline enum pkvm_page_state get_host_state(struct hyp_page *p)
static inline void set_host_state(struct hyp_page *p, enum pkvm_page_state state)
static inline enum pkvm_page_state get_hyp_state(struct hyp_page *p)
static inline void set_hyp_state(struct hyp_page *p, enum pkvm_page_state state)
struct hyp_page *p = hyp_virt_to_page(addr);
static inline void hyp_page_ref_inc(struct hyp_page *p)
static inline void hyp_page_ref_dec(struct hyp_page *p)
static inline int hyp_page_ref_dec_and_test(struct hyp_page *p)
static inline void hyp_set_page_refcounted(struct hyp_page *p)
#define hyp_vmemmap ((struct hyp_page *)__hyp_vmemmap)
static inline struct hyp_page *hyp_phys_to_page(phys_addr_t phys)
BUILD_BUG_ON(sizeof(struct hyp_page) != sizeof(u64));
struct hyp_page *p;
struct hyp_page *p;
static struct hyp_page *selftest_page;
struct hyp_page *p;
struct hyp_page *page;
for (struct hyp_page *__p = hyp_phys_to_page(__st), \
static struct hyp_page *__hyp_extract_page(struct hyp_pool *pool,
struct hyp_page *p,
struct hyp_page *buddy;
static void __hyp_put_page(struct hyp_pool *pool, struct hyp_page *p)
struct hyp_page *p = hyp_virt_to_page(addr);
struct hyp_page *p = hyp_virt_to_page(addr);
void hyp_split_page(struct hyp_page *p)
struct hyp_page *tail = p + i;
struct hyp_page *p;
struct hyp_page *p;
static struct hyp_page *__find_buddy_nocheck(struct hyp_pool *pool,
struct hyp_page *p,
static struct hyp_page *__find_buddy_avail(struct hyp_pool *pool,
struct hyp_page *p,
struct hyp_page *buddy = __find_buddy_nocheck(pool, p, order);
static inline void page_remove_from_list(struct hyp_page *p)
static inline void page_add_to_list(struct hyp_page *p, struct list_head *head)
static inline struct hyp_page *node_to_page(struct list_head *node)
struct hyp_page *p)
struct hyp_page *buddy;
struct hyp_page *p = hyp_virt_to_page(virt);
struct hyp_page *page;
nr_pages = hyp_vmemmap_pages(sizeof(struct hyp_page));