Lines Matching refs:msgindex
145 int msgindex = msgtype - RTM_BASE; in rtm_msgindex() local
152 BUG_ON(msgindex < 0 || msgindex >= RTM_NR_MSGTYPES); in rtm_msgindex()
154 return msgindex; in rtm_msgindex()
178 int msgindex; in rtnl_register_internal() local
182 msgindex = rtm_msgindex(msgtype); in rtnl_register_internal()
195 old = rtnl_dereference(tab[msgindex]); in rtnl_register_internal()
219 rcu_assign_pointer(tab[msgindex], link); in rtnl_register_internal()
289 int msgindex; in rtnl_unregister() local
292 msgindex = rtm_msgindex(msgtype); in rtnl_unregister()
301 link = tab[msgindex]; in rtnl_unregister()
302 rcu_assign_pointer(tab[msgindex], NULL); in rtnl_unregister()
321 int msgindex; in rtnl_unregister_all() local
332 for (msgindex = 0; msgindex < RTM_NR_MSGTYPES; msgindex++) { in rtnl_unregister_all()
333 link = tab[msgindex]; in rtnl_unregister_all()
337 rcu_assign_pointer(tab[msgindex], NULL); in rtnl_unregister_all()