Lines Matching refs:kvm_arch
40 struct kvm_arch *kvm_arch = &kvm->arch;
46 spin_lock(&kvm_arch->hv_root_tdp_lock);
48 if (!VALID_PAGE(kvm_arch->hv_root_tdp)) {
58 if (!VALID_PAGE(root) || root == kvm_arch->hv_root_tdp)
68 kvm_arch->hv_root_tdp = root;
86 kvm_arch->hv_root_tdp = INVALID_PAGE;
88 ret = hv_remote_flush_root_tdp(kvm_arch->hv_root_tdp, range);
91 spin_unlock(&kvm_arch->hv_root_tdp_lock);
114 struct kvm_arch *kvm_arch = &vcpu->kvm->arch;
117 spin_lock(&kvm_arch->hv_root_tdp_lock);
119 if (root_tdp != kvm_arch->hv_root_tdp)
120 kvm_arch->hv_root_tdp = INVALID_PAGE;
121 spin_unlock(&kvm_arch->hv_root_tdp_lock);