Lines Matching refs:rtnl_af_ops
746 static LIST_HEAD(rtnl_af_ops);
748 static struct rtnl_af_ops *rtnl_af_lookup(const int family, int *srcu_index) in rtnl_af_lookup()
750 struct rtnl_af_ops *ops; in rtnl_af_lookup()
756 list_for_each_entry_rcu(ops, &rtnl_af_ops, list) { in rtnl_af_lookup()
770 static void rtnl_af_put(struct rtnl_af_ops *ops, int srcu_index) in rtnl_af_put()
781 int rtnl_af_register(struct rtnl_af_ops *ops) in rtnl_af_register()
789 list_add_tail_rcu(&ops->list, &rtnl_af_ops); in rtnl_af_register()
800 void rtnl_af_unregister(struct rtnl_af_ops *ops) in rtnl_af_unregister()
815 struct rtnl_af_ops *af_ops; in rtnl_link_get_af_size()
822 list_for_each_entry_rcu(af_ops, &rtnl_af_ops, list) { in rtnl_link_get_af_size()
1868 const struct rtnl_af_ops *af_ops; in rtnl_fill_link_af()
1875 list_for_each_entry_rcu(af_ops, &rtnl_af_ops, list) { in rtnl_fill_link_af()
2703 struct rtnl_af_ops *af_ops; in validate_linkmsg()
3319 struct rtnl_af_ops *af_ops; in do_setlink()
6022 struct rtnl_af_ops *af_ops; in rtnl_fill_statsinfo()
6032 list_for_each_entry_rcu(af_ops, &rtnl_af_ops, list) { in rtnl_fill_statsinfo()
6124 struct rtnl_af_ops *af_ops; in if_nlmsg_stats_size()
6130 list_for_each_entry_rcu(af_ops, &rtnl_af_ops, list) { in if_nlmsg_stats_size()