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