Searched refs:vars (Results 1 – 6 of 6) sorted by relevance
/net/sched/ |
D | sch_choke.c | 60 struct red_vars vars; member 279 q->vars.qavg = red_calc_qavg(p, &q->vars, sch->q.qlen); in choke_enqueue() 280 if (red_is_idling(&q->vars)) in choke_enqueue() 281 red_end_of_idle_period(&q->vars); in choke_enqueue() 284 if (q->vars.qavg <= p->qth_min) in choke_enqueue() 285 q->vars.qcount = -1; in choke_enqueue() 297 if (q->vars.qavg > p->qth_max) { in choke_enqueue() 298 q->vars.qcount = -1; in choke_enqueue() 308 } else if (++q->vars.qcount) { in choke_enqueue() 309 if (red_mark_probability(p, &q->vars, q->vars.qavg)) { in choke_enqueue() [all …]
|
D | sch_codel.c | 58 struct codel_vars vars; member 67 static struct sk_buff *dequeue(struct codel_vars *vars, struct Qdisc *sch) in dequeue() argument 80 skb = codel_dequeue(sch, &q->params, &q->vars, &q->stats, dequeue); in codel_qdisc_dequeue() 168 codel_vars_init(&q->vars); in codel_init() 217 .count = q->vars.count, in codel_dump_stats() 218 .lastcount = q->vars.lastcount, in codel_dump_stats() 220 .ldelay = codel_time_to_us(q->vars.ldelay), in codel_dump_stats() 221 .dropping = q->vars.dropping, in codel_dump_stats() 225 if (q->vars.dropping) { in codel_dump_stats() 226 codel_tdiff_t delta = q->vars.drop_next - codel_get_time(); in codel_dump_stats() [all …]
|
D | sch_red.c | 44 struct red_vars vars; member 65 q->vars.qavg = red_calc_qavg(&q->parms, in red_enqueue() 66 &q->vars, in red_enqueue() 69 if (red_is_idling(&q->vars)) in red_enqueue() 70 red_end_of_idle_period(&q->vars); in red_enqueue() 72 switch (red_action(&q->parms, &q->vars, q->vars.qavg)) { in red_enqueue() 123 if (!red_is_idling(&q->vars)) in red_dequeue() 124 red_start_of_idle_period(&q->vars); in red_dequeue() 150 if (!red_is_idling(&q->vars)) in red_drop() 151 red_start_of_idle_period(&q->vars); in red_drop() [all …]
|
D | sch_gred.c | 44 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() 185 !red_is_idling(&t->tab[i]->vars)) in gred_enqueue() 186 qavg += t->tab[i]->vars.qavg; in gred_enqueue() 197 q->vars.qavg = red_calc_qavg(&q->parms, in gred_enqueue() 198 &q->vars, in gred_enqueue() 201 if (red_is_idling(&q->vars)) in gred_enqueue() [all …]
|
D | sch_sfq.c | 114 struct red_vars vars; member 399 red_set_vars(&slot->vars); in sfq_enqueue() 403 slot->vars.qavg = red_calc_qavg_no_idle_time(q->red_parms, in sfq_enqueue() 404 &slot->vars, in sfq_enqueue() 407 &slot->vars, in sfq_enqueue() 408 slot->vars.qavg)) { in sfq_enqueue() 577 red_set_vars(&slot->vars); in sfq_rehash() 603 slot->vars.qavg = red_calc_qavg(q->red_parms, in sfq_rehash() 604 &slot->vars, in sfq_rehash()
|
D | sch_fq_codel.c | 217 static struct sk_buff *dequeue(struct codel_vars *vars, struct Qdisc *sch) in dequeue() argument 223 flow = container_of(vars, struct fq_codel_flow, cvars); in dequeue()
|