Home
last modified time | relevance | path

Searched refs:cstats (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.15/net/sched/
Dsch_fq_codel.c60 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()
436 q->cstats.drop_len += qdisc_pkt_len(skb); in fq_codel_change()
438 q->cstats.drop_count++; in fq_codel_change()
440 qdisc_tree_reduce_backlog(sch, q->cstats.drop_count, q->cstats.drop_len); in fq_codel_change()
[all …]
/Linux-v5.15/tools/perf/
Dbuiltin-c2c.c68 struct compute_stats cstats; member
154 init_stats(&c2c_he->cstats.lcl_hitm); in c2c_he_zalloc()
155 init_stats(&c2c_he->cstats.rmt_hitm); in c2c_he_zalloc()
156 init_stats(&c2c_he->cstats.load); in c2c_he_zalloc()
249 struct compute_stats *cstats = &c2c_he->cstats; in compute_stats() local
252 update_stats(&cstats->rmt_hitm, weight); in compute_stats()
254 update_stats(&cstats->lcl_hitm, weight); in compute_stats()
256 update_stats(&cstats->load, weight); in compute_stats()
1175 return mean_entry(fmt, hpp, he, avg_stats(&c2c_he->cstats.__val)); \
/Linux-v5.15/drivers/net/ppp/
Dppp_generic.c1472 struct ppp_comp_stats cstats; in ppp_net_siocdevprivate() local
1484 memset(&cstats, 0, sizeof(cstats)); in ppp_net_siocdevprivate()
1486 ppp->xcomp->comp_stat(ppp->xc_state, &cstats.c); in ppp_net_siocdevprivate()
1488 ppp->rcomp->decomp_stat(ppp->rc_state, &cstats.d); in ppp_net_siocdevprivate()
1489 if (copy_to_user(addr, &cstats, sizeof(cstats))) in ppp_net_siocdevprivate()
/Linux-v5.15/net/mac80211/
Ddebugfs_netdev.c501 txqi->cstats.drop_count, in ieee80211_if_fmt_aqm()
502 txqi->cstats.ecn_mark, in ieee80211_if_fmt_aqm()
Ddebugfs_sta.c176 txqi->cstats.drop_count, in sta_aqm_read()
177 txqi->cstats.ecn_mark, in sta_aqm_read()
Dtx.c1372 struct codel_stats *cstats; in fq_tin_dequeue_func() local
1376 cstats = &txqi->cstats; in fq_tin_dequeue_func()
1395 cstats, in fq_tin_dequeue_func()
1481 codel_stats_init(&txqi->cstats); in ieee80211_txq_init()
Dieee80211_i.h847 struct codel_stats cstats; member
Dcfg.c3985 txqstats->drops = txqi->cstats.drop_count; in ieee80211_fill_txq_stats()
3990 txqstats->ecn_marks = txqi->cstats.ecn_mark; in ieee80211_fill_txq_stats()