Searched refs:cpu_qstats (Results 1 – 14 of 14) sorted by relevance
/linux-6.1.9/include/net/ |
D | sch_generic.h | 108 struct gnet_stats_queue __percpu *cpu_qstats; member 514 qlen += per_cpu_ptr(q->cpu_qstats, i)->qlen; in qdisc_qlen_sum() 847 this_cpu_sub(sch->cpu_qstats->backlog, qdisc_pkt_len(skb)); in qdisc_qstats_cpu_backlog_dec() 859 this_cpu_add(sch->cpu_qstats->backlog, qdisc_pkt_len(skb)); in qdisc_qstats_cpu_backlog_inc() 864 this_cpu_inc(sch->cpu_qstats->qlen); in qdisc_qstats_cpu_qlen_inc() 869 this_cpu_dec(sch->cpu_qstats->qlen); in qdisc_qstats_cpu_qlen_dec() 874 this_cpu_inc(sch->cpu_qstats->requeues); in qdisc_qstats_cpu_requeues_inc() 899 this_cpu_inc(sch->cpu_qstats->drops); in qdisc_qstats_cpu_drop() 911 return gnet_stats_copy_queue(d, sch->cpu_qstats, &sch->qstats, qlen); in qdisc_qstats_copy() 919 gnet_stats_add_queue(&qstats, sch->cpu_qstats, &sch->qstats); in qdisc_qstats_qlen_backlog() [all …]
|
D | act_api.h | 41 struct gnet_stats_queue __percpu *cpu_qstats; member 235 if (likely(a->cpu_qstats)) { in tcf_action_inc_drop_qstats() 236 qstats_drop_inc(this_cpu_ptr(a->cpu_qstats)); in tcf_action_inc_drop_qstats() 246 if (likely(a->cpu_qstats)) { in tcf_action_inc_overlimit_qstats() 247 qstats_overlimit_inc(this_cpu_ptr(a->cpu_qstats)); in tcf_action_inc_overlimit_qstats()
|
/linux-6.1.9/net/sched/ |
D | act_ife.c | 728 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()
|
D | sch_generic.c | 822 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() 1589 miniqp->miniq1.cpu_qstats = qdisc->cpu_qstats; in mini_qdisc_pair_init() 1591 miniqp->miniq2.cpu_qstats = qdisc->cpu_qstats; in mini_qdisc_pair_init()
|
D | act_api.c | 125 free_percpu(p->cpu_qstats); in free_tcf() 758 p->cpu_qstats = alloc_percpu(struct gnet_stats_queue); in tcf_idr_create() 759 if (!p->cpu_qstats) in tcf_idr_create() 784 free_percpu(p->cpu_qstats); in tcf_idr_create() 1517 this_cpu_ptr(a->cpu_qstats)->drops += drops; in tcf_action_update_stats() 1568 gnet_stats_copy_queue(&d, p->cpu_qstats, in tcf_action_copy_stats()
|
D | sch_mqprio.c | 407 gnet_stats_add_queue(&sch->qstats, qdisc->cpu_qstats, in mqprio_dump() 524 gnet_stats_add_queue(&qstats, qdisc->cpu_qstats, in mqprio_dump_class_stats()
|
D | act_police.c | 308 qstats_overlimit_inc(this_cpu_ptr(police->common.cpu_qstats)); in tcf_police_act() 311 qstats_drop_inc(this_cpu_ptr(police->common.cpu_qstats)); in tcf_police_act()
|
D | sch_api.c | 907 struct gnet_stats_queue __percpu *cpu_qstats = NULL; in tc_fill_qdisc() local 961 cpu_qstats = q->cpu_qstats; in tc_fill_qdisc() 966 gnet_stats_copy_queue(&d, cpu_qstats, &q->qstats, qlen) < 0) in tc_fill_qdisc() 1040 free_percpu(sch->cpu_qstats); in qdisc_clear_nolock() 1042 sch->cpu_qstats = NULL; in qdisc_clear_nolock()
|
D | sch_mq.c | 149 gnet_stats_add_queue(&sch->qstats, qdisc->cpu_qstats, in mq_dump()
|
D | act_skbmod.c | 89 qstats_overlimit_inc(this_cpu_ptr(d->common.cpu_qstats)); in tcf_skbmod_act()
|
D | act_bpf.c | 79 qstats_drop_inc(this_cpu_ptr(prog->common.cpu_qstats)); in tcf_bpf_act()
|
D | act_mpls.c | 126 qstats_drop_inc(this_cpu_ptr(m->common.cpu_qstats)); in tcf_mpls_act()
|
D | act_skbedit.c | 89 qstats_drop_inc(this_cpu_ptr(d->common.cpu_qstats)); in tcf_skbedit_act()
|
D | sch_drr.c | 270 gnet_stats_copy_queue(d, cl_q->cpu_qstats, &cl_q->qstats, qlen) < 0) in drr_dump_class_stats()
|