Lines Matching refs:vars
56 struct red_vars vars; member
220 q->vars.qavg = red_calc_qavg(p, &q->vars, sch->q.qlen); in choke_enqueue()
221 if (red_is_idling(&q->vars)) in choke_enqueue()
222 red_end_of_idle_period(&q->vars); in choke_enqueue()
225 if (q->vars.qavg <= p->qth_min) in choke_enqueue()
226 q->vars.qcount = -1; in choke_enqueue()
238 if (q->vars.qavg > p->qth_max) { in choke_enqueue()
239 q->vars.qcount = -1; in choke_enqueue()
249 } else if (++q->vars.qcount) { in choke_enqueue()
250 if (red_mark_probability(p, &q->vars, q->vars.qavg)) { in choke_enqueue()
251 q->vars.qcount = 0; in choke_enqueue()
252 q->vars.qR = red_random(p); in choke_enqueue()
263 q->vars.qR = red_random(p); in choke_enqueue()
289 if (!red_is_idling(&q->vars)) in choke_dequeue()
290 red_start_of_idle_period(&q->vars); in choke_dequeue()
320 red_restart(&q->vars); in choke_reset()
415 red_set_vars(&q->vars); in choke_change()
418 red_end_of_idle_period(&q->vars); in choke_change()