Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

arch/x86/kvm/svm/sev.c sev_asid_new() -> get_current_misc_cg()

Type Parameter Key Value
LOCK2 _T->lock

arch/x86/kvm/svm/sev.c sev_vm_move_enc_context_from() -> get_current_misc_cg()

Type Parameter Key Value
LOCK2 &kvm->lock
LOCK2 &source_kvm->lock
TYPE_LOCK (struct kvm)->lock

arch/x86/kvm/vmx/tdx.c __tdx_td_init() -> get_current_misc_cg()

Type Parameter Key Value
LOCK2 &kvm->lock
LOCK2 &kvm->slots_lock
TYPE_LOCK (struct kvm)->lock
TYPE_LOCK (struct kvm)->slots_lock