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.h72 #define KVM_HPAGE_GFN_SHIFT(x) (((x) - 1) * 9) macro
73 #define KVM_HPAGE_SHIFT(x) (PAGE_SHIFT + KVM_HPAGE_GFN_SHIFT(x))
81 return (gfn >> KVM_HPAGE_GFN_SHIFT(level)) - in gfn_to_index()
82 (base_gfn >> KVM_HPAGE_GFN_SHIFT(level)); in gfn_to_index()
/arch/x86/kvm/
Dmmu.c1355 ++idx, gfn += (1UL << KVM_HPAGE_GFN_SHIFT(j))) in kvm_handle_hva_range()