blocking_notifier_ca(9)
NAME
- blocking_notifier_call_chain - Call functions in a block
- ing notifier chain
SYNOPSIS
int blocking_notifier_call_chain(struct blocking_notifier_head * nh, unsigned long val, void * v);
ARGUMENTS
- nh
- Pointer to head of the blocking notifier chain
- val
- Value passed unmodified to notifier function
- v
- Pointer passed unmodified to notifier function
DESCRIPTION
- Calls each function in a notifier chain in turn. The func
- tions 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
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.