Home
last modified time | relevance | path

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

/linux-6.6.21/net/core/
Drtnetlink.c181 static struct rtnl_link __rcu *__rcu *rtnl_msg_handlers[RTNL_FAMILY_MAX + 1]; variable
201 if (protocol >= ARRAY_SIZE(rtnl_msg_handlers)) in rtnl_get_link()
204 tab = rcu_dereference_rtnl(rtnl_msg_handlers[protocol]); in rtnl_get_link()
206 tab = rcu_dereference_rtnl(rtnl_msg_handlers[PF_UNSPEC]); in rtnl_get_link()
225 tab = rtnl_dereference(rtnl_msg_handlers[protocol]); in rtnl_register_internal()
232 rcu_assign_pointer(rtnl_msg_handlers[protocol], tab); in rtnl_register_internal()
338 tab = rtnl_dereference(rtnl_msg_handlers[protocol]); in rtnl_unregister()
370 tab = rtnl_dereference(rtnl_msg_handlers[protocol]); in rtnl_unregister_all()
375 RCU_INIT_POINTER(rtnl_msg_handlers[protocol], NULL); in rtnl_unregister_all()
3994 tab = rcu_dereference_rtnl(rtnl_msg_handlers[idx]); in rtnl_dump_all()