Searched refs:hyp_phys_to_page (Results 1 – 5 of 5) sorted by relevance
71 static inline struct hyp_page *hyp_phys_to_page(phys_addr_t phys) in hyp_phys_to_page() function77 #define hyp_virt_to_page(virt) hyp_phys_to_page(__hyp_pa(virt))
470 WARN_ON(addr_is_memory(addr) && hyp_phys_to_page(addr)->host_state != PKVM_NOPAGE); in host_stage2_adjust_range()499 hyp_phys_to_page(addr)->host_state = state; in __host_update_page_state()630 if (hyp_phys_to_page(addr)->host_state != state) in __host_check_page_state_range()640 if (hyp_phys_to_page(addr)->host_state == PKVM_NOPAGE) { in __host_set_page_state_range()913 page = hyp_phys_to_page(phys); in __pkvm_host_share_guest()967 page = hyp_phys_to_page(phys); in __check_host_shared_guest()996 page = hyp_phys_to_page(phys); in __pkvm_host_unshare_guest()
48 return hyp_phys_to_page(addr); in __find_buddy_nocheck()239 p = hyp_phys_to_page(phys); in hyp_pool_init()
204 hyp_phys_to_page(phys)->host_state = PKVM_PAGE_SHARED_BORROWED; in fix_host_ownership_walker()207 hyp_phys_to_page(phys)->host_state = PKVM_PAGE_SHARED_OWNED; in fix_host_ownership_walker()
156 start = ALIGN_DOWN((u64)hyp_phys_to_page(start), PAGE_SIZE); in hyp_back_vmemmap()165 end = PAGE_ALIGN((u64)hyp_phys_to_page(end)); in hyp_back_vmemmap()