| /linux/net/core/ |
| H A 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() 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 D | act_api.h | 42 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 D | sch_generic.h | 107 struct gnet_stats_basic_sync __percpu *cpu_bstats; member 983 bstats_update(this_cpu_ptr(sch->cpu_bstats), skb); in qstats_backlog_sub() 1507 struct gnet_stats_basic_sync __percpu *cpu_bstats; in mini_qdisc_bstats_cpu_update() 1515 bstats_update(this_cpu_ptr(miniq->cpu_bstats), skb); 1498 struct gnet_stats_basic_sync __percpu *cpu_bstats; global() member
|
| /linux/net/sched/ |
| H A D | sch_generic.c | 1008 sch->cpu_bstats = in qdisc_alloc() 1010 if (!sch->cpu_bstats) in qdisc_alloc() 1015 free_percpu(sch->cpu_bstats); in qdisc_alloc() 1094 free_percpu(q->cpu_bstats); in qdisc_free_cb() 1633 miniqp->miniq1.cpu_bstats = qdisc->cpu_bstats; in mini_qdisc_pair_init() 1635 miniqp->miniq2.cpu_bstats = qdisc->cpu_bstats; in mini_qdisc_pair_init()
|
| H A D | sch_mq.c | 163 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 D | act_api.c | 117 free_percpu(p->cpu_bstats); in free_tcf() 802 p->cpu_bstats = netdev_alloc_pcpu_stats(struct gnet_stats_basic_sync); in tcf_idr_create() 803 if (!p->cpu_bstats) in tcf_idr_create() 821 err = gen_new_estimator(&p->tcfa_bstats, p->cpu_bstats, in tcf_idr_create() 838 free_percpu(p->cpu_bstats); in tcf_idr_create() 1590 if (a->cpu_bstats) { in tcf_action_update_stats() 1591 _bstats_update(this_cpu_ptr(a->cpu_bstats), bytes, packets); in tcf_action_update_stats() 1640 if (gnet_stats_copy_basic(&d, p->cpu_bstats, in tcf_action_copy_stats()
|
| H A D | sch_mqprio.c | 575 gnet_stats_add_basic(&bstats, qdisc->cpu_bstats, in mqprio_dump() 696 gnet_stats_add_basic(&bstats, qdisc->cpu_bstats, in mqprio_dump_class_stats() 712 if (gnet_stats_copy_basic(d, qdisc->cpu_bstats, in mqprio_dump_class_stats()
|
| H A D | sch_api.c | 919 struct gnet_stats_basic_sync __percpu *cpu_bstats = NULL; in tc_fill_qdisc() local 973 cpu_bstats = q->cpu_bstats; in tc_fill_qdisc() 977 if (gnet_stats_copy_basic(&d, cpu_bstats, &q->bstats, true) < 0 || in tc_fill_qdisc() 1092 free_percpu(sch->cpu_bstats); in qdisc_clear_nolock() 1094 sch->cpu_bstats = NULL; in qdisc_clear_nolock() 1362 sch->cpu_bstats, in qdisc_create() 1432 sch->cpu_bstats, in qdisc_change()
|
| H A D | act_ife.c | 723 bstats_update(this_cpu_ptr(ife->common.cpu_bstats), skb); in tcf_ife_decode() 818 bstats_update(this_cpu_ptr(ife->common.cpu_bstats), skb); in tcf_ife_encode() 897 bstats_update(this_cpu_ptr(ife->common.cpu_bstats), skb); in tcf_ife_act()
|
| H A D | act_police.c | 116 police->common.cpu_bstats, in tcf_police_init() 262 bstats_update(this_cpu_ptr(police->common.cpu_bstats), skb); in tcf_police_act()
|
| H A D | act_skbmod.c | 35 bstats_update(this_cpu_ptr(d->common.cpu_bstats), skb); in tcf_skbmod_act()
|
| H A D | act_sample.c | 176 bstats_update(this_cpu_ptr(s->common.cpu_bstats), skb); in tcf_sample_act()
|
| H A 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()
|
| H A D | sch_prio.c | 362 if (gnet_stats_copy_basic(d, cl_q->cpu_bstats, in prio_dump_class_stats()
|
| H A D | act_bpf.c | 45 bstats_update(this_cpu_ptr(prog->common.cpu_bstats), skb); in tcf_bpf_act()
|
| H A D | act_mpls.c | 63 bstats_update(this_cpu_ptr(m->common.cpu_bstats), skb); in tcf_mpls_act()
|
| H A D | act_skbedit.c | 48 bstats_update(this_cpu_ptr(d->common.cpu_bstats), skb); in tcf_skbedit_act()
|