Lines Matching refs:dst_kvm
1864 static int sev_lock_two_vms(struct kvm *dst_kvm, struct kvm *src_kvm) in sev_lock_two_vms() argument
1866 struct kvm_sev_info *dst_sev = &to_kvm_svm(dst_kvm)->sev_info; in sev_lock_two_vms()
1870 if (dst_kvm == src_kvm) in sev_lock_two_vms()
1884 if (mutex_lock_killable(&dst_kvm->lock)) in sev_lock_two_vms()
1891 mutex_unlock(&dst_kvm->lock); in sev_lock_two_vms()
1899 static void sev_unlock_two_vms(struct kvm *dst_kvm, struct kvm *src_kvm) in sev_unlock_two_vms() argument
1901 struct kvm_sev_info *dst_sev = &to_kvm_svm(dst_kvm)->sev_info; in sev_unlock_two_vms()
1904 mutex_unlock(&dst_kvm->lock); in sev_unlock_two_vms()
1974 static void sev_migrate_from(struct kvm *dst_kvm, struct kvm *src_kvm) in sev_migrate_from() argument
1976 struct kvm_sev_info *dst = &to_kvm_svm(dst_kvm)->sev_info; in sev_migrate_from()
2007 kvm_get_kvm(dst_kvm); in sev_migrate_from()
2009 mirror->enc_context_owner = dst_kvm; in sev_migrate_from()
2016 if (is_mirroring_enc_context(dst_kvm)) { in sev_migrate_from()
2024 kvm_for_each_vcpu(i, dst_vcpu, dst_kvm) { in sev_migrate_from()