atomic_notifier_call_chain(9)
π atomic_notifier_call_chain(9) β Kernel API Manual β¨
okay so bestie, welcome to the Kernel API Manual, section 9 β this page is literally about calling functions in an atomic notifier chain, and it ate. π«Ά
πΈ NAME πΈ
atomic_notifier_call_chain β Call functions in an atomic notifier chain π
β¨ SYNOPSIS β¨
int atomic_notifier_call_chain (struct atomic_notifier_head *nh ,
unsigned long val , void *v );
π ARGUMENTS π
nhβ Pointer to head of the atomic notifier chain. Thatβs the main character of this call, bestie. πvalβ Value passed unmodified to notifier function. Like, no edits, no filters β it goes through as-is. β¨vβ Pointer passed unmodified to notifier function. Same vibe: untouched, unbothered. π¦
π« DESCRIPTION π«
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_MASK then atomic_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. π
okay but fr fr: βatomic contextβ means no blocking, bestie β that part is not a drill. π
π SEE ALSO π
- Kernel file
./kernel/notifier.c notifier_call_chain(9)notifier_call_chain_robust(9)atomic_notifier_chain_register(9)atomic_notifier_chain_register_unique_prio(9)atomic_notifier_chain_unregister(9)atomic_notifier_call_chain_is_empty(9)blocking_notifier_chain_register(9)blocking_notifier_chain_register_unique_prio(9)blocking_notifier_chain_unregister(9)blocking_notifier_call_chain(9)raw_notifier_chain_register(9)raw_notifier_chain_unregister(9)raw_notifier_call_chain(9)srcu_notifier_chain_register(9)srcu_notifier_chain_unregister(9)srcu_notifier_call_chain(9)srcu_init_notifier_head(9)
Later, bestie π«Ά β source/version: ./kernel, date: October 2026, page: atomic_notifier_call_chain(9). Mwah π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms