Lines Matching refs:cstats
60 struct codel_stats cstats; member
304 &flow->cvars, &q->cstats, qdisc_pkt_len, in fq_codel_dequeue()
320 if (q->cstats.drop_count && sch->q.qlen) { in fq_codel_dequeue()
321 qdisc_tree_reduce_backlog(sch, q->cstats.drop_count, in fq_codel_dequeue()
322 q->cstats.drop_len); in fq_codel_dequeue()
323 q->cstats.drop_count = 0; in fq_codel_dequeue()
324 q->cstats.drop_len = 0; in fq_codel_dequeue()
438 q->cstats.drop_len += qdisc_pkt_len(skb); in fq_codel_change()
440 q->cstats.drop_count++; in fq_codel_change()
442 qdisc_tree_reduce_backlog(sch, q->cstats.drop_count, q->cstats.drop_len); in fq_codel_change()
443 q->cstats.drop_count = 0; in fq_codel_change()
444 q->cstats.drop_len = 0; in fq_codel_change()
474 codel_stats_init(&q->cstats); in fq_codel_init()
573 st.qdisc_stats.maxpacket = q->cstats.maxpacket; in fq_codel_dump_stats()
575 st.qdisc_stats.ecn_mark = q->cstats.ecn_mark; in fq_codel_dump_stats()
577 st.qdisc_stats.ce_mark = q->cstats.ce_mark; in fq_codel_dump_stats()