Searched refs:root_gfn (Results 1 – 1 of 1) sorted by relevance
/linux-4.1.27/arch/x86/kvm/ |
D | mmu.c | 3106 static int mmu_check_root(struct kvm_vcpu *vcpu, gfn_t root_gfn) in mmu_check_root() argument 3110 if (!kvm_is_visible_gfn(vcpu->kvm, root_gfn)) { in mmu_check_root() 3158 gfn_t root_gfn; in mmu_alloc_shadow_roots() local 3161 root_gfn = vcpu->arch.mmu.get_cr3(vcpu) >> PAGE_SHIFT; in mmu_alloc_shadow_roots() 3163 if (mmu_check_root(vcpu, root_gfn)) in mmu_alloc_shadow_roots() 3177 sp = kvm_mmu_get_page(vcpu, root_gfn, 0, PT64_ROOT_LEVEL, in mmu_alloc_shadow_roots() 3205 root_gfn = pdptr >> PAGE_SHIFT; in mmu_alloc_shadow_roots() 3206 if (mmu_check_root(vcpu, root_gfn)) in mmu_alloc_shadow_roots() 3211 sp = kvm_mmu_get_page(vcpu, root_gfn, i << 30, in mmu_alloc_shadow_roots()
|