Home
last modified time | relevance | path

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

/linux/arch/x86/kvm/svm/
H A Dsev.c1913 struct kvm_sev_info *dst_sev = to_kvm_sev_info(dst_kvm); in sev_lock_two_vms() local
1924 if (atomic_cmpxchg_acquire(&dst_sev->migration_in_progress, 0, 1)) in sev_lock_two_vms()
1942 atomic_set_release(&dst_sev->migration_in_progress, 0); in sev_lock_two_vms()
1948 struct kvm_sev_info *dst_sev = to_kvm_sev_info(dst_kvm); in sev_unlock_two_vms() local
1953 atomic_set_release(&dst_sev->migration_in_progress, 0); in sev_unlock_two_vms()
2063 struct kvm_sev_info *dst_sev = to_kvm_sev_info(kvm); in sev_vm_move_enc_context_from() local
2089 dst_sev->misc_cg = get_current_misc_cg(); in sev_vm_move_enc_context_from()
2090 cg_cleanup_sev = dst_sev; in sev_vm_move_enc_context_from()
2091 if (dst_sev->misc_cg != src_sev->misc_cg) { in sev_vm_move_enc_context_from()
2092 ret = sev_misc_cg_try_charge(dst_sev); in sev_vm_move_enc_context_from()
[all …]