Home
last modified time | relevance | path

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

/linux/arch/arm64/kvm/hyp/include/nvhe/
H A Dmemory.h50 struct hyp_page { struct
68 #define hyp_vmemmap ((struct hyp_page *)__hyp_vmemmap) argument
85 static inline struct hyp_page *hyp_phys_to_page(phys_addr_t phys) in hyp_phys_to_page()
87 BUILD_BUG_ON(sizeof(struct hyp_page) != sizeof(u64)); in hyp_phys_to_page()
94 #define hyp_page_to_pfn(page) ((struct hyp_page *)(page) - hyp_vmemmap)
97 #define hyp_page_to_pool(page) (((struct hyp_page *)page)->pool)
99 static inline enum pkvm_page_state get_host_state(struct hyp_page *p) in get_host_state()
104 static inline void set_host_state(struct hyp_page *p, enum pkvm_page_state state) in set_host_state()
109 static inline enum pkvm_page_state get_hyp_state(struct hyp_page *p) in get_hyp_state()
114 static inline void set_hyp_state(struct hyp_page *p, enum pkvm_page_state state) in set_hyp_state()
[all …]
/linux/arch/arm64/kvm/hyp/
H A Dhyp-constants.c9 DEFINE(STRUCT_HYP_PAGE_SIZE, sizeof(struct hyp_page)); in main()
/linux/arch/arm64/kvm/hyp/nvhe/
H A Dmem_protect.c64 for (struct hyp_page *__p = hyp_phys_to_page(__st), \
190 struct hyp_page *p; in guest_s2_zalloc_page()
295 struct hyp_page *page; in reclaim_pgtable_pages()
853 struct hyp_page *p; in hyp_pin_shared_mem()
887 struct hyp_page *p; in hyp_unpin_shared_mem()
1206 static struct hyp_page *selftest_page;
1230 struct hyp_page *p = hyp_virt_to_page(virt); in init_selftest_vm()