Searched refs:cpu_bstats (Results 1 – 15 of 15) sorted by relevance
| /net/core/ |
| 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() 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()
|
| /net/sched/ |
| A D | sch_generic.c | 962 sch->cpu_bstats = in qdisc_alloc() 964 if (!sch->cpu_bstats) in qdisc_alloc() 969 free_percpu(sch->cpu_bstats); in qdisc_alloc() 1051 free_percpu(qdisc->cpu_bstats); in qdisc_free() 1615 miniqp->miniq1.cpu_bstats = qdisc->cpu_bstats; in mini_qdisc_pair_init() 1617 miniqp->miniq2.cpu_bstats = qdisc->cpu_bstats; in mini_qdisc_pair_init()
|
| A 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()
|
| A D | act_api.c | 124 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() 1576 if (a->cpu_bstats) { in tcf_action_update_stats() 1577 _bstats_update(this_cpu_ptr(a->cpu_bstats), bytes, packets); in tcf_action_update_stats() 1622 if (gnet_stats_copy_basic(&d, p->cpu_bstats, in tcf_action_copy_stats()
|
| A D | sch_mqprio.c | 575 gnet_stats_add_basic(&sch->bstats, qdisc->cpu_bstats, in mqprio_dump() 689 gnet_stats_add_basic(&bstats, qdisc->cpu_bstats, in mqprio_dump_class_stats() 709 if (gnet_stats_copy_basic(d, sch->cpu_bstats, in mqprio_dump_class_stats()
|
| A D | sch_api.c | 902 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()
|
| A D | act_police.c | 116 police->common.cpu_bstats, in tcf_police_init() 256 bstats_update(this_cpu_ptr(police->common.cpu_bstats), skb); in tcf_police_act()
|
| A D | act_skbmod.c | 35 bstats_update(this_cpu_ptr(d->common.cpu_bstats), skb); in tcf_skbmod_act()
|
| A 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()
|
| A D | act_sample.c | 176 bstats_update(this_cpu_ptr(s->common.cpu_bstats), skb); in tcf_sample_act()
|
| 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()
|
| A D | act_bpf.c | 45 bstats_update(this_cpu_ptr(prog->common.cpu_bstats), skb); in tcf_bpf_act()
|
| A D | sch_prio.c | 362 if (gnet_stats_copy_basic(d, cl_q->cpu_bstats, in prio_dump_class_stats()
|
| A D | act_mpls.c | 63 bstats_update(this_cpu_ptr(m->common.cpu_bstats), skb); in tcf_mpls_act()
|
| A D | act_skbedit.c | 48 bstats_update(this_cpu_ptr(d->common.cpu_bstats), skb); in tcf_skbedit_act()
|
Completed in 33 milliseconds