Lines Matching refs:msgindex
186 int msgindex = msgtype - RTM_BASE;
189 * msgindex < 0 implies someone tried to register a netlink
190 * control code. msgindex >= RTM_NR_MSGTYPES may indicate that
193 BUG_ON(msgindex < 0 || msgindex >= RTM_NR_MSGTYPES);
195 return msgindex;
219 int msgindex;
223 msgindex = rtm_msgindex(msgtype);
236 old = rtnl_dereference(tab[msgindex]);
262 rcu_assign_pointer(tab[msgindex], link);
333 int msgindex;
336 msgindex = rtm_msgindex(msgtype);
345 link = rcu_replace_pointer_rtnl(tab[msgindex], NULL);
365 int msgindex;
375 for (msgindex = 0; msgindex < RTM_NR_MSGTYPES; msgindex++) {
376 link = rcu_replace_pointer_rtnl(tab[msgindex], NULL);