Lines Matching defs:msgindex
146 int msgindex = msgtype - RTM_BASE;
149 * msgindex < 0 implies someone tried to register a netlink
150 * control code. msgindex >= RTM_NR_MSGTYPES may indicate that
153 BUG_ON(msgindex < 0 || msgindex >= RTM_NR_MSGTYPES);
155 return msgindex;
179 int msgindex;
183 msgindex = rtm_msgindex(msgtype);
196 old = rtnl_dereference(tab[msgindex]);
220 rcu_assign_pointer(tab[msgindex], link);
290 int msgindex;
293 msgindex = rtm_msgindex(msgtype);
302 link = tab[msgindex];
303 rcu_assign_pointer(tab[msgindex], NULL);
322 int msgindex;
333 for (msgindex = 0; msgindex < RTM_NR_MSGTYPES; msgindex++) {
334 link = tab[msgindex];
338 rcu_assign_pointer(tab[msgindex], NULL);