Lines Matching defs:msgindex
185 int msgindex = msgtype - RTM_BASE;
188 * msgindex < 0 implies someone tried to register a netlink
189 * control code. msgindex >= RTM_NR_MSGTYPES may indicate that
192 BUG_ON(msgindex < 0 || msgindex >= RTM_NR_MSGTYPES);
194 return msgindex;
218 int msgindex;
222 msgindex = rtm_msgindex(msgtype);
235 old = rtnl_dereference(tab[msgindex]);
261 rcu_assign_pointer(tab[msgindex], link);
332 int msgindex;
335 msgindex = rtm_msgindex(msgtype);
344 link = rtnl_dereference(tab[msgindex]);
345 RCU_INIT_POINTER(tab[msgindex], NULL);
365 int msgindex;
376 for (msgindex = 0; msgindex < RTM_NR_MSGTYPES; msgindex++) {
377 link = rtnl_dereference(tab[msgindex]);
381 RCU_INIT_POINTER(tab[msgindex], NULL);