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.c1920 struct kvm_sev_info *dst_sev = to_kvm_sev_info(dst_kvm); in sev_lock_two_vms() local
1931 if (atomic_cmpxchg_acquire(&dst_sev->migration_in_progress, 0, 1)) in sev_lock_two_vms()
1949 atomic_set_release(&dst_sev->migration_in_progress, 0); in sev_lock_two_vms()
1955 struct kvm_sev_info *dst_sev = to_kvm_sev_info(dst_kvm); in sev_unlock_two_vms() local
1960 atomic_set_release(&dst_sev->migration_in_progress, 0); in sev_unlock_two_vms()
2070 struct kvm_sev_info *dst_sev = to_kvm_sev_info(kvm); in sev_vm_move_enc_context_from() local
2096 dst_sev->misc_cg = get_current_misc_cg(); in sev_vm_move_enc_context_from()
2097 cg_cleanup_sev = dst_sev; in sev_vm_move_enc_context_from()
2098 if (dst_sev->misc_cg != src_sev->misc_cg) { in sev_vm_move_enc_context_from()
2099 ret = sev_misc_cg_try_charge(dst_sev); in sev_vm_move_enc_context_from()
[all …]