Lines Matching refs:nb
78 struct notifier_block *nb, *next_nb; in notifier_call_chain() local
80 nb = rcu_dereference_raw(*nl); in notifier_call_chain()
82 while (nb && nr_to_call) { in notifier_call_chain()
83 next_nb = rcu_dereference_raw(nb->next); in notifier_call_chain()
86 if (unlikely(!func_ptr_is_kernel_text(nb->notifier_call))) { in notifier_call_chain()
88 nb = next_nb; in notifier_call_chain()
92 trace_notifier_run((void *)nb->notifier_call); in notifier_call_chain()
93 ret = nb->notifier_call(nb, val, v); in notifier_call_chain()
100 nb = next_nb; in notifier_call_chain()
600 int register_die_notifier(struct notifier_block *nb) in register_die_notifier() argument
602 return atomic_notifier_chain_register(&die_chain, nb); in register_die_notifier()
606 int unregister_die_notifier(struct notifier_block *nb) in unregister_die_notifier() argument
608 return atomic_notifier_chain_unregister(&die_chain, nb); in unregister_die_notifier()