Lines Matching refs:nb
69 struct notifier_block *nb, *next_nb; in notifier_call_chain() local
71 nb = rcu_dereference_raw(*nl); in notifier_call_chain()
73 while (nb && nr_to_call) { in notifier_call_chain()
74 next_nb = rcu_dereference_raw(nb->next); in notifier_call_chain()
77 if (unlikely(!func_ptr_is_kernel_text(nb->notifier_call))) { in notifier_call_chain()
79 nb = next_nb; in notifier_call_chain()
83 ret = nb->notifier_call(nb, val, v); in notifier_call_chain()
90 nb = next_nb; in notifier_call_chain()
533 int register_die_notifier(struct notifier_block *nb) in register_die_notifier() argument
535 return atomic_notifier_chain_register(&die_chain, nb); in register_die_notifier()
539 int unregister_die_notifier(struct notifier_block *nb) in unregister_die_notifier() argument
541 return atomic_notifier_chain_unregister(&die_chain, nb); in unregister_die_notifier()