Lines Matching refs:msgindex
146 int msgindex = msgtype - RTM_BASE; in rtm_msgindex() local
153 BUG_ON(msgindex < 0 || msgindex >= RTM_NR_MSGTYPES); in rtm_msgindex()
155 return msgindex; in rtm_msgindex()
179 int msgindex; in rtnl_register_internal() local
183 msgindex = rtm_msgindex(msgtype); in rtnl_register_internal()
196 old = rtnl_dereference(tab[msgindex]); in rtnl_register_internal()
220 rcu_assign_pointer(tab[msgindex], link); in rtnl_register_internal()
291 int msgindex; in rtnl_unregister() local
294 msgindex = rtm_msgindex(msgtype); in rtnl_unregister()
303 link = rtnl_dereference(tab[msgindex]); in rtnl_unregister()
304 rcu_assign_pointer(tab[msgindex], NULL); in rtnl_unregister()
324 int msgindex; in rtnl_unregister_all() local
335 for (msgindex = 0; msgindex < RTM_NR_MSGTYPES; msgindex++) { in rtnl_unregister_all()
336 link = rtnl_dereference(tab[msgindex]); in rtnl_unregister_all()
340 rcu_assign_pointer(tab[msgindex], NULL); in rtnl_unregister_all()