Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/tools/perf/
Dbuiltin-c2c.c66 struct compute_stats cstats; member
152 init_stats(&c2c_he->cstats.lcl_hitm); in c2c_he_zalloc()
153 init_stats(&c2c_he->cstats.rmt_hitm); in c2c_he_zalloc()
154 init_stats(&c2c_he->cstats.load); in c2c_he_zalloc()
247 struct compute_stats *cstats = &c2c_he->cstats; in compute_stats() local
250 update_stats(&cstats->rmt_hitm, weight); in compute_stats()
252 update_stats(&cstats->lcl_hitm, weight); in compute_stats()
254 update_stats(&cstats->load, weight); in compute_stats()
1162 return mean_entry(fmt, hpp, he, avg_stats(&c2c_he->cstats.__val)); \
/kernel/linux/linux-5.10/drivers/net/ppp/
Dppp_generic.c1367 struct ppp_comp_stats cstats; in ppp_net_ioctl() local
1379 memset(&cstats, 0, sizeof(cstats)); in ppp_net_ioctl()
1381 ppp->xcomp->comp_stat(ppp->xc_state, &cstats.c); in ppp_net_ioctl()
1383 ppp->rcomp->decomp_stat(ppp->rc_state, &cstats.d); in ppp_net_ioctl()
1384 if (copy_to_user(addr, &cstats, sizeof(cstats))) in ppp_net_ioctl()
/kernel/linux/linux-5.10/net/mac80211/
Ddebugfs_netdev.c502 txqi->cstats.drop_count, in ieee80211_if_fmt_aqm()
503 txqi->cstats.ecn_mark, in ieee80211_if_fmt_aqm()
Ddebugfs_sta.c175 txqi->cstats.drop_count, in sta_aqm_read()
176 txqi->cstats.ecn_mark, in sta_aqm_read()
Dtx.c1354 struct codel_stats *cstats; in fq_tin_dequeue_func() local
1358 cstats = &txqi->cstats; in fq_tin_dequeue_func()
1377 cstats, in fq_tin_dequeue_func()
1464 codel_stats_init(&txqi->cstats); in ieee80211_txq_init()
Dieee80211_i.h845 struct codel_stats cstats; member
Dcfg.c3952 txqstats->drops = txqi->cstats.drop_count; in ieee80211_fill_txq_stats()
3957 txqstats->ecn_marks = txqi->cstats.ecn_mark; in ieee80211_fill_txq_stats()