Searched refs:us_idle (Results 1 – 2 of 2) sorted by relevance
188 long us_idle; in red_enqueue() local192 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()
156 long us_idle; in gred_enqueue() local158 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()