Home
last modified time | relevance | path

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

/openbmc/linux/arch/x86/kvm/mmu/
H A Dspte.h55 #define SPTE_LEVEL_BITS 9 macro
56 #define SPTE_LEVEL_SHIFT(level) __PT_LEVEL_SHIFT(level, SPTE_LEVEL_BITS)
57 #define SPTE_INDEX(address, level) __PT_INDEX(address, level, SPTE_LEVEL_BITS)
58 #define SPTE_ENT_PER_PAGE __PT_ENT_PER_PAGE(SPTE_LEVEL_BITS)
H A Dpaging_tmpl.h862 offset = sp->role.quadrant << SPTE_LEVEL_BITS; in FNAME()
H A Dmmu.c729 return sp->gfn + (index << ((sp->role.level - 1) * SPTE_LEVEL_BITS)); in kvm_mmu_page_get_gfn()