Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/net/core/
H A Drtnetlink.c142 static struct rtnl_link *__rcu *rtnl_msg_handlers[RTNL_FAMILY_MAX + 1]; variable
162 if (protocol >= ARRAY_SIZE(rtnl_msg_handlers)) in rtnl_get_link()
165 tab = rcu_dereference_rtnl(rtnl_msg_handlers[protocol]); in rtnl_get_link()
167 tab = rcu_dereference_rtnl(rtnl_msg_handlers[PF_UNSPEC]); in rtnl_get_link()
186 tab = rtnl_msg_handlers[protocol]; in rtnl_register_internal()
193 rcu_assign_pointer(rtnl_msg_handlers[protocol], tab); in rtnl_register_internal()
296 tab = rtnl_dereference(rtnl_msg_handlers[protocol]); in rtnl_unregister()
327 tab = rtnl_msg_handlers[protocol]; in rtnl_unregister_all()
332 RCU_INIT_POINTER(rtnl_msg_handlers[protocol], NULL); in rtnl_unregister_all()
3805 tab = rcu_dereference_rtnl(rtnl_msg_handlers[id in rtnl_dump_all()
[all...]
/kernel/linux/linux-6.6/net/core/
H A 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[id in rtnl_dump_all()
[all...]

Completed in 12 milliseconds