Searched refs:cpu_qstats (Results 1 – 14 of 14) sorted by relevance
/kernel/linux/linux-5.10/include/net/ |
D | sch_generic.h | 94 struct gnet_stats_queue __percpu *cpu_qstats; member 509 return this_cpu_ptr(q->cpu_qstats)->qlen; in qdisc_qlen_cpu() 524 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() [all …]
|
D | act_api.h | 40 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/ |
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 | 744 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() 1477 miniqp->miniq1.cpu_qstats = qdisc->cpu_qstats; in mini_qdisc_pair_init() 1479 miniqp->miniq2.cpu_qstats = qdisc->cpu_qstats; in mini_qdisc_pair_init()
|
D | act_police.c | 284 qstats_overlimit_inc(this_cpu_ptr(police->common.cpu_qstats)); in tcf_police_act() 287 qstats_drop_inc(this_cpu_ptr(police->common.cpu_qstats)); in tcf_police_act()
|
D | act_api.c | 107 free_percpu(p->cpu_qstats); in free_tcf() 447 p->cpu_qstats = alloc_percpu(struct gnet_stats_queue); in tcf_idr_create() 448 if (!p->cpu_qstats) in tcf_idr_create() 471 free_percpu(p->cpu_qstats); in tcf_idr_create() 1126 this_cpu_ptr(a->cpu_qstats)->drops += drops; in tcf_action_update_stats() 1173 gnet_stats_copy_queue(&d, p->cpu_qstats, in tcf_action_copy_stats()
|
D | sch_api.c | 888 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()
|
D | sch_mqprio.c | 434 qdisc->cpu_qstats, in mqprio_dump() 564 qdisc->cpu_qstats, in mqprio_dump_class_stats()
|
D | act_skbmod.c | 72 qstats_overlimit_inc(this_cpu_ptr(d->common.cpu_qstats)); in tcf_skbmod_act()
|
D | sch_mq.c | 177 qdisc->cpu_qstats, in mq_dump()
|
D | act_skbedit.c | 72 qstats_drop_inc(this_cpu_ptr(d->common.cpu_qstats)); in tcf_skbedit_act()
|
D | act_mpls.c | 127 qstats_drop_inc(this_cpu_ptr(m->common.cpu_qstats)); in tcf_mpls_act()
|
D | act_bpf.c | 80 qstats_drop_inc(this_cpu_ptr(prog->common.cpu_qstats)); in tcf_bpf_act()
|
D | sch_drr.c | 272 gnet_stats_copy_queue(d, cl_q->cpu_qstats, &cl_q->qstats, qlen) < 0) in drr_dump_class_stats()
|