Home
last modified time | relevance | path

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

/arch/x86/include/asm/
Dkvm_host.h114 #define KVM_HPAGE_GFN_SHIFT(x) (((x) - 1) * 9) macro
115 #define KVM_HPAGE_SHIFT(x) (PAGE_SHIFT + KVM_HPAGE_GFN_SHIFT(x))
123 return (gfn >> KVM_HPAGE_GFN_SHIFT(level)) - in gfn_to_index()
124 (base_gfn >> KVM_HPAGE_GFN_SHIFT(level)); in gfn_to_index()
/arch/x86/kvm/
Dmmu.c1982 iterator->gfn += (1UL << KVM_HPAGE_GFN_SHIFT(iterator->level)); in slot_rmap_walk_next()