Home
last modified time | relevance | path

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

/linux-4.19.296/include/net/
Dred.h256 long us_idle = min_t(s64, delta, p->Scell_max); in red_calc_qavg_from_idle_time() local
279 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()