__raw_notifier_call_chain — Call functions in a raw notifier chain
int __raw_notifier_call_chain
(struct raw_notifier_head * nh, unsigned long val, void * v, int nr_to_call, int * nr_calls);
Pointer to head of the raw notifier chain
Value passed unmodified to notifier function
Pointer passed unmodified to notifier function
See comment for notifier_call_chain.
See comment for notifier_call_chain
Calls each function in a notifier chain in turn. The functions run in an undefined context. All locking must be provided by the caller.
If the return value of the notifier can be and'ed with NOTIFY_STOP_MASK then raw_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.