__srcu_notifier_call_chain — Call functions in an SRCU notifier chain
int __srcu_notifier_call_chain ( | struct srcu_notifier_head * | nh, |
| unsigned long | val, | |
| void * | v, | |
| int | nr_to_call, | |
| int * | nr_calls); |
nhPointer to head of the SRCU notifier chain
valValue passed unmodified to notifier function
vPointer passed unmodified to notifier function
nr_to_callSee comment for notifier_call_chain.
nr_callsSee comment for notifier_call_chain
Calls each function in a notifier chain in turn. The functions run in a process context, so they are allowed to block.
If the return value of the notifier can be and'ed
with NOTIFY_STOP_MASK then srcu_notifier_call_chain
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.