Searched refs:cpu_qstats (Results 1 – 14 of 14) sorted by relevance
/linux/include/net/ |
A D | sch_generic.h | 108 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() 887 this_cpu_sub(sch->cpu_qstats->backlog, qdisc_pkt_len(skb)); in qdisc_qstats_cpu_backlog_dec() 904 this_cpu_inc(sch->cpu_qstats->qlen); in qdisc_qstats_cpu_qlen_inc() 909 this_cpu_dec(sch->cpu_qstats->qlen); in qdisc_qstats_cpu_qlen_dec() 914 this_cpu_inc(sch->cpu_qstats->requeues); in qdisc_qstats_cpu_requeues_inc() 939 this_cpu_inc(sch->cpu_qstats->drops); in qdisc_qstats_cpu_drop() 1131 this_cpu_add(sch->cpu_qstats->backlog, pkt_len); in qdisc_update_stats_at_enqueue() 1302 struct gnet_stats_queue __percpu *cpu_qstats; member [all …]
|
A D | act_api.h | 40 struct gnet_stats_queue __percpu *cpu_qstats; member 219 if (likely(a->cpu_qstats)) { in tcf_action_inc_drop_qstats() 220 qstats_drop_inc(this_cpu_ptr(a->cpu_qstats)); in tcf_action_inc_drop_qstats() 230 if (likely(a->cpu_qstats)) { in tcf_action_inc_overlimit_qstats() 231 qstats_overlimit_inc(this_cpu_ptr(a->cpu_qstats)); in tcf_action_inc_overlimit_qstats()
|
/linux/net/sched/ |
A D | act_ife.c | 729 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()
|
A D | sch_generic.c | 770 q = per_cpu_ptr(qdisc->cpu_qstats, i); in pfifo_fast_reset() 902 sch->cpu_qstats = alloc_percpu(struct gnet_stats_queue); in qdisc_alloc() 903 if (!sch->cpu_qstats) { in qdisc_alloc() 993 free_percpu(qdisc->cpu_qstats); in qdisc_free() 1541 miniqp->miniq1.cpu_qstats = qdisc->cpu_qstats; in mini_qdisc_pair_init() 1543 miniqp->miniq2.cpu_qstats = qdisc->cpu_qstats; in mini_qdisc_pair_init()
|
A D | act_api.c | 123 free_percpu(p->cpu_qstats); in free_tcf() 489 p->cpu_qstats = alloc_percpu(struct gnet_stats_queue); in tcf_idr_create() 490 if (!p->cpu_qstats) in tcf_idr_create() 515 free_percpu(p->cpu_qstats); in tcf_idr_create() 1133 this_cpu_ptr(a->cpu_qstats)->drops += drops; in tcf_action_update_stats() 1181 gnet_stats_copy_queue(&d, p->cpu_qstats, in tcf_action_copy_stats()
|
A D | act_police.c | 305 qstats_overlimit_inc(this_cpu_ptr(police->common.cpu_qstats)); in tcf_police_act() 308 qstats_drop_inc(this_cpu_ptr(police->common.cpu_qstats)); in tcf_police_act()
|
A D | sch_api.c | 889 struct gnet_stats_queue __percpu *cpu_qstats = NULL; in tc_fill_qdisc() local 943 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()
|
A 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()
|
A D | sch_mq.c | 149 gnet_stats_add_queue(&sch->qstats, qdisc->cpu_qstats, in mq_dump()
|
A D | act_skbmod.c | 90 qstats_overlimit_inc(this_cpu_ptr(d->common.cpu_qstats)); in tcf_skbmod_act()
|
A D | act_skbedit.c | 72 qstats_drop_inc(this_cpu_ptr(d->common.cpu_qstats)); in tcf_skbedit_act()
|
A D | act_bpf.c | 78 qstats_drop_inc(this_cpu_ptr(prog->common.cpu_qstats)); in tcf_bpf_act()
|
A D | act_mpls.c | 127 qstats_drop_inc(this_cpu_ptr(m->common.cpu_qstats)); in tcf_mpls_act()
|
A D | sch_drr.c | 270 gnet_stats_copy_queue(d, cl_q->cpu_qstats, &cl_q->qstats, qlen) < 0) in drr_dump_class_stats()
|
Completed in 34 milliseconds