Home
last modified time | relevance | path

Searched refs:rtnl_msg_handlers (Results 1 – 1 of 1) sorted by relevance

/Linux-v6.1/net/core/
Drtnetlink.c177 static struct rtnl_link __rcu *__rcu *rtnl_msg_handlers[RTNL_FAMILY_MAX + 1]; variable
197 if (protocol >= ARRAY_SIZE(rtnl_msg_handlers)) in rtnl_get_link()
200 tab = rcu_dereference_rtnl(rtnl_msg_handlers[protocol]); in rtnl_get_link()
202 tab = rcu_dereference_rtnl(rtnl_msg_handlers[PF_UNSPEC]); in rtnl_get_link()
221 tab = rtnl_dereference(rtnl_msg_handlers[protocol]); in rtnl_register_internal()
228 rcu_assign_pointer(rtnl_msg_handlers[protocol], tab); in rtnl_register_internal()
334 tab = rtnl_dereference(rtnl_msg_handlers[protocol]); in rtnl_unregister()
366 tab = rtnl_dereference(rtnl_msg_handlers[protocol]); in rtnl_unregister_all()
371 RCU_INIT_POINTER(rtnl_msg_handlers[protocol], NULL); in rtnl_unregister_all()
3870 tab = rcu_dereference_rtnl(rtnl_msg_handlers[idx]); in rtnl_dump_all()