__atomic_notifier_call_chain - Call functions in an atomic notifier chain
"int __kprobes __atomic_notifier_call_chain(struct atomic_notifier_head * " "nh" ", unsigned long " "val" ", void * " "v" ", int " "nr_to_call" ", int * " "nr_calls" ");"
nh
Pointer to head of the atomic notifier chainvalValue passed unmodified to notifier functionv
Pointer passed unmodified to notifier functionnr_to_callSee the comment for notifier_call_chain. nr_calls See the comment for notifier_call_chain.
Calls each function in a notifier chain in turn. The functions run in an atomic context, so they must not block. This routine uses RCU to synchronize with changes to the chain.
If the return value of the notifier can be and'ed with NOTIFY_STOP_MASKfR
then atomic_notifier_call_chainfR
will return immediately, with the return value of the notifier function which halted execution. Otherwise the return value is the return value of the last notifier function called.