Lines Matching refs:rtnl_af_ops
740 static LIST_HEAD(rtnl_af_ops);
742 static struct rtnl_af_ops *rtnl_af_lookup(const int family, int *srcu_index) in rtnl_af_lookup()
744 struct rtnl_af_ops *ops; in rtnl_af_lookup()
750 list_for_each_entry_rcu(ops, &rtnl_af_ops, list) { in rtnl_af_lookup()
764 static void rtnl_af_put(struct rtnl_af_ops *ops, int srcu_index) in rtnl_af_put()
775 int rtnl_af_register(struct rtnl_af_ops *ops) in rtnl_af_register()
783 list_add_tail_rcu(&ops->list, &rtnl_af_ops); in rtnl_af_register()
794 void rtnl_af_unregister(struct rtnl_af_ops *ops) in rtnl_af_unregister()
809 struct rtnl_af_ops *af_ops; in rtnl_link_get_af_size()
816 list_for_each_entry_rcu(af_ops, &rtnl_af_ops, list) { in rtnl_link_get_af_size()
1858 const struct rtnl_af_ops *af_ops; in rtnl_fill_link_af()
1865 list_for_each_entry_rcu(af_ops, &rtnl_af_ops, list) { in rtnl_fill_link_af()
2691 struct rtnl_af_ops *af_ops; in validate_linkmsg()
3285 struct rtnl_af_ops *af_ops; in do_setlink()
5979 struct rtnl_af_ops *af_ops; in rtnl_fill_statsinfo()
5989 list_for_each_entry_rcu(af_ops, &rtnl_af_ops, list) { in rtnl_fill_statsinfo()
6081 struct rtnl_af_ops *af_ops; in if_nlmsg_stats_size()
6087 list_for_each_entry_rcu(af_ops, &rtnl_af_ops, list) { in if_nlmsg_stats_size()