Searched refs:prev_roots (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/arch/x86/kvm/mmu/ |
H A D | mmu.c | 3577 VALID_PAGE(mmu->prev_roots[i].hpa)) in kvm_mmu_free_roots() 3588 mmu_free_root_page(kvm, &mmu->prev_roots[i].hpa, in kvm_mmu_free_roots() 3629 root_hpa = mmu->prev_roots[i].hpa; in kvm_mmu_free_guest_mode_roots() 4040 if (is_unsync_root(vcpu->arch.mmu->prev_roots[i].hpa)) in kvm_mmu_sync_prev_roots() 4572 swap(mmu->root, mmu->prev_roots[i]); in cached_root_find_and_keep_current() 4595 if (is_root_usable(&mmu->prev_roots[i], new_pgd, new_role)) in cached_root_find_without_current() 4601 swap(mmu->root, mmu->prev_roots[i]); in cached_root_find_without_current() 4604 mmu->prev_roots[i] = mmu->prev_roots[i + 1]; in cached_root_find_without_current() 4605 mmu->prev_roots[i].hpa = INVALID_PAGE; in cached_root_find_without_current() 5540 if (is_obsolete_root(kvm, mmu->prev_roots[i].hpa)) in __kvm_mmu_free_obsolete_roots() [all …]
|
/openbmc/linux/arch/x86/include/asm/ |
H A D | kvm_host.h | 460 struct kvm_mmu_root_info prev_roots[KVM_MMU_NUM_PREV_ROOTS]; member
|
/openbmc/linux/arch/x86/kvm/vmx/ |
H A D | nested.c | 369 cached_root = &vcpu->arch.mmu->prev_roots[i]; in nested_ept_invalidate_addr() 5775 if (nested_ept_root_matches(mmu->prev_roots[i].hpa, in handle_invept() 5776 mmu->prev_roots[i].pgd, in handle_invept()
|
/openbmc/linux/arch/x86/kvm/ |
H A D | x86.c | 1260 if (kvm_get_pcid(vcpu, mmu->prev_roots[i].pgd) == pcid) in kvm_invalidate_pcid()
|