Lines Matching refs:vars
43 struct red_vars vars; member
131 q->vars.qavg = table->wred_set.qavg; in gred_load_wred_set()
132 q->vars.qidlestart = table->wred_set.qidlestart; in gred_load_wred_set()
138 table->wred_set.qavg = q->vars.qavg; in gred_store_wred_set()
139 table->wred_set.qidlestart = q->vars.qidlestart; in gred_store_wred_set()
200 !red_is_idling(&t->tab[i]->vars)) in gred_enqueue()
201 qavg += t->tab[i]->vars.qavg; in gred_enqueue()
212 q->vars.qavg = red_calc_qavg(&q->parms, in gred_enqueue()
213 &q->vars, in gred_enqueue()
216 if (red_is_idling(&q->vars)) in gred_enqueue()
217 red_end_of_idle_period(&q->vars); in gred_enqueue()
222 switch (red_action(&q->parms, &q->vars, q->vars.qavg + qavg)) { in gred_enqueue()
283 red_start_of_idle_period(&q->vars); in gred_dequeue()
306 red_restart(&q->vars); in gred_reset()
511 red_end_of_idle_period(&q->vars); in gred_change_vq()
516 red_set_vars(&q->vars); in gred_change_vq()
840 qavg = red_calc_qavg(&q->parms, &q->vars, in gred_dump()
841 q->vars.qavg >> q->parms.Wlog); in gred_dump()