Lines Matching refs:nb
1452 int register_netdevice_notifier(struct notifier_block *nb) in register_netdevice_notifier() argument
1460 err = raw_notifier_chain_register(&netdev_chain, nb); in register_netdevice_notifier()
1467 err = nb->notifier_call(nb, NETDEV_REGISTER, dev); in register_netdevice_notifier()
1475 nb->notifier_call(nb, NETDEV_UP, dev); in register_netdevice_notifier()
1491 nb->notifier_call(nb, NETDEV_GOING_DOWN, dev); in register_netdevice_notifier()
1492 nb->notifier_call(nb, NETDEV_DOWN, dev); in register_netdevice_notifier()
1494 nb->notifier_call(nb, NETDEV_UNREGISTER, dev); in register_netdevice_notifier()
1499 raw_notifier_chain_unregister(&netdev_chain, nb); in register_netdevice_notifier()
1518 int unregister_netdevice_notifier(struct notifier_block *nb) in unregister_netdevice_notifier() argument
1525 err = raw_notifier_chain_unregister(&netdev_chain, nb); in unregister_netdevice_notifier()
1532 nb->notifier_call(nb, NETDEV_GOING_DOWN, dev); in unregister_netdevice_notifier()
1533 nb->notifier_call(nb, NETDEV_DOWN, dev); in unregister_netdevice_notifier()
1535 nb->notifier_call(nb, NETDEV_UNREGISTER, dev); in unregister_netdevice_notifier()