Lines Matching refs:fn_net
32 struct fib_notifier_net *fn_net = net_generic(net, fib_notifier_net_id); in call_fib_notifiers() local
35 err = atomic_notifier_call_chain(&fn_net->fib_chain, event_type, info); in call_fib_notifiers()
42 struct fib_notifier_net *fn_net = net_generic(net, fib_notifier_net_id); in fib_seq_sum() local
48 list_for_each_entry_rcu(ops, &fn_net->fib_notifier_ops, list) { in fib_seq_sum()
63 struct fib_notifier_net *fn_net = net_generic(net, fib_notifier_net_id); in fib_net_dump() local
68 list_for_each_entry_rcu(ops, &fn_net->fib_notifier_ops, list) { in fib_net_dump()
87 struct fib_notifier_net *fn_net = net_generic(net, fib_notifier_net_id); in fib_dump_is_consistent() local
89 atomic_notifier_chain_register(&fn_net->fib_chain, nb); in fib_dump_is_consistent()
92 atomic_notifier_chain_unregister(&fn_net->fib_chain, nb); in fib_dump_is_consistent()
123 struct fib_notifier_net *fn_net = net_generic(net, fib_notifier_net_id); in unregister_fib_notifier() local
125 return atomic_notifier_chain_unregister(&fn_net->fib_chain, nb); in unregister_fib_notifier()
132 struct fib_notifier_net *fn_net = net_generic(net, fib_notifier_net_id); in __fib_notifier_ops_register() local
135 list_for_each_entry(o, &fn_net->fib_notifier_ops, list) in __fib_notifier_ops_register()
138 list_add_tail_rcu(&ops->list, &fn_net->fib_notifier_ops); in __fib_notifier_ops_register()
173 struct fib_notifier_net *fn_net = net_generic(net, fib_notifier_net_id); in fib_notifier_net_init() local
175 INIT_LIST_HEAD(&fn_net->fib_notifier_ops); in fib_notifier_net_init()
176 ATOMIC_INIT_NOTIFIER_HEAD(&fn_net->fib_chain); in fib_notifier_net_init()
182 struct fib_notifier_net *fn_net = net_generic(net, fib_notifier_net_id); in fib_notifier_net_exit() local
184 WARN_ON_ONCE(!list_empty(&fn_net->fib_notifier_ops)); in fib_notifier_net_exit()