Home
last modified time | relevance | path

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

/linux-2.4.37.9/net/sched/
Dsch_red.c188 long us_idle; in red_enqueue() local
192 us_idle = PSCHED_TDIFF_SAFE(now, q->qidlestart, q->Scell_max, 0); in red_enqueue()
211 shift = q->Stab[us_idle>>q->Scell_log]; in red_enqueue()
224 us_idle = (q->qave * us_idle)>>q->Scell_log; in red_enqueue()
225 if (us_idle < q->qave/2) in red_enqueue()
226 q->qave -= us_idle; in red_enqueue()
Dsch_gred.c156 long us_idle; in gred_enqueue() local
158 us_idle = PSCHED_TDIFF_SAFE(now, q->qidlestart, q->Scell_max, 0); in gred_enqueue()
161 q->qave >>= q->Stab[(us_idle>>q->Scell_log)&0xFF]; in gred_enqueue()