Home
last modified time | relevance | path

Searched refs:cpu_bstats (Results 1 – 18 of 18) sorted by relevance

/linux/net/core/
H A Dgen_estimator.c46 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()
133 struct gnet_stats_basic_sync __percpu *cpu_bstats, in gen_new_estimator() argument
168 est->cpu_bstats = cpu_bstats; in gen_new_estimator()
236 struct gnet_stats_basic_sync __percpu *cpu_bstats, in gen_replace_estimator() argument
241 return gen_new_estimator(bstats, cpu_bstats, rate_est, in gen_replace_estimator()
/linux/include/net/
H A Dgen_stats.h71 struct gnet_stats_basic_sync __percpu *cpu_bstats,
77 struct gnet_stats_basic_sync __percpu *cpu_bstats,
H A Dact_api.h42 struct gnet_stats_basic_sync __percpu *cpu_bstats; member
233 if (likely(a->cpu_bstats)) { in tcf_action_update_bstats()
234 bstats_update(this_cpu_ptr(a->cpu_bstats), skb); in tcf_action_update_bstats()
H A Dsch_generic.h106 struct gnet_stats_basic_sync __percpu *cpu_bstats; member
973 bstats_update(this_cpu_ptr(sch->cpu_bstats), skb); in qdisc_qstats_backlog_inc()
1497 struct gnet_stats_basic_sync __percpu *cpu_bstats; in qdisc_synchronize()
1505 bstats_update(this_cpu_ptr(miniq->cpu_bstats), skb);
1458 struct gnet_stats_basic_sync __percpu *cpu_bstats; global() member
/linux/net/sched/
H A Dsch_generic.c1011 sch->cpu_bstats = in qdisc_alloc()
1013 if (!sch->cpu_bstats) in qdisc_alloc()
1018 free_percpu(sch->cpu_bstats);
1095 free_percpu(qdisc->cpu_bstats); in __qdisc_destroy()
1636 miniqp->miniq1.cpu_bstats = qdisc->cpu_bstats;
1638 miniqp->miniq2.cpu_bstats = qdisc->cpu_bstats;
H A Dsch_mq.c163 gnet_stats_add_basic(&bstats, qdisc->cpu_bstats, in mq_dump_common()
271 if (gnet_stats_copy_basic(d, sch->cpu_bstats, &sch->bstats, true) < 0 || in mq_walk()
H A Dact_api.c119 free_percpu(p->cpu_bstats); in free_tcf()
787 p->cpu_bstats = netdev_alloc_pcpu_stats(struct gnet_stats_basic_sync); in tcf_idr_create()
788 if (!p->cpu_bstats) in tcf_idr_create()
806 err = gen_new_estimator(&p->tcfa_bstats, p->cpu_bstats, in tcf_idr_create()
823 free_percpu(p->cpu_bstats); in tcf_idr_create()
1573 if (a->cpu_bstats) { in tcf_action_update_stats()
1574 _bstats_update(this_cpu_ptr(a->cpu_bstats), bytes, packets); in tcf_action_update_stats()
1623 if (gnet_stats_copy_basic(&d, p->cpu_bstats, in tcf_action_copy_stats()
H A Dsch_mqprio.c575 gnet_stats_add_basic(&bstats, qdisc->cpu_bstats, in mqprio_dump()
694 gnet_stats_add_basic(&bstats, qdisc->cpu_bstats, in mqprio_dump_class_stats()
710 if (gnet_stats_copy_basic(d, qdisc->cpu_bstats, in mqprio_dump_class_stats()
H A Dsch_api.c902 struct gnet_stats_basic_sync __percpu *cpu_bstats = NULL; in tc_fill_qdisc() local
956 cpu_bstats = q->cpu_bstats; in tc_fill_qdisc()
960 if (gnet_stats_copy_basic(&d, cpu_bstats, &q->bstats, true) < 0 || in tc_fill_qdisc()
1075 free_percpu(sch->cpu_bstats); in qdisc_clear_nolock()
1077 sch->cpu_bstats = NULL;
1336 sch->cpu_bstats, in qdisc_create()
1406 sch->cpu_bstats, in qdisc_change()
H A Dact_police.c116 police->common.cpu_bstats, in tcf_police_init()
256 bstats_update(this_cpu_ptr(police->common.cpu_bstats), skb); in tcf_police_act()
H A Dact_skbmod.c35 bstats_update(this_cpu_ptr(d->common.cpu_bstats), skb); in tcf_skbmod_act()
H A Dact_ife.c722 bstats_update(this_cpu_ptr(ife->common.cpu_bstats), skb); in tcf_ife_decode()
810 bstats_update(this_cpu_ptr(ife->common.cpu_bstats), skb); in tcf_ife_encode()
H A Dact_sample.c176 bstats_update(this_cpu_ptr(s->common.cpu_bstats), skb); in tcf_sample_act()
H A Dact_bpf.c45 bstats_update(this_cpu_ptr(prog->common.cpu_bstats), skb); in tcf_bpf_act()
H A Dsch_multiq.c340 if (gnet_stats_copy_basic(d, cl_q->cpu_bstats, &cl_q->bstats, true) < 0 || in multiq_dump_class_stats()
H A Dsch_prio.c362 if (gnet_stats_copy_basic(d, cl_q->cpu_bstats, in prio_dump_class_stats()
H A Dact_mpls.c63 bstats_update(this_cpu_ptr(m->common.cpu_bstats), skb); in tcf_mpls_act()
H A Dact_skbedit.c48 bstats_update(this_cpu_ptr(d->common.cpu_bstats), skb); in tcf_skbedit_act()