Lines Matching refs:nb
73 struct notifier_block *nb, *next_nb; in notifier_call_chain() local
75 nb = rcu_dereference_raw(*nl); in notifier_call_chain()
77 while (nb && nr_to_call) { in notifier_call_chain()
78 next_nb = rcu_dereference_raw(nb->next); in notifier_call_chain()
81 if (unlikely(!func_ptr_is_kernel_text(nb->notifier_call))) { in notifier_call_chain()
83 nb = next_nb; in notifier_call_chain()
87 ret = nb->notifier_call(nb, val, v); in notifier_call_chain()
94 nb = next_nb; in notifier_call_chain()
597 int register_die_notifier(struct notifier_block *nb) in register_die_notifier() argument
599 return atomic_notifier_chain_register(&die_chain, nb); in register_die_notifier()
603 int unregister_die_notifier(struct notifier_block *nb) in unregister_die_notifier() argument
605 return atomic_notifier_chain_unregister(&die_chain, nb); in unregister_die_notifier()