Searched refs:af_ops (Results 1 – 2 of 2) sorted by relevance
182 static struct rtnl_link_af_ops *af_ops[AF_MAX]; variable198 if (af_ops[family]) in rtnl_link_af_ops_lookup()199 af_ops[family]->ao_refcnt++; in rtnl_link_af_ops_lookup()202 return af_ops[family]; in rtnl_link_af_ops_lookup()293 if (af_ops[ops->ao_family]) { in rtnl_link_af_register()299 af_ops[ops->ao_family] = ops; in rtnl_link_af_register()332 if (!af_ops[ops->ao_family]) { in rtnl_link_af_unregister()342 af_ops[ops->ao_family] = NULL; in rtnl_link_af_unregister()368 struct rtnl_link_af_ops *af_ops; in rtnl_link_af_data_compare() local377 af_ops = rtnl_link_af_ops_lookup(family); in rtnl_link_af_data_compare()[all …]
95 struct rtnl_link_af_ops *af_ops; in af_lookup_and_alloc() local98 af_ops = rtnl_link_af_ops_lookup(family); in af_lookup_and_alloc()99 if (!af_ops) in af_lookup_and_alloc()102 if (!(data = rtnl_link_af_alloc(link, af_ops))) { in af_lookup_and_alloc()103 rtnl_link_af_ops_put(af_ops); in af_lookup_and_alloc()107 return af_ops; in af_lookup_and_alloc()586 struct rtnl_link_af_ops *af_ops = NULL; in link_msg_parser() local616 if ((af_ops_family = af_ops = af_lookup_and_alloc(link, family))) { in link_msg_parser()617 if (af_ops->ao_protinfo_policy) { in link_msg_parser()619 af_ops->ao_protinfo_policy, in link_msg_parser()[all …]