Searched refs:us_idle (Results 1 - 2 of 2) sorted by relevance

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/include/net/
H A Dred.h175 long us_idle; local
179 us_idle = psched_tdiff_bounded(now, p->qidlestart, p->Scell_max);
201 shift = p->Stab[(us_idle >> p->Scell_log) & RED_STAB_MASK];
213 us_idle = (p->qavg * (u64)us_idle) >> p->Scell_log;
215 if (us_idle < (p->qavg >> 1))
216 return p->qavg - us_idle;
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/include/net/
H A Dred.h175 long us_idle; local
179 us_idle = psched_tdiff_bounded(now, p->qidlestart, p->Scell_max);
201 shift = p->Stab[(us_idle >> p->Scell_log) & RED_STAB_MASK];
213 us_idle = (p->qavg * (u64)us_idle) >> p->Scell_log;
215 if (us_idle < (p->qavg >> 1))
216 return p->qavg - us_idle;

Completed in 74 milliseconds