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
232 if (likely(a->cpu_bstats)) { in tcf_action_update_bstats()
233 bstats_update(this_cpu_ptr(a->cpu_bstats), skb); in tcf_action_update_bstats()
H A Dsch_generic.h103 struct gnet_stats_basic_sync __percpu *cpu_bstats; member
946 bstats_update(this_cpu_ptr(sch->cpu_bstats), skb); in qdisc_bstats_cpu_update()
1431 struct gnet_stats_basic_sync __percpu *cpu_bstats; member
1439 bstats_update(this_cpu_ptr(miniq->cpu_bstats), skb); in mini_qdisc_bstats_cpu_update()
/linux/net/sched/
H A Dsch_generic.c961 sch->cpu_bstats = in qdisc_alloc()
963 if (!sch->cpu_bstats) in qdisc_alloc()
968 free_percpu(sch->cpu_bstats); in qdisc_alloc()
1045 free_percpu(qdisc->cpu_bstats); in qdisc_free()
1582 miniqp->miniq1.cpu_bstats = qdisc->cpu_bstats; in mini_qdisc_pair_init()
1584 miniqp->miniq2.cpu_bstats = qdisc->cpu_bstats; in mini_qdisc_pair_init()
H A Dsch_mq.c162 gnet_stats_add_basic(&sch->bstats, qdisc->cpu_bstats, in mq_dump_common()
258 if (gnet_stats_copy_basic(d, sch->cpu_bstats, &sch->bstats, true) < 0 || in mq_dump_class_stats()
H A Dact_api.c124 free_percpu(p->cpu_bstats); in free_tcf()
792 p->cpu_bstats = netdev_alloc_pcpu_stats(struct gnet_stats_basic_sync); in tcf_idr_create()
793 if (!p->cpu_bstats) in tcf_idr_create()
811 err = gen_new_estimator(&p->tcfa_bstats, p->cpu_bstats, in tcf_idr_create()
828 free_percpu(p->cpu_bstats); in tcf_idr_create()
1578 if (a->cpu_bstats) { in tcf_action_update_stats()
1579 _bstats_update(this_cpu_ptr(a->cpu_bstats), bytes, packets); in tcf_action_update_stats()
1628 if (gnet_stats_copy_basic(&d, p->cpu_bstats, in tcf_action_copy_stats()
H A Dsch_mqprio.c574 gnet_stats_add_basic(&sch->bstats, qdisc->cpu_bstats, in mqprio_dump()
688 gnet_stats_add_basic(&bstats, qdisc->cpu_bstats, in mqprio_dump_class_stats()
708 if (gnet_stats_copy_basic(d, sch->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()
1071 free_percpu(sch->cpu_bstats); in qdisc_clear_nolock()
1073 sch->cpu_bstats = NULL; in qdisc_clear_nolock()
1332 sch->cpu_bstats, in qdisc_create()
1402 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_skbedit.c48 bstats_update(this_cpu_ptr(d->common.cpu_bstats), skb); in tcf_skbedit_act()
H A Dact_mpls.c63 bstats_update(this_cpu_ptr(m->common.cpu_bstats), skb); in tcf_mpls_act()