Home
last modified time | relevance | path

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

/linux-6.1.9/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.1.9/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.1.9/arch/x86/kvm/
Dx86.c203 struct user_return_notifier urn; member
351 static void kvm_on_user_return(struct user_return_notifier *urn) in kvm_on_user_return() argument
355 = container_of(urn, struct kvm_user_return_msrs, urn); in kvm_on_user_return()
366 user_return_notifier_unregister(urn); in kvm_on_user_return()
446 msrs->urn.on_user_return = kvm_on_user_return; in kvm_set_user_return_msr()
447 user_return_notifier_register(&msrs->urn); in kvm_set_user_return_msr()
460 kvm_on_user_return(&msrs->urn); in drop_user_return_notifiers()