Searched refs:snp_vmsa_mutex (Results 1 – 2 of 2) sorted by relevance
3843 WARN_ON(!mutex_is_locked(&svm->sev_es.snp_vmsa_mutex)); in __sev_snp_update_protected_guest_state()3917 mutex_lock(&svm->sev_es.snp_vmsa_mutex); in sev_snp_init_protected_guest_state()3929 mutex_unlock(&svm->sev_es.snp_vmsa_mutex); in sev_snp_init_protected_guest_state()3965 mutex_lock(&target_svm->sev_es.snp_vmsa_mutex); in sev_snp_ap_creation()4029 mutex_unlock(&target_svm->sev_es.snp_vmsa_mutex); in sev_snp_ap_creation()4577 mutex_init(&svm->sev_es.snp_vmsa_mutex); in sev_es_vcpu_reset()
238 struct mutex snp_vmsa_mutex; /* Used to handle concurrent updates of VMSA. */ member