/linux-6.6.21/net/core/ |
D | gen_estimator.c | 46 struct gnet_stats_basic_sync __percpu *cpu_bstats; member 69 gnet_stats_add_basic(b, e->cpu_bstats, e->bstats, e->running); in est_fetch_counters() 131 struct gnet_stats_basic_sync __percpu *cpu_bstats, in gen_new_estimator() argument 166 est->cpu_bstats = cpu_bstats; in gen_new_estimator() 234 struct gnet_stats_basic_sync __percpu *cpu_bstats, in gen_replace_estimator() argument 239 return gen_new_estimator(bstats, cpu_bstats, rate_est, in gen_replace_estimator()
|
/linux-6.6.21/include/net/ |
D | gen_stats.h | 71 struct gnet_stats_basic_sync __percpu *cpu_bstats, 77 struct gnet_stats_basic_sync __percpu *cpu_bstats,
|
D | act_api.h | 39 struct gnet_stats_basic_sync __percpu *cpu_bstats; member 225 if (likely(a->cpu_bstats)) { in tcf_action_update_bstats() 226 bstats_update(this_cpu_ptr(a->cpu_bstats), skb); in tcf_action_update_bstats()
|
D | sch_generic.h | 107 struct gnet_stats_basic_sync __percpu *cpu_bstats; member 871 bstats_update(this_cpu_ptr(sch->cpu_bstats), skb); in qdisc_bstats_cpu_update() 1286 struct gnet_stats_basic_sync __percpu *cpu_bstats; member 1294 bstats_update(this_cpu_ptr(miniq->cpu_bstats), skb); in mini_qdisc_bstats_cpu_update()
|
/linux-6.6.21/net/sched/ |
D | sch_generic.c | 948 sch->cpu_bstats = in qdisc_alloc() 950 if (!sch->cpu_bstats) in qdisc_alloc() 955 free_percpu(sch->cpu_bstats); in qdisc_alloc() 1035 free_percpu(qdisc->cpu_bstats); in qdisc_free() 1596 miniqp->miniq1.cpu_bstats = qdisc->cpu_bstats; in mini_qdisc_pair_init() 1598 miniqp->miniq2.cpu_bstats = qdisc->cpu_bstats; in mini_qdisc_pair_init()
|
D | sch_mq.c | 147 gnet_stats_add_basic(&sch->bstats, qdisc->cpu_bstats, in mq_dump() 234 if (gnet_stats_copy_basic(d, sch->cpu_bstats, &sch->bstats, true) < 0 || in mq_dump_class_stats()
|
D | act_api.c | 124 free_percpu(p->cpu_bstats); in free_tcf() 748 p->cpu_bstats = netdev_alloc_pcpu_stats(struct gnet_stats_basic_sync); in tcf_idr_create() 749 if (!p->cpu_bstats) in tcf_idr_create() 767 err = gen_new_estimator(&p->tcfa_bstats, p->cpu_bstats, in tcf_idr_create() 784 free_percpu(p->cpu_bstats); in tcf_idr_create() 1510 if (a->cpu_bstats) { in tcf_action_update_stats() 1511 _bstats_update(this_cpu_ptr(a->cpu_bstats), bytes, packets); in tcf_action_update_stats() 1556 if (gnet_stats_copy_basic(&d, p->cpu_bstats, in tcf_action_copy_stats()
|
D | sch_mqprio.c | 577 gnet_stats_add_basic(&sch->bstats, qdisc->cpu_bstats, in mqprio_dump() 691 gnet_stats_add_basic(&bstats, qdisc->cpu_bstats, in mqprio_dump_class_stats() 711 if (gnet_stats_copy_basic(d, sch->cpu_bstats, in mqprio_dump_class_stats()
|
D | sch_api.c | 916 struct gnet_stats_basic_sync __percpu *cpu_bstats = NULL; in tc_fill_qdisc() local 970 cpu_bstats = q->cpu_bstats; in tc_fill_qdisc() 974 if (gnet_stats_copy_basic(&d, cpu_bstats, &q->bstats, true) < 0 || in tc_fill_qdisc() 1056 free_percpu(sch->cpu_bstats); in qdisc_clear_nolock() 1058 sch->cpu_bstats = NULL; in qdisc_clear_nolock() 1339 sch->cpu_bstats, in qdisc_create() 1408 sch->cpu_bstats, in qdisc_change()
|
D | act_police.c | 116 police->common.cpu_bstats, in tcf_police_init() 257 bstats_update(this_cpu_ptr(police->common.cpu_bstats), skb); in tcf_police_act()
|
D | act_skbmod.c | 35 bstats_update(this_cpu_ptr(d->common.cpu_bstats), skb); in tcf_skbmod_act()
|
D | act_sample.c | 174 bstats_update(this_cpu_ptr(s->common.cpu_bstats), skb); in tcf_sample_act()
|
D | act_ife.c | 721 bstats_update(this_cpu_ptr(ife->common.cpu_bstats), skb); in tcf_ife_decode() 809 bstats_update(this_cpu_ptr(ife->common.cpu_bstats), skb); in tcf_ife_encode()
|
D | sch_multiq.c | 340 if (gnet_stats_copy_basic(d, cl_q->cpu_bstats, &cl_q->bstats, true) < 0 || in multiq_dump_class_stats()
|
D | act_bpf.c | 45 bstats_update(this_cpu_ptr(prog->common.cpu_bstats), skb); in tcf_bpf_act()
|
D | sch_prio.c | 362 if (gnet_stats_copy_basic(d, cl_q->cpu_bstats, in prio_dump_class_stats()
|
D | act_mpls.c | 63 bstats_update(this_cpu_ptr(m->common.cpu_bstats), skb); in tcf_mpls_act()
|
D | act_skbedit.c | 49 bstats_update(this_cpu_ptr(d->common.cpu_bstats), skb); in tcf_skbedit_act()
|