Home
last modified time | relevance | path

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

/linux-6.6.21/include/net/
Dsch_generic.h108 struct gnet_stats_queue __percpu *cpu_qstats; member
527 qlen += per_cpu_ptr(q->cpu_qstats, i)->qlen; in qdisc_qlen_sum()
889 this_cpu_sub(sch->cpu_qstats->backlog, qdisc_pkt_len(skb)); in qdisc_qstats_cpu_backlog_dec()
901 this_cpu_add(sch->cpu_qstats->backlog, qdisc_pkt_len(skb)); in qdisc_qstats_cpu_backlog_inc()
906 this_cpu_inc(sch->cpu_qstats->qlen); in qdisc_qstats_cpu_qlen_inc()
911 this_cpu_dec(sch->cpu_qstats->qlen); in qdisc_qstats_cpu_qlen_dec()
916 this_cpu_inc(sch->cpu_qstats->requeues); in qdisc_qstats_cpu_requeues_inc()
941 this_cpu_inc(sch->cpu_qstats->drops); in qdisc_qstats_cpu_drop()
953 return gnet_stats_copy_queue(d, sch->cpu_qstats, &sch->qstats, qlen); in qdisc_qstats_copy()
961 gnet_stats_add_queue(&qstats, sch->cpu_qstats, &sch->qstats); in qdisc_qstats_qlen_backlog()
[all …]
Dact_api.h41 struct gnet_stats_queue __percpu *cpu_qstats; member
236 if (likely(a->cpu_qstats)) { in tcf_action_inc_drop_qstats()
237 qstats_drop_inc(this_cpu_ptr(a->cpu_qstats)); in tcf_action_inc_drop_qstats()
247 if (likely(a->cpu_qstats)) { in tcf_action_inc_overlimit_qstats()
248 qstats_overlimit_inc(this_cpu_ptr(a->cpu_qstats)); in tcf_action_inc_overlimit_qstats()
/linux-6.6.21/net/sched/
Dact_ife.c729 qstats_drop_inc(this_cpu_ptr(ife->common.cpu_qstats)); in tcf_ife_decode()
742 qstats_drop_inc(this_cpu_ptr(ife->common.cpu_qstats)); in tcf_ife_decode()
752 qstats_overlimit_inc(this_cpu_ptr(ife->common.cpu_qstats)); in tcf_ife_decode()
757 qstats_drop_inc(this_cpu_ptr(ife->common.cpu_qstats)); in tcf_ife_decode()
816 qstats_overlimit_inc(this_cpu_ptr(ife->common.cpu_qstats)); in tcf_ife_encode()
822 qstats_drop_inc(this_cpu_ptr(ife->common.cpu_qstats)); in tcf_ife_encode()
845 qstats_drop_inc(this_cpu_ptr(ife->common.cpu_qstats)); in tcf_ife_encode()
Dsch_generic.c822 q = per_cpu_ptr(qdisc->cpu_qstats, i); in pfifo_fast_reset()
953 sch->cpu_qstats = alloc_percpu(struct gnet_stats_queue); in qdisc_alloc()
954 if (!sch->cpu_qstats) { in qdisc_alloc()
1036 free_percpu(qdisc->cpu_qstats); in qdisc_free()
1597 miniqp->miniq1.cpu_qstats = qdisc->cpu_qstats; in mini_qdisc_pair_init()
1599 miniqp->miniq2.cpu_qstats = qdisc->cpu_qstats; in mini_qdisc_pair_init()
Dact_api.c126 free_percpu(p->cpu_qstats); in free_tcf()
754 p->cpu_qstats = alloc_percpu(struct gnet_stats_queue); in tcf_idr_create()
755 if (!p->cpu_qstats) in tcf_idr_create()
780 free_percpu(p->cpu_qstats); in tcf_idr_create()
1513 this_cpu_ptr(a->cpu_qstats)->drops += drops; in tcf_action_update_stats()
1561 gnet_stats_copy_queue(&d, p->cpu_qstats, in tcf_action_copy_stats()
Dact_police.c311 qstats_overlimit_inc(this_cpu_ptr(police->common.cpu_qstats)); in tcf_police_act()
314 qstats_drop_inc(this_cpu_ptr(police->common.cpu_qstats)); in tcf_police_act()
Dsch_api.c917 struct gnet_stats_queue __percpu *cpu_qstats = NULL; in tc_fill_qdisc() local
971 cpu_qstats = q->cpu_qstats; in tc_fill_qdisc()
976 gnet_stats_copy_queue(&d, cpu_qstats, &q->qstats, qlen) < 0) in tc_fill_qdisc()
1057 free_percpu(sch->cpu_qstats); in qdisc_clear_nolock()
1059 sch->cpu_qstats = NULL; in qdisc_clear_nolock()
Dsch_mq.c149 gnet_stats_add_queue(&sch->qstats, qdisc->cpu_qstats, in mq_dump()
Dact_skbmod.c91 qstats_overlimit_inc(this_cpu_ptr(d->common.cpu_qstats)); in tcf_skbmod_act()
Dsch_mqprio.c579 gnet_stats_add_queue(&sch->qstats, qdisc->cpu_qstats, in mqprio_dump()
693 gnet_stats_add_queue(&qstats, qdisc->cpu_qstats, in mqprio_dump_class_stats()
Dact_bpf.c81 qstats_drop_inc(this_cpu_ptr(prog->common.cpu_qstats)); in tcf_bpf_act()
Dsch_drr.c271 gnet_stats_copy_queue(d, cl_q->cpu_qstats, &cl_q->qstats, qlen) < 0) in drr_dump_class_stats()
Dact_mpls.c128 qstats_drop_inc(this_cpu_ptr(m->common.cpu_qstats)); in tcf_mpls_act()
Dact_skbedit.c91 qstats_drop_inc(this_cpu_ptr(d->common.cpu_qstats)); in tcf_skbedit_act()