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