Lines Matching refs:qave
150 unsigned long qave; /* Average queue length: A scaled */ member
214 q->qave >>= shift; 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()
228 q->qave >>= 1; in red_enqueue()
231 q->qave += sch->stats.backlog - (q->qave >> q->Wlog); in red_enqueue()
242 if (q->qave < q->qth_min) { in red_enqueue()
258 if (q->qave >= q->qth_max) { in red_enqueue()
287 if (((q->qave - q->qth_min)>>q->Wlog)*q->qcount < q->qR) in red_enqueue()
355 q->qave = 0; in red_reset()