Searched refs:us_idle (Results 1 – 1 of 1) sorted by relevance
293 long us_idle = min_t(s64, delta, p->Scell_max); in red_calc_qavg_from_idle_time() local316 shift = p->Stab[(us_idle >> p->Scell_log) & RED_STAB_MASK]; in red_calc_qavg_from_idle_time()328 us_idle = (v->qavg * (u64)us_idle) >> p->Scell_log; in red_calc_qavg_from_idle_time()330 if (us_idle < (v->qavg >> 1)) in red_calc_qavg_from_idle_time()331 return v->qavg - us_idle; in red_calc_qavg_from_idle_time()