Home
last modified time | relevance | path

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

/Linux-v4.19/arch/x86/kvm/
Dmmu.h83 if (likely(vcpu->arch.mmu.root_hpa != INVALID_PAGE)) in kvm_mmu_reload()
105 if (VALID_PAGE(vcpu->arch.mmu.root_hpa)) in kvm_mmu_load_cr3()
106 vcpu->arch.mmu.set_cr3(vcpu, vcpu->arch.mmu.root_hpa | in kvm_mmu_load_cr3()
Dmmu.c2472 BUG_ON(root != vcpu->arch.mmu.root_hpa); in shadow_walk_init_using_root()
2486 shadow_walk_init_using_root(iterator, vcpu, vcpu->arch.mmu.root_hpa, in shadow_walk_init()
3098 if (!VALID_PAGE(vcpu->arch.mmu.root_hpa)) in __direct_map()
3313 if (!VALID_PAGE(vcpu->arch.mmu.root_hpa)) in fast_page_fault()
3466 static void mmu_free_root_page(struct kvm *kvm, hpa_t *root_hpa, in mmu_free_root_page() argument
3471 if (!VALID_PAGE(*root_hpa)) in mmu_free_root_page()
3474 sp = page_header(*root_hpa & PT64_BASE_ADDR_MASK); in mmu_free_root_page()
3479 *root_hpa = INVALID_PAGE; in mmu_free_root_page()
3493 if (!(free_active_root && VALID_PAGE(mmu->root_hpa))) { in kvm_mmu_free_roots()
3513 mmu_free_root_page(vcpu->kvm, &mmu->root_hpa, in kvm_mmu_free_roots()
[all …]
Dmmu_audit.c62 if (!VALID_PAGE(vcpu->arch.mmu.root_hpa)) in mmu_spte_walk()
66 hpa_t root = vcpu->arch.mmu.root_hpa; in mmu_spte_walk()
Dpaging_tmpl.h619 if (!VALID_PAGE(vcpu->arch.mmu.root_hpa)) in FNAME()
859 static void FNAME(invlpg)(struct kvm_vcpu *vcpu, gva_t gva, hpa_t root_hpa) in FNAME()
874 if (!VALID_PAGE(root_hpa)) { in FNAME()
880 for_each_shadow_entry_using_root(vcpu, root_hpa, gva, iterator) { in FNAME()
Dvmx.c1272 static u64 construct_eptp(struct kvm_vcpu *vcpu, unsigned long root_hpa);
5115 if (!VALID_PAGE(vcpu->arch.mmu.root_hpa)) in __vmx_flush_tlb()
5117 ept_sync_context(construct_eptp(vcpu, vcpu->arch.mmu.root_hpa)); in __vmx_flush_tlb()
5307 static u64 construct_eptp(struct kvm_vcpu *vcpu, unsigned long root_hpa) in construct_eptp() argument
5316 eptp |= (root_hpa & PAGE_MASK); in construct_eptp()
/Linux-v4.19/arch/x86/include/asm/
Dkvm_host.h359 void (*invlpg)(struct kvm_vcpu *vcpu, gva_t gva, hpa_t root_hpa);
362 hpa_t root_hpa; member