Home
last modified time | relevance | path

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

/linux-6.12.1/kernel/
Duser-return-notifier.c15 void user_return_notifier_register(struct user_return_notifier *urn) in user_return_notifier_register() argument
18 hlist_add_head(&urn->link, this_cpu_ptr(&return_notifier_list)); in user_return_notifier_register()
26 void user_return_notifier_unregister(struct user_return_notifier *urn) in user_return_notifier_unregister() argument
28 hlist_del(&urn->link); in user_return_notifier_unregister()
37 struct user_return_notifier *urn; in fire_user_return_notifiers() local
42 hlist_for_each_entry_safe(urn, tmp2, head, link) in fire_user_return_notifiers()
43 urn->on_user_return(urn); in fire_user_return_notifiers()
/linux-6.12.1/include/linux/
Duser-return-notifier.h11 void (*on_user_return)(struct user_return_notifier *urn);
16 void user_return_notifier_register(struct user_return_notifier *urn);
17 void user_return_notifier_unregister(struct user_return_notifier *urn);
/linux-6.12.1/arch/x86/kvm/
Dx86.c208 struct user_return_notifier urn; member
561 static void kvm_on_user_return(struct user_return_notifier *urn) in kvm_on_user_return() argument
565 = container_of(urn, struct kvm_user_return_msrs, urn); in kvm_on_user_return()
576 user_return_notifier_unregister(urn); in kvm_on_user_return()
654 msrs->urn.on_user_return = kvm_on_user_return; in kvm_set_user_return_msr()
655 user_return_notifier_register(&msrs->urn); in kvm_set_user_return_msr()
667 kvm_on_user_return(&msrs->urn); in drop_user_return_notifiers()