Lines Matching refs:kvm_svm

70 	struct kvm_svm *kvm_svm;  in avic_ga_log_notifier()  local
79 hash_for_each_possible(svm_vm_data_hash, kvm_svm, hnode, vm_id) { in avic_ga_log_notifier()
80 if (kvm_svm->avic_vm_id != vm_id) in avic_ga_log_notifier()
82 vcpu = kvm_get_vcpu_by_id(&kvm_svm->kvm, vcpu_id); in avic_ga_log_notifier()
101 struct kvm_svm *kvm_svm = to_kvm_svm(kvm); in avic_vm_destroy() local
106 if (kvm_svm->avic_logical_id_table_page) in avic_vm_destroy()
107 __free_page(kvm_svm->avic_logical_id_table_page); in avic_vm_destroy()
108 if (kvm_svm->avic_physical_id_table_page) in avic_vm_destroy()
109 __free_page(kvm_svm->avic_physical_id_table_page); in avic_vm_destroy()
112 hash_del(&kvm_svm->hnode); in avic_vm_destroy()
120 struct kvm_svm *kvm_svm = to_kvm_svm(kvm); in avic_vm_init() local
121 struct kvm_svm *k2; in avic_vm_init()
134 kvm_svm->avic_physical_id_table_page = p_page; in avic_vm_init()
141 kvm_svm->avic_logical_id_table_page = l_page; in avic_vm_init()
157 kvm_svm->avic_vm_id = vm_id; in avic_vm_init()
158 hash_add(svm_vm_data_hash, &kvm_svm->hnode, kvm_svm->avic_vm_id); in avic_vm_init()
170 struct kvm_svm *kvm_svm = to_kvm_svm(svm->vcpu.kvm); in avic_init_vmcb() local
172 phys_addr_t lpa = __sme_set(page_to_phys(kvm_svm->avic_logical_id_table_page)); in avic_init_vmcb()
173 phys_addr_t ppa = __sme_set(page_to_phys(kvm_svm->avic_physical_id_table_page)); in avic_init_vmcb()
191 struct kvm_svm *kvm_svm = to_kvm_svm(vcpu->kvm); in avic_get_physical_id_entry() local
196 avic_physical_id_table = page_address(kvm_svm->avic_physical_id_table_page); in avic_get_physical_id_entry()
298 struct kvm_svm *kvm_svm = to_kvm_svm(kvm); in avic_kick_target_vcpus_fast() local
352 page_address(kvm_svm->avic_logical_id_table_page); in avic_kick_target_vcpus_fast()
467 struct kvm_svm *kvm_svm = to_kvm_svm(vcpu->kvm); in avic_get_logical_id_entry() local
489 logical_apic_id_table = (u32 *) page_address(kvm_svm->avic_logical_id_table_page); in avic_get_logical_id_entry()