Lines Matching defs:msgindex
361 int msgindex = msgtype - RTM_BASE;
364 * msgindex < 0 implies someone tried to register a netlink
365 * control code. msgindex >= RTM_NR_MSGTYPES may indicate that
368 BUG_ON(msgindex < 0 || msgindex >= RTM_NR_MSGTYPES);
370 return msgindex;
394 int msgindex;
398 msgindex = rtm_msgindex(msgtype);
411 old = rtnl_dereference(tab[msgindex]);
437 rcu_assign_pointer(tab[msgindex], link);
457 int msgindex;
460 msgindex = rtm_msgindex(msgtype);
469 link = rcu_replace_pointer_rtnl(tab[msgindex], NULL);
488 int msgindex;
498 for (msgindex = 0; msgindex < RTM_NR_MSGTYPES; msgindex++) {
499 link = rcu_replace_pointer_rtnl(tab[msgindex], NULL);