Searched refs:KVM_PAGES_PER_HPAGE (Results 1 – 8 of 8) sorted by relevance
162 return gfn & -KVM_PAGES_PER_HPAGE(level); in gfn_round_for_level()178 KVM_PAGES_PER_HPAGE(level)); in kvm_flush_remote_tlbs_gfn()
120 iter->gfn += KVM_PAGES_PER_HPAGE(iter->level); in try_step_side()
292 child_spte |= (index * KVM_PAGES_PER_HPAGE(role.level)) << PAGE_SHIFT; in make_huge_page_split_spte()
382 __entry->pfn = fault->pfn | (fault->gfn & (KVM_PAGES_PER_HPAGE(fault->goal_level) - 1));
333 gfn_t gfn = base_gfn + i * KVM_PAGES_PER_HPAGE(level); in handle_removed_pt()431 WARN_ON_ONCE(gfn & (KVM_PAGES_PER_HPAGE(level) - 1)); in handle_changed_spte()
3191 mask = KVM_PAGES_PER_HPAGE(fault->goal_level) - 1; in kvm_mmu_hugepage_adjust()3210 u64 page_mask = KVM_PAGES_PER_HPAGE(cur_level) - in disallowed_hugepage_adjust()3211 KVM_PAGES_PER_HPAGE(cur_level - 1); in disallowed_hugepage_adjust()4498 int page_num = KVM_PAGES_PER_HPAGE(fault->max_level); in kvm_tdp_page_fault()
144 #define KVM_PAGES_PER_HPAGE(x) (KVM_HPAGE_SIZE(x) / PAGE_SIZE) macro
12594 if (slot->base_gfn & (KVM_PAGES_PER_HPAGE(level) - 1)) in kvm_alloc_memslot_metadata()12596 if ((slot->base_gfn + npages) & (KVM_PAGES_PER_HPAGE(level) - 1)) in kvm_alloc_memslot_metadata()12603 if ((slot->base_gfn ^ ugfn) & (KVM_PAGES_PER_HPAGE(level) - 1)) { in kvm_alloc_memslot_metadata()