Home
last modified time | relevance | path

Searched refs:dst_sev (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/arch/x86/kvm/svm/
H A Dsev.c1591 struct kvm_sev_info *dst_sev = &to_kvm_svm(dst_kvm)->sev_info; in sev_lock_two_vms() local
1602 if (atomic_cmpxchg_acquire(&dst_sev->migration_in_progress, 0, 1)) in sev_lock_two_vms()
1620 atomic_set_release(&dst_sev->migration_in_progress, 0); in sev_lock_two_vms()
1626 struct kvm_sev_info *dst_sev = &to_kvm_svm(dst_kvm)->sev_info; in sev_unlock_two_vms() local
1631 atomic_set_release(&dst_sev->migration_in_progress, 0); in sev_unlock_two_vms()
1801 struct kvm_sev_info *dst_sev = &to_kvm_svm(kvm)->sev_info; in sev_vm_move_enc_context_from() local
1828 dst_sev->misc_cg = get_current_misc_cg(); in sev_vm_move_enc_context_from()
1829 cg_cleanup_sev = dst_sev; in sev_vm_move_enc_context_from()
1830 if (dst_sev->misc_cg != src_sev->misc_cg) { in sev_vm_move_enc_context_from()
1831 ret = sev_misc_cg_try_charge(dst_sev); in sev_vm_move_enc_context_from()