Home
last modified time | relevance | path

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

/Linux-v4.19/arch/x86/kvm/
Dmmu.c3530 static int mmu_check_root(struct kvm_vcpu *vcpu, gfn_t root_gfn) in mmu_check_root() argument
3534 if (!kvm_is_visible_gfn(vcpu->kvm, root_gfn)) { in mmu_check_root()
3586 gfn_t root_gfn; in mmu_alloc_shadow_roots() local
3589 root_gfn = vcpu->arch.mmu.get_cr3(vcpu) >> PAGE_SHIFT; in mmu_alloc_shadow_roots()
3591 if (mmu_check_root(vcpu, root_gfn)) in mmu_alloc_shadow_roots()
3608 sp = kvm_mmu_get_page(vcpu, root_gfn, 0, in mmu_alloc_shadow_roots()
3636 root_gfn = pdptr >> PAGE_SHIFT; in mmu_alloc_shadow_roots()
3637 if (mmu_check_root(vcpu, root_gfn)) in mmu_alloc_shadow_roots()
3645 sp = kvm_mmu_get_page(vcpu, root_gfn, i << 30, PT32_ROOT_LEVEL, in mmu_alloc_shadow_roots()