Searched refs:qavg (Results 1 – 5 of 5) sorted by relevance
/Linux-v6.6/include/net/ |
D | red.h | 150 unsigned long qavg; /* Average queue length: Wlog scaled */ member 165 v->qavg = 0; in red_set_vars() 285 v->qavg = 0; in red_restart() 319 return v->qavg >> shift; 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() 333 return v->qavg >> 1; in red_calc_qavg_from_idle_time() 350 return v->qavg + (backlog - (v->qavg >> p->Wlog)); in red_calc_qavg_no_idle_time() 371 unsigned long qavg) in red_mark_probability() argument [all …]
|
/Linux-v6.6/net/sched/ |
D | sch_gred.c | 131 q->vars.qavg = table->wred_set.qavg; in gred_load_wred_set() 138 table->wred_set.qavg = q->vars.qavg; in gred_store_wred_set() 170 unsigned long qavg = 0; in gred_enqueue() local 201 qavg += t->tab[i]->vars.qavg; in gred_enqueue() 212 q->vars.qavg = red_calc_qavg(&q->parms, in gred_enqueue() 222 switch (red_action(&q->parms, &q->vars, q->vars.qavg + qavg)) { in gred_enqueue() 809 unsigned long qavg; in gred_dump() local 840 qavg = red_calc_qavg(&q->parms, &q->vars, in gred_dump() 841 q->vars.qavg >> q->parms.Wlog); in gred_dump() 842 opt.qave = qavg >> q->parms.Wlog; in gred_dump()
|
D | sch_choke.c | 220 q->vars.qavg = red_calc_qavg(p, &q->vars, sch->q.qlen); in choke_enqueue() 225 if (q->vars.qavg <= p->qth_min) in choke_enqueue() 238 if (q->vars.qavg > p->qth_max) { in choke_enqueue() 250 if (red_mark_probability(p, &q->vars, q->vars.qavg)) { in choke_enqueue()
|
D | sch_red.c | 78 q->vars.qavg = red_calc_qavg(&q->parms, in red_enqueue() 85 switch (red_action(&q->parms, &q->vars, q->vars.qavg)) { in red_enqueue()
|
D | sch_sfq.c | 379 slot->vars.qavg = red_calc_qavg_no_idle_time(q->red_parms, in sfq_enqueue() 384 slot->vars.qavg)) { in sfq_enqueue() 585 slot->vars.qavg = red_calc_qavg(q->red_parms, in sfq_rehash()
|