Lines Matching refs:to_kvm_vmx
1057 static inline struct kvm_vmx *to_kvm_vmx(struct kvm *kvm) in to_kvm_vmx() function
1552 to_kvm_vmx(kvm)->ept_pointers_match in check_ept_pointer_match()
1558 to_kvm_vmx(kvm)->ept_pointers_match = EPT_POINTERS_MATCH; in check_ept_pointer_match()
1565 spin_lock(&to_kvm_vmx(kvm)->ept_pointer_lock); in vmx_hv_remote_flush_tlb()
1567 if (to_kvm_vmx(kvm)->ept_pointers_match == EPT_POINTERS_CHECK) in vmx_hv_remote_flush_tlb()
1570 if (to_kvm_vmx(kvm)->ept_pointers_match != EPT_POINTERS_MATCH) { in vmx_hv_remote_flush_tlb()
1583 spin_unlock(&to_kvm_vmx(kvm)->ept_pointer_lock); in vmx_hv_remote_flush_tlb()
5019 struct kvm_vmx *kvm_vmx = to_kvm_vmx(vcpu->kvm); in enter_rmode()
5333 spin_lock(&to_kvm_vmx(kvm)->ept_pointer_lock); in vmx_set_cr3()
5335 to_kvm_vmx(kvm)->ept_pointers_match in vmx_set_cr3()
5337 spin_unlock(&to_kvm_vmx(kvm)->ept_pointer_lock); in vmx_set_cr3()
5344 guest_cr3 = to_kvm_vmx(kvm)->ept_identity_map_addr; in vmx_set_cr3()
5787 fn = to_kvm_vmx(kvm)->tss_addr >> PAGE_SHIFT; in init_rmode_tss()
5813 struct kvm_vmx *kvm_vmx = to_kvm_vmx(kvm); in init_rmode_identity_map()
6945 to_kvm_vmx(kvm)->tss_addr = addr; in vmx_set_tss_addr()
6951 to_kvm_vmx(kvm)->ept_identity_map_addr = ident_addr; in vmx_set_identity_map_addr()
10945 vfree(to_kvm_vmx(kvm)); in vmx_vm_free()
11098 spin_lock_init(&to_kvm_vmx(kvm)->ept_pointer_lock); in vmx_vm_init()