Home
last modified time | relevance | path

Searched refs:KVM_HPAGE_GFN_SHIFT (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/arch/x86/include/asm/
Dkvm_host.h117 #define KVM_HPAGE_GFN_SHIFT(x) (((x) - 1) * 9) macro
118 #define KVM_HPAGE_SHIFT(x) (PAGE_SHIFT + KVM_HPAGE_GFN_SHIFT(x))
126 return (gfn >> KVM_HPAGE_GFN_SHIFT(level)) - in gfn_to_index()
127 (base_gfn >> KVM_HPAGE_GFN_SHIFT(level)); in gfn_to_index()
/kernel/linux/linux-5.10/arch/x86/kvm/mmu/
Dmmu.c1428 iterator->gfn += (1UL << KVM_HPAGE_GFN_SHIFT(iterator->level)); in slot_rmap_walk_next()