Searched refs:hyp_page (Results 1 – 5 of 5) sorted by relevance
33 static struct hyp_page *__find_buddy_nocheck(struct hyp_pool *pool, in __find_buddy_nocheck()34 struct hyp_page *p, in __find_buddy_nocheck()52 static struct hyp_page *__find_buddy_avail(struct hyp_pool *pool, in __find_buddy_avail()53 struct hyp_page *p, in __find_buddy_avail()56 struct hyp_page *buddy = __find_buddy_nocheck(pool, p, order); in __find_buddy_avail()66 struct hyp_page *p) in __hyp_attach_page()69 struct hyp_page *buddy; in __hyp_attach_page()96 static void hyp_attach_page(struct hyp_page *p) in hyp_attach_page()105 static struct hyp_page *__hyp_extract_page(struct hyp_pool *pool, in __hyp_extract_page()106 struct hyp_page *p, in __hyp_extract_page()[all …]
10 struct hyp_page { struct19 #define hyp_vmemmap ((struct hyp_page *)__hyp_vmemmap) argument40 #define hyp_page_to_pfn(page) ((struct hyp_page *)(page) - hyp_vmemmap)43 #define hyp_page_to_pool(page) (((struct hyp_page *)page)->pool)47 struct hyp_page *p = hyp_virt_to_page(addr); in hyp_page_count()
25 static inline void hyp_page_ref_inc(struct hyp_page *p) in hyp_page_ref_inc()34 static inline int hyp_page_ref_dec_and_test(struct hyp_page *p) in hyp_page_ref_dec_and_test()47 static inline void hyp_set_page_refcounted(struct hyp_page *p) in hyp_set_page_refcounted()62 void hyp_split_page(struct hyp_page *page);
35 struct hyp_page *p = hyp_phys_to_page(phys); in hyp_vmemmap_range()38 *end = *start + nr_pages * sizeof(struct hyp_page); in hyp_vmemmap_range()
86 nr_pages = DIV_ROUND_UP(nr_pages * sizeof(struct hyp_page), PAGE_SIZE); in kvm_hyp_reserve()