Lines Matching defs:idx
113 int idx = (int)arg;
117 list_for_each_entry_rcu(e, &elist[idx].list, list) {
130 brate = (nbytes - e->last_bytes)<<(7 - idx);
135 rate = (npackets - e->last_packets)<<(12 - idx);
144 if (!list_empty(&elist[idx].list))
145 mod_timer(&elist[idx].timer, jiffies + ((HZ/4) << idx));
212 int idx;
224 idx = parm->interval + 2;
235 if (!elist[idx].timer.function) {
236 INIT_LIST_HEAD(&elist[idx].list);
237 setup_timer(&elist[idx].timer, est_timer, idx);
240 if (list_empty(&elist[idx].list))
241 mod_timer(&elist[idx].timer, jiffies + ((HZ/4) << idx));
243 list_add_rcu(&est->list, &elist[idx].list);