Searched refs:KVM_HPAGE_GFN_SHIFT (Results 1 – 2 of 2) sorted by relevance
72 #define KVM_HPAGE_GFN_SHIFT(x) (((x) - 1) * 9) macro73 #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()
1355 ++idx, gfn += (1UL << KVM_HPAGE_GFN_SHIFT(j))) in kvm_handle_hva_range()