Lines Matching refs:src_kvm
1864 static int sev_lock_two_vms(struct kvm *dst_kvm, struct kvm *src_kvm) in sev_lock_two_vms() argument
1867 struct kvm_sev_info *src_sev = &to_kvm_svm(src_kvm)->sev_info; in sev_lock_two_vms()
1870 if (dst_kvm == src_kvm) in sev_lock_two_vms()
1886 if (mutex_lock_killable_nested(&src_kvm->lock, SINGLE_DEPTH_NESTING)) 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
1902 struct kvm_sev_info *src_sev = &to_kvm_svm(src_kvm)->sev_info; in sev_unlock_two_vms()
1905 mutex_unlock(&src_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
1977 struct kvm_sev_info *src = &to_kvm_svm(src_kvm)->sev_info; in sev_migrate_from()
2008 kvm_put_kvm(src_kvm); in sev_migrate_from()
2036 src_vcpu = kvm_get_vcpu(src_kvm, i); in sev_migrate_from()