bstats 425 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c _bstats_update(stats_ptr->bstats, tx_bytes, tx_packets); bstats 600 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c _bstats_update(stats_ptr->bstats, tx_bytes, tx_packets); bstats 461 drivers/net/ethernet/netronome/nfp/abm/qdisc.c struct gnet_stats_basic_packed *bstats, bstats 464 drivers/net/ethernet/netronome/nfp/abm/qdisc.c _bstats_update(bstats, new->tx_bytes - old->tx_bytes, bstats 503 drivers/net/ethernet/netronome/nfp/abm/qdisc.c &stats->bstats[i], &stats->qstats[i]); bstats 654 drivers/net/ethernet/netronome/nfp/abm/qdisc.c stats->bstats, stats->qstats); bstats 811 drivers/net/ethernet/netronome/nfp/abm/qdisc.c stats->bstats, stats->qstats); bstats 11 include/net/gen_stats.h struct gnet_stats_basic_packed bstats; bstats 44 include/net/gen_stats.h struct gnet_stats_basic_packed *bstats, bstats 63 include/net/gen_stats.h int gen_new_estimator(struct gnet_stats_basic_packed *bstats, bstats 69 include/net/gen_stats.h int gen_replace_estimator(struct gnet_stats_basic_packed *bstats, bstats 9 include/net/netfilter/xt_rateest.h struct gnet_stats_basic_packed bstats; bstats 690 include/net/pkt_cls.h struct gnet_stats_basic_packed *bstats; bstats 774 include/net/pkt_cls.h struct gnet_stats_basic_packed bstats[MAX_DPs]; bstats 102 include/net/sch_generic.h struct gnet_stats_basic_packed bstats; bstats 799 include/net/sch_generic.h static inline void _bstats_update(struct gnet_stats_basic_packed *bstats, bstats 802 include/net/sch_generic.h bstats->bytes += bytes; bstats 803 include/net/sch_generic.h bstats->packets += packets; bstats 806 include/net/sch_generic.h static inline void bstats_update(struct gnet_stats_basic_packed *bstats, bstats 809 include/net/sch_generic.h _bstats_update(bstats, bstats 814 include/net/sch_generic.h static inline void _bstats_cpu_update(struct gnet_stats_basic_cpu *bstats, bstats 817 include/net/sch_generic.h u64_stats_update_begin(&bstats->syncp); bstats 818 include/net/sch_generic.h _bstats_update(&bstats->bstats, bytes, packets); bstats 819 include/net/sch_generic.h u64_stats_update_end(&bstats->syncp); bstats 822 include/net/sch_generic.h static inline void bstats_cpu_update(struct gnet_stats_basic_cpu *bstats, bstats 825 include/net/sch_generic.h u64_stats_update_begin(&bstats->syncp); bstats 826 include/net/sch_generic.h bstats_update(&bstats->bstats, skb); bstats 827 include/net/sch_generic.h u64_stats_update_end(&bstats->syncp); bstats 839 include/net/sch_generic.h bstats_update(&sch->bstats, skb); bstats 205 net/bridge/br_device.c const struct pcpu_sw_netstats *bstats bstats 208 net/bridge/br_device.c start = u64_stats_fetch_begin_irq(&bstats->syncp); bstats 209 net/bridge/br_device.c memcpy(&tmp, bstats, sizeof(tmp)); bstats 210 net/bridge/br_device.c } while (u64_stats_fetch_retry_irq(&bstats->syncp, start)); bstats 43 net/core/gen_estimator.c struct gnet_stats_basic_packed *bstats; bstats 69 net/core/gen_estimator.c __gnet_stats_copy_basic(e->running, b, e->cpu_bstats, e->bstats); bstats 124 net/core/gen_estimator.c int gen_new_estimator(struct gnet_stats_basic_packed *bstats, bstats 152 net/core/gen_estimator.c est->bstats = bstats; bstats 222 net/core/gen_estimator.c int gen_replace_estimator(struct gnet_stats_basic_packed *bstats, bstats 228 net/core/gen_estimator.c return gen_new_estimator(bstats, cpu_bstats, rate_est, bstats 118 net/core/gen_stats.c __gnet_stats_copy_basic_cpu(struct gnet_stats_basic_packed *bstats, bstats 131 net/core/gen_stats.c bytes = bcpu->bstats.bytes; bstats 132 net/core/gen_stats.c packets = bcpu->bstats.packets; bstats 135 net/core/gen_stats.c bstats->bytes += bytes; bstats 136 net/core/gen_stats.c bstats->packets += packets; bstats 142 net/core/gen_stats.c struct gnet_stats_basic_packed *bstats, bstats 149 net/core/gen_stats.c __gnet_stats_copy_basic_cpu(bstats, cpu); bstats 155 net/core/gen_stats.c bstats->bytes = b->bytes; bstats 156 net/core/gen_stats.c bstats->packets = b->packets; bstats 168 net/core/gen_stats.c struct gnet_stats_basic_packed bstats = {0}; bstats 170 net/core/gen_stats.c __gnet_stats_copy_basic(running, &bstats, cpu, b); bstats 173 net/core/gen_stats.c d->tc_stats.bytes = bstats.bytes; bstats 174 net/core/gen_stats.c d->tc_stats.packets = bstats.packets; bstats 181 net/core/gen_stats.c sb.bytes = bstats.bytes; bstats 182 net/core/gen_stats.c sb.packets = bstats.packets; bstats 97 net/netfilter/xt_RATEEST.c struct gnet_stats_basic_packed *stats = &info->est->bstats; bstats 154 net/netfilter/xt_RATEEST.c ret = gen_new_estimator(&est->bstats, NULL, &est->rate_est, bstats 929 net/sched/sch_api.c &d, cpu_bstats, &q->bstats) < 0 || bstats 1266 net/sched/sch_api.c err = gen_new_estimator(&sch->bstats, bstats 1341 net/sched/sch_api.c gen_replace_estimator(&sch->bstats, bstats 55 net/sched/sch_atm.c struct gnet_stats_basic_packed bstats; bstats 493 net/sched/sch_atm.c bstats_update(&flow->bstats, skb); bstats 655 net/sched/sch_atm.c d, NULL, &flow->bstats) < 0 || bstats 119 net/sched/sch_cbq.c struct gnet_stats_basic_packed bstats; bstats 568 net/sched/sch_cbq.c cl->bstats.packets++; bstats 569 net/sched/sch_cbq.c cl->bstats.bytes += len; bstats 1388 net/sched/sch_cbq.c d, NULL, &cl->bstats) < 0 || bstats 1519 net/sched/sch_cbq.c err = gen_replace_estimator(&cl->bstats, NULL, bstats 1621 net/sched/sch_cbq.c err = gen_new_estimator(&cl->bstats, NULL, &cl->rate_est, bstats 22 net/sched/sch_drr.c struct gnet_stats_basic_packed bstats; bstats 86 net/sched/sch_drr.c err = gen_replace_estimator(&cl->bstats, NULL, bstats 120 net/sched/sch_drr.c err = gen_replace_estimator(&cl->bstats, NULL, &cl->rate_est, bstats 270 net/sched/sch_drr.c d, NULL, &cl->bstats) < 0 || bstats 403 net/sched/sch_drr.c bstats_update(&cl->bstats, skb); bstats 378 net/sched/sch_gred.c table->tab[i]->packetsin += hw_stats->stats.bstats[i].packets; bstats 379 net/sched/sch_gred.c table->tab[i]->bytesin += hw_stats->stats.bstats[i].bytes; bstats 382 net/sched/sch_gred.c _bstats_update(&sch->bstats, bstats 383 net/sched/sch_gred.c hw_stats->stats.bstats[i].bytes, bstats 384 net/sched/sch_gred.c hw_stats->stats.bstats[i].packets); bstats 114 net/sched/sch_hfsc.c struct gnet_stats_basic_packed bstats; bstats 965 net/sched/sch_hfsc.c err = gen_replace_estimator(&cl->bstats, NULL, bstats 1035 net/sched/sch_hfsc.c err = gen_new_estimator(&cl->bstats, NULL, &cl->rate_est, bstats 1330 net/sched/sch_hfsc.c if (gnet_stats_copy_basic(qdisc_root_sleeping_running(sch), d, NULL, &cl->bstats) < 0 || bstats 1620 net/sched/sch_hfsc.c bstats_update(&cl->bstats, skb); bstats 116 net/sched/sch_htb.c struct gnet_stats_basic_packed bstats; bstats 687 net/sched/sch_htb.c bstats_update(&cl->bstats, skb); bstats 872 net/sched/sch_htb.c bstats_update(&cl->bstats, skb); bstats 1139 net/sched/sch_htb.c d, NULL, &cl->bstats) < 0 || bstats 1377 net/sched/sch_htb.c err = gen_new_estimator(&cl->bstats, NULL, bstats 1439 net/sched/sch_htb.c err = gen_replace_estimator(&cl->bstats, NULL, bstats 44 net/sched/sch_mq.c .bstats = &sch->bstats, bstats 136 net/sched/sch_mq.c memset(&sch->bstats, 0, sizeof(sch->bstats)); bstats 150 net/sched/sch_mq.c __gnet_stats_copy_basic(NULL, &sch->bstats, bstats 152 net/sched/sch_mq.c &qdisc->bstats); bstats 159 net/sched/sch_mq.c sch->bstats.bytes += qdisc->bstats.bytes; bstats 160 net/sched/sch_mq.c sch->bstats.packets += qdisc->bstats.packets; bstats 250 net/sched/sch_mq.c &sch->bstats) < 0 || bstats 393 net/sched/sch_mqprio.c memset(&sch->bstats, 0, sizeof(sch->bstats)); bstats 408 net/sched/sch_mqprio.c __gnet_stats_copy_basic(NULL, &sch->bstats, bstats 410 net/sched/sch_mqprio.c &qdisc->bstats); bstats 417 net/sched/sch_mqprio.c sch->bstats.bytes += qdisc->bstats.bytes; bstats 418 net/sched/sch_mqprio.c sch->bstats.packets += qdisc->bstats.packets; bstats 517 net/sched/sch_mqprio.c struct gnet_stats_basic_packed bstats = {0}; bstats 542 net/sched/sch_mqprio.c __gnet_stats_copy_basic(NULL, &sch->bstats, bstats 543 net/sched/sch_mqprio.c cpu_bstats, &qdisc->bstats); bstats 554 net/sched/sch_mqprio.c if (gnet_stats_copy_basic(NULL, d, NULL, &bstats) < 0 || bstats 562 net/sched/sch_mqprio.c sch->cpu_bstats, &sch->bstats) < 0 || bstats 342 net/sched/sch_multiq.c d, cl_q->cpu_bstats, &cl_q->bstats) < 0 || bstats 255 net/sched/sch_prio.c .bstats = &sch->bstats, bstats 365 net/sched/sch_prio.c d, cl_q->cpu_bstats, &cl_q->bstats) < 0 || bstats 134 net/sched/sch_qfq.c struct gnet_stats_basic_packed bstats; bstats 451 net/sched/sch_qfq.c err = gen_replace_estimator(&cl->bstats, NULL, bstats 477 net/sched/sch_qfq.c err = gen_new_estimator(&cl->bstats, NULL, bstats 644 net/sched/sch_qfq.c d, NULL, &cl->bstats) < 0 || bstats 1238 net/sched/sch_qfq.c cl->bstats.bytes += len; bstats 1239 net/sched/sch_qfq.c cl->bstats.packets += gso_segs; bstats 291 net/sched/sch_red.c .stats.bstats = &sch->bstats, bstats 1886 net/sched/sch_taprio.c if (gnet_stats_copy_basic(&sch->running, d, NULL, &sch->bstats) < 0 ||