Home
last modified time | relevance | path

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

/Linux-v5.4/arch/x86/kvm/
Dmmu.c4346 static bool cached_root_available(struct kvm_vcpu *vcpu, gpa_t new_cr3, in cached_root_available() argument
4359 if (new_cr3 == root.cr3 && VALID_PAGE(root.hpa) && in cached_root_available()
4371 static bool fast_cr3_switch(struct kvm_vcpu *vcpu, gpa_t new_cr3, in fast_cr3_switch() argument
4384 if (mmu_check_root(vcpu, new_cr3 >> PAGE_SHIFT)) in fast_cr3_switch()
4387 if (cached_root_available(vcpu, new_cr3, new_role)) { in fast_cr3_switch()
4420 static void __kvm_mmu_new_cr3(struct kvm_vcpu *vcpu, gpa_t new_cr3, in __kvm_mmu_new_cr3() argument
4424 if (!fast_cr3_switch(vcpu, new_cr3, new_role, skip_tlb_flush)) in __kvm_mmu_new_cr3()
4429 void kvm_mmu_new_cr3(struct kvm_vcpu *vcpu, gpa_t new_cr3, bool skip_tlb_flush) in kvm_mmu_new_cr3() argument
4431 __kvm_mmu_new_cr3(vcpu, new_cr3, kvm_mmu_calc_root_page_role(vcpu), in kvm_mmu_new_cr3()
/Linux-v5.4/arch/x86/include/asm/
Dkvm_host.h1457 void kvm_mmu_new_cr3(struct kvm_vcpu *vcpu, gpa_t new_cr3, bool skip_tlb_flush);