Home
last modified time | relevance | path

Searched refs:cpu_qstats (Results 1 – 14 of 14) sorted by relevance

/kernel/linux/linux-5.10/include/net/
Dsch_generic.h94 struct gnet_stats_queue __percpu *cpu_qstats; member
523 return this_cpu_ptr(q->cpu_qstats)->qlen; in qdisc_qlen_cpu()
538 qlen += per_cpu_ptr(q->cpu_qstats, i)->qlen; in qdisc_qlen_sum()
903 this_cpu_sub(sch->cpu_qstats->backlog, qdisc_pkt_len(skb)); in qdisc_qstats_cpu_backlog_dec()
915 this_cpu_add(sch->cpu_qstats->backlog, qdisc_pkt_len(skb)); in qdisc_qstats_cpu_backlog_inc()
920 this_cpu_inc(sch->cpu_qstats->qlen); in qdisc_qstats_cpu_qlen_inc()
925 this_cpu_dec(sch->cpu_qstats->qlen); in qdisc_qstats_cpu_qlen_dec()
930 this_cpu_inc(sch->cpu_qstats->requeues); in qdisc_qstats_cpu_requeues_inc()
955 this_cpu_inc(sch->cpu_qstats->drops); in qdisc_qstats_cpu_drop()
967 return gnet_stats_copy_queue(d, sch->cpu_qstats, &sch->qstats, qlen); in qdisc_qstats_copy()
[all …]
Dact_api.h40 struct gnet_stats_queue __percpu *cpu_qstats; member
213 if (likely(a->cpu_qstats)) { in tcf_action_inc_drop_qstats()
214 qstats_drop_inc(this_cpu_ptr(a->cpu_qstats)); in tcf_action_inc_drop_qstats()
224 if (likely(a->cpu_qstats)) { in tcf_action_inc_overlimit_qstats()
225 qstats_overlimit_inc(this_cpu_ptr(a->cpu_qstats)); in tcf_action_inc_overlimit_qstats()
/kernel/linux/linux-5.10/net/sched/
Dact_ife.c728 qstats_drop_inc(this_cpu_ptr(ife->common.cpu_qstats)); in tcf_ife_decode()
741 qstats_drop_inc(this_cpu_ptr(ife->common.cpu_qstats)); in tcf_ife_decode()
751 qstats_overlimit_inc(this_cpu_ptr(ife->common.cpu_qstats)); in tcf_ife_decode()
756 qstats_drop_inc(this_cpu_ptr(ife->common.cpu_qstats)); in tcf_ife_decode()
815 qstats_overlimit_inc(this_cpu_ptr(ife->common.cpu_qstats)); in tcf_ife_encode()
821 qstats_drop_inc(this_cpu_ptr(ife->common.cpu_qstats)); in tcf_ife_encode()
844 qstats_drop_inc(this_cpu_ptr(ife->common.cpu_qstats)); in tcf_ife_encode()
Dsch_generic.c744 q = per_cpu_ptr(qdisc->cpu_qstats, i); in pfifo_fast_reset()
876 sch->cpu_qstats = alloc_percpu(struct gnet_stats_queue); in qdisc_alloc()
877 if (!sch->cpu_qstats) { in qdisc_alloc()
972 free_percpu(qdisc->cpu_qstats); in qdisc_free()
1473 miniqp->miniq1.cpu_qstats = qdisc->cpu_qstats; in mini_qdisc_pair_init()
1475 miniqp->miniq2.cpu_qstats = qdisc->cpu_qstats; in mini_qdisc_pair_init()
Dact_police.c270 qstats_overlimit_inc(this_cpu_ptr(police->common.cpu_qstats)); in tcf_police_act()
273 qstats_drop_inc(this_cpu_ptr(police->common.cpu_qstats)); in tcf_police_act()
Dact_api.c107 free_percpu(p->cpu_qstats); in free_tcf()
441 p->cpu_qstats = alloc_percpu(struct gnet_stats_queue); in tcf_idr_create()
442 if (!p->cpu_qstats) in tcf_idr_create()
465 free_percpu(p->cpu_qstats); in tcf_idr_create()
1111 this_cpu_ptr(a->cpu_qstats)->drops += drops; in tcf_action_update_stats()
1158 gnet_stats_copy_queue(&d, p->cpu_qstats, in tcf_action_copy_stats()
Dsch_api.c888 struct gnet_stats_queue __percpu *cpu_qstats = NULL; in tc_fill_qdisc() local
942 cpu_qstats = q->cpu_qstats; in tc_fill_qdisc()
948 gnet_stats_copy_queue(&d, cpu_qstats, &q->qstats, qlen) < 0) in tc_fill_qdisc()
1022 free_percpu(sch->cpu_qstats); in qdisc_clear_nolock()
1024 sch->cpu_qstats = NULL; in qdisc_clear_nolock()
Dsch_mqprio.c434 qdisc->cpu_qstats, in mqprio_dump()
564 qdisc->cpu_qstats, in mqprio_dump_class_stats()
Dact_skbmod.c72 qstats_overlimit_inc(this_cpu_ptr(d->common.cpu_qstats)); in tcf_skbmod_act()
Dsch_mq.c177 qdisc->cpu_qstats, in mq_dump()
Dact_skbedit.c72 qstats_drop_inc(this_cpu_ptr(d->common.cpu_qstats)); in tcf_skbedit_act()
Dact_bpf.c80 qstats_drop_inc(this_cpu_ptr(prog->common.cpu_qstats)); in tcf_bpf_act()
Dact_mpls.c127 qstats_drop_inc(this_cpu_ptr(m->common.cpu_qstats)); in tcf_mpls_act()
Dsch_drr.c272 gnet_stats_copy_queue(d, cl_q->cpu_qstats, &cl_q->qstats, qlen) < 0) in drr_dump_class_stats()