Searched refs:KVM_PAGES_PER_HPAGE (Results 1 – 4 of 4) sorted by relevance
626 direct_gfn = gw->gfn & ~(KVM_PAGES_PER_HPAGE(it.level) - 1); in FNAME()670 gfn_t mask = ~(KVM_PAGES_PER_HPAGE(walker->level) - 1); in FNAME()762 walker.gfn = walker.gfn & ~(KVM_PAGES_PER_HPAGE(level) - 1); in FNAME()
2732 mask = KVM_PAGES_PER_HPAGE(level) - 1; in transparent_hugepage_adjust()2912 gfn &= ~(KVM_PAGES_PER_HPAGE(level) - 1); in nonpaging_map()3372 gfn &= ~(KVM_PAGES_PER_HPAGE(level) - 1); in tdp_page_fault()
7492 if (slot->base_gfn & (KVM_PAGES_PER_HPAGE(level) - 1)) in kvm_arch_create_memslot()7494 if ((slot->base_gfn + npages) & (KVM_PAGES_PER_HPAGE(level) - 1)) in kvm_arch_create_memslot()7502 if ((slot->base_gfn ^ ugfn) & (KVM_PAGES_PER_HPAGE(level) - 1) || in kvm_arch_create_memslot()
76 #define KVM_PAGES_PER_HPAGE(x) (KVM_HPAGE_SIZE(x) / PAGE_SIZE) macro