qstats 173 drivers/infiniband/hw/hfi1/vnic_main.c #define SUM_GRP_COUNTERS(stats, qstats, x_grp) do { \ qstats 175 drivers/infiniband/hw/hfi1/vnic_main.c for (src64 = &qstats->x_grp.unicast, \ qstats 191 drivers/infiniband/hw/hfi1/vnic_main.c struct opa_vnic_stats *qstats = &vinfo->stats[i]; qstats 196 drivers/infiniband/hw/hfi1/vnic_main.c stats->tx_drop_state += qstats->tx_drop_state; qstats 197 drivers/infiniband/hw/hfi1/vnic_main.c stats->tx_dlid_zero += qstats->tx_dlid_zero; qstats 199 drivers/infiniband/hw/hfi1/vnic_main.c SUM_GRP_COUNTERS(stats, qstats, tx_grp); qstats 206 drivers/infiniband/hw/hfi1/vnic_main.c struct opa_vnic_stats *qstats = &vinfo->stats[i]; qstats 211 drivers/infiniband/hw/hfi1/vnic_main.c stats->rx_drop_state += qstats->rx_drop_state; qstats 212 drivers/infiniband/hw/hfi1/vnic_main.c stats->rx_oversize += qstats->rx_oversize; qstats 213 drivers/infiniband/hw/hfi1/vnic_main.c stats->rx_runt += qstats->rx_runt; qstats 215 drivers/infiniband/hw/hfi1/vnic_main.c SUM_GRP_COUNTERS(stats, qstats, rx_grp); qstats 859 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c struct bnx2x_eth_q_stats *qstats) qstats 875 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c qstats->hw_csum_err++; qstats 951 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c struct bnx2x_eth_q_stats *qstats = qstats 975 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c qstats->total_bytes_received_hi = qstats 976 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c qstats->total_broadcast_bytes_received_hi; qstats 977 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c qstats->total_bytes_received_lo = qstats 978 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c qstats->total_broadcast_bytes_received_lo; qstats 980 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c ADD_64(qstats->total_bytes_received_hi, qstats 981 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c qstats->total_multicast_bytes_received_hi, qstats 982 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c qstats->total_bytes_received_lo, qstats 983 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c qstats->total_multicast_bytes_received_lo); qstats 985 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c ADD_64(qstats->total_bytes_received_hi, qstats 986 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c qstats->total_unicast_bytes_received_hi, qstats 987 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c qstats->total_bytes_received_lo, qstats 988 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c qstats->total_unicast_bytes_received_lo); qstats 990 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c qstats->valid_bytes_received_hi = qstats 991 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c qstats->total_bytes_received_hi; qstats 992 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c qstats->valid_bytes_received_lo = qstats 993 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c qstats->total_bytes_received_lo; qstats 1026 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c qstats->total_bytes_transmitted_hi = qstats 1027 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c qstats->total_unicast_bytes_transmitted_hi; qstats 1028 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c qstats->total_bytes_transmitted_lo = qstats 1029 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c qstats->total_unicast_bytes_transmitted_lo; qstats 1031 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c ADD_64(qstats->total_bytes_transmitted_hi, qstats 1032 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c qstats->total_broadcast_bytes_transmitted_hi, qstats 1033 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c qstats->total_bytes_transmitted_lo, qstats 1034 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c qstats->total_broadcast_bytes_transmitted_lo); qstats 1036 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c ADD_64(qstats->total_bytes_transmitted_hi, qstats 1037 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c qstats->total_multicast_bytes_transmitted_hi, qstats 1038 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c qstats->total_bytes_transmitted_lo, qstats 1039 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c qstats->total_multicast_bytes_transmitted_lo); qstats 1190 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c struct bnx2x_eth_q_stats *qstats = &bp->fp_stats[i].eth_q_stats; qstats 1665 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c struct bnx2x_eth_q_stats *qstats = qstats 1724 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c struct bnx2x_eth_q_stats *qstats = &bp->fp_stats[i].eth_q_stats; qstats 1727 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c qstats->total_unicast_bytes_received_hi, qstats 1729 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c qstats->total_unicast_bytes_received_lo); qstats 1732 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c qstats->total_broadcast_bytes_received_hi, qstats 1734 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c qstats->total_broadcast_bytes_received_lo); qstats 1737 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c qstats->total_multicast_bytes_received_hi, qstats 1739 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c qstats->total_multicast_bytes_received_lo); qstats 1742 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c qstats->total_unicast_packets_received_hi, qstats 1744 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c qstats->total_unicast_packets_received_lo); qstats 1747 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c qstats->total_broadcast_packets_received_hi, qstats 1749 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c qstats->total_broadcast_packets_received_lo); qstats 1752 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c qstats->total_multicast_packets_received_hi, qstats 1754 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c qstats->total_multicast_packets_received_lo); qstats 1760 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c qstats->total_packets_received_checksum_discarded_hi, qstats 1762 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c qstats->total_packets_received_checksum_discarded_lo); qstats 1765 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c qstats->total_packets_received_ttl0_discarded_hi, qstats 1767 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c qstats->total_packets_received_ttl0_discarded_lo); qstats 1770 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c qstats->etherstatsoverrsizepkts_hi, qstats 1772 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c qstats->etherstatsoverrsizepkts_lo); qstats 1775 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c qstats->no_buff_discard_hi, qstats 1777 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c qstats->no_buff_discard_lo); qstats 1780 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c qstats->total_unicast_bytes_transmitted_hi, qstats 1782 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c qstats->total_unicast_bytes_transmitted_lo); qstats 1785 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c qstats->total_broadcast_bytes_transmitted_hi, qstats 1787 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c qstats->total_broadcast_bytes_transmitted_lo); qstats 1790 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c qstats->total_multicast_bytes_transmitted_hi, qstats 1792 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c qstats->total_multicast_bytes_transmitted_lo); qstats 1795 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c qstats->total_unicast_packets_transmitted_hi, qstats 1797 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c qstats->total_unicast_packets_transmitted_lo); qstats 1800 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c qstats->total_broadcast_packets_transmitted_hi, qstats 1802 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c qstats->total_broadcast_packets_transmitted_lo); qstats 1805 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c qstats->total_multicast_packets_transmitted_hi, qstats 1807 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c qstats->total_multicast_packets_transmitted_lo); qstats 1810 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c qstats->total_transmitted_dropped_packets_error_hi, qstats 1812 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c qstats->total_transmitted_dropped_packets_error_lo); qstats 431 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.h ADD_EXTEND_64(qstats->t##_hi, qstats->t##_lo, diff); \ qstats 446 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.h ADD_EXTEND_64(qstats->t##_hi, qstats->t##_lo, diff); \ qstats 459 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.h ADD_EXTEND_64(qstats->t##_hi, qstats->t##_lo, diff); \ qstats 464 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.h qstats->t##_lo = qstats_old->t##_lo + le32_to_cpu(s.lo); \ qstats 465 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.h qstats->t##_hi = qstats_old->t##_hi + le32_to_cpu(s.hi) \ qstats 466 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.h + ((qstats->t##_lo < qstats_old->t##_lo) ? 1 : 0); \ qstats 471 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.h qstats_old->f = qstats->f; \ qstats 476 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.h ADD_64(estats->s##_hi, qstats->s##_hi, \ qstats 477 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.h estats->s##_lo, qstats->s##_lo); \ qstats 480 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.h qstats_old->s##_hi_old = qstats->s##_hi; \ qstats 481 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.h qstats_old->s##_lo_old = qstats->s##_lo; \ qstats 486 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.h estats->s += qstats->s; \ qstats 488 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.h qstats_old->s##_old = qstats->s; \ qstats 493 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.h ADD_64(fstats->s##_hi, qstats->s##_hi, \ qstats 494 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.h fstats->s##_lo, qstats->s##_lo); \ qstats 499 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.h qstats_old->s##_hi = qstats->s##_hi; \ qstats 500 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.h qstats_old->s##_lo = qstats->s##_lo; \ qstats 538 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.h SUB_EXTEND_64(qstats->t##_hi, qstats->t##_lo, diff); \ qstats 367 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c p->qstats->backlog -= backlog; qstats 426 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c stats_ptr->qstats->overlimits += overlimits; qstats 427 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c stats_ptr->qstats->drops += drops; qstats 428 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c stats_ptr->qstats->backlog += qstats 572 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c p->qstats->backlog -= backlog; qstats 601 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c stats_ptr->qstats->drops += drops; qstats 602 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c stats_ptr->qstats->backlog += qstats 462 drivers/net/ethernet/netronome/nfp/abm/qdisc.c struct gnet_stats_queue *qstats) qstats 466 drivers/net/ethernet/netronome/nfp/abm/qdisc.c qstats->qlen += new->backlog_pkts - old->backlog_pkts; qstats 467 drivers/net/ethernet/netronome/nfp/abm/qdisc.c qstats->backlog += new->backlog_bytes - old->backlog_bytes; qstats 468 drivers/net/ethernet/netronome/nfp/abm/qdisc.c qstats->overlimits += new->overlimits - old->overlimits; qstats 469 drivers/net/ethernet/netronome/nfp/abm/qdisc.c qstats->drops += new->drops - old->drops; qstats 503 drivers/net/ethernet/netronome/nfp/abm/qdisc.c &stats->bstats[i], &stats->qstats[i]); qstats 654 drivers/net/ethernet/netronome/nfp/abm/qdisc.c stats->bstats, stats->qstats); qstats 811 drivers/net/ethernet/netronome/nfp/abm/qdisc.c stats->bstats, stats->qstats); qstats 1406 drivers/net/hyperv/netvsc_drv.c const struct netvsc_stats *qstats; qstats 1424 drivers/net/hyperv/netvsc_drv.c qstats = &nvdev->chan_table[j].tx_stats; qstats 1427 drivers/net/hyperv/netvsc_drv.c start = u64_stats_fetch_begin_irq(&qstats->syncp); qstats 1428 drivers/net/hyperv/netvsc_drv.c packets = qstats->packets; qstats 1429 drivers/net/hyperv/netvsc_drv.c bytes = qstats->bytes; qstats 1430 drivers/net/hyperv/netvsc_drv.c } while (u64_stats_fetch_retry_irq(&qstats->syncp, start)); qstats 1434 drivers/net/hyperv/netvsc_drv.c qstats = &nvdev->chan_table[j].rx_stats; qstats 1436 drivers/net/hyperv/netvsc_drv.c start = u64_stats_fetch_begin_irq(&qstats->syncp); qstats 1437 drivers/net/hyperv/netvsc_drv.c packets = qstats->packets; qstats 1438 drivers/net/hyperv/netvsc_drv.c bytes = qstats->bytes; qstats 1439 drivers/net/hyperv/netvsc_drv.c } while (u64_stats_fetch_retry_irq(&qstats->syncp, start)); qstats 56 include/net/gen_stats.h void __gnet_stats_copy_queue(struct gnet_stats_queue *qstats, qstats 691 include/net/pkt_cls.h struct gnet_stats_queue *qstats; qstats 730 include/net/pkt_cls.h struct gnet_stats_queue *qstats; qstats 769 include/net/pkt_cls.h struct gnet_stats_queue *qstats; qstats 775 include/net/pkt_cls.h struct gnet_stats_queue qstats[MAX_DPs]; qstats 803 include/net/pkt_cls.h struct gnet_stats_queue *qstats; qstats 104 include/net/sch_generic.h struct gnet_stats_queue qstats; qstats 283 include/net/sch_generic.h struct gnet_stats_queue *qstats; qstats 478 include/net/sch_generic.h __u32 qlen = q->qstats.qlen; qstats 845 include/net/sch_generic.h sch->qstats.backlog -= qdisc_pkt_len(skb); qstats 857 include/net/sch_generic.h sch->qstats.backlog += qdisc_pkt_len(skb); qstats 883 include/net/sch_generic.h sch->qstats.drops += count; qstats 886 include/net/sch_generic.h static inline void qstats_drop_inc(struct gnet_stats_queue *qstats) qstats 888 include/net/sch_generic.h qstats->drops++; qstats 891 include/net/sch_generic.h static inline void qstats_overlimit_inc(struct gnet_stats_queue *qstats) qstats 893 include/net/sch_generic.h qstats->overlimits++; qstats 898 include/net/sch_generic.h qstats_drop_inc(&sch->qstats); qstats 908 include/net/sch_generic.h sch->qstats.overlimits++; qstats 915 include/net/sch_generic.h return gnet_stats_copy_queue(d, sch->cpu_qstats, &sch->qstats, qlen); qstats 921 include/net/sch_generic.h struct gnet_stats_queue qstats = { 0 }; qstats 924 include/net/sch_generic.h __gnet_stats_copy_queue(&qstats, sch->cpu_qstats, &sch->qstats, len); qstats 925 include/net/sch_generic.h *qlen = qstats.qlen; qstats 926 include/net/sch_generic.h *backlog = qstats.backlog; qstats 1104 include/net/sch_generic.h sch->qstats.backlog += pkt_len; qstats 1149 include/net/sch_generic.h sch->qstats.backlog = 0; qstats 1286 include/net/sch_generic.h struct gnet_stats_queue *stats = res->qstats; qstats 1294 include/net/sch_generic.h qstats_overlimit_inc(res->qstats); qstats 282 net/core/gen_stats.c __gnet_stats_copy_queue_cpu(struct gnet_stats_queue *qstats, qstats 290 net/core/gen_stats.c qstats->qlen = 0; qstats 291 net/core/gen_stats.c qstats->backlog += qcpu->backlog; qstats 292 net/core/gen_stats.c qstats->drops += qcpu->drops; qstats 293 net/core/gen_stats.c qstats->requeues += qcpu->requeues; qstats 294 net/core/gen_stats.c qstats->overlimits += qcpu->overlimits; qstats 298 net/core/gen_stats.c void __gnet_stats_copy_queue(struct gnet_stats_queue *qstats, qstats 304 net/core/gen_stats.c __gnet_stats_copy_queue_cpu(qstats, cpu); qstats 306 net/core/gen_stats.c qstats->qlen = q->qlen; qstats 307 net/core/gen_stats.c qstats->backlog = q->backlog; qstats 308 net/core/gen_stats.c qstats->drops = q->drops; qstats 309 net/core/gen_stats.c qstats->requeues = q->requeues; qstats 310 net/core/gen_stats.c qstats->overlimits = q->overlimits; qstats 313 net/core/gen_stats.c qstats->qlen = qlen; qstats 336 net/core/gen_stats.c struct gnet_stats_queue qstats = {0}; qstats 338 net/core/gen_stats.c __gnet_stats_copy_queue(&qstats, cpu_q, q, qlen); qstats 341 net/core/gen_stats.c d->tc_stats.drops = qstats.drops; qstats 342 net/core/gen_stats.c d->tc_stats.qlen = qstats.qlen; qstats 343 net/core/gen_stats.c d->tc_stats.backlog = qstats.backlog; qstats 344 net/core/gen_stats.c d->tc_stats.overlimits = qstats.overlimits; qstats 349 net/core/gen_stats.c &qstats, sizeof(qstats), qstats 292 net/sched/act_mirred.c res->qstats = this_cpu_ptr(m->common.cpu_qstats); qstats 795 net/sched/sch_api.c sch->qstats.backlog -= len; qstats 931 net/sched/sch_api.c gnet_stats_copy_queue(&d, cpu_qstats, &q->qstats, qlen) < 0) qstats 56 net/sched/sch_atm.c struct gnet_stats_queue qstats; qstats 441 net/sched/sch_atm.c flow->qstats.drops++; qstats 656 net/sched/sch_atm.c gnet_stats_copy_queue(d, NULL, &flow->qstats, flow->q->q.qlen) < 0) qstats 1500 net/sched/sch_cake.c sch->qstats.backlog -= len; qstats 1505 net/sched/sch_cake.c sch->qstats.drops++; qstats 1668 net/sched/sch_cake.c sch->qstats.overlimits++; qstats 1707 net/sched/sch_cake.c sch->qstats.backlog += slen; qstats 1723 net/sched/sch_cake.c sch->qstats.drops++; qstats 1742 net/sched/sch_cake.c sch->qstats.backlog += len; qstats 1861 net/sched/sch_cake.c sch->qstats.backlog -= len; qstats 1907 net/sched/sch_cake.c sch->qstats.overlimits++; qstats 120 net/sched/sch_cbq.c struct gnet_stats_queue qstats; qstats 388 net/sched/sch_cbq.c cl->qstats.drops++; qstats 666 net/sched/sch_cbq.c this_cl->qstats.overlimits++; qstats 1382 net/sched/sch_cbq.c qdisc_qstats_qlen_backlog(cl->q, &qlen, &cl->qstats.backlog); qstats 1390 net/sched/sch_cbq.c gnet_stats_copy_queue(d, NULL, &cl->qstats, qlen) < 0) qstats 98 net/sched/sch_cbs.c sch->qstats.backlog += len; qstats 325 net/sched/sch_choke.c sch->qstats.backlog = 0; qstats 75 net/sched/sch_codel.c sch->qstats.backlog -= qdisc_pkt_len(skb); qstats 94 net/sched/sch_codel.c skb = codel_dequeue(sch, &sch->qstats.backlog, &q->params, &q->vars, qstats 23 net/sched/sch_drr.c struct gnet_stats_queue qstats; qstats 272 net/sched/sch_drr.c gnet_stats_copy_queue(d, cl_q->cpu_qstats, &cl_q->qstats, qlen) < 0) qstats 361 net/sched/sch_drr.c cl->qstats.drops++; qstats 372 net/sched/sch_drr.c sch->qstats.backlog += len; qstats 446 net/sched/sch_drr.c sch->qstats.backlog = 0; qstats 277 net/sched/sch_dsmark.c sch->qstats.backlog += len; qstats 410 net/sched/sch_dsmark.c sch->qstats.backlog = 0; qstats 448 net/sched/sch_etf.c sch->qstats.backlog = 0; qstats 21 net/sched/sch_fifo.c if (likely(sch->qstats.backlog + qdisc_pkt_len(skb) <= sch->limit)) qstats 44 net/sched/sch_fifo.c prev_backlog = sch->qstats.backlog; qstats 50 net/sched/sch_fifo.c qdisc_tree_reduce_backlog(sch, 0, prev_backlog - sch->qstats.backlog); qstats 627 net/sched/sch_fq.c sch->qstats.backlog = 0; qstats 179 net/sched/sch_fq_codel.c sch->qstats.drops += i; qstats 180 net/sched/sch_fq_codel.c sch->qstats.backlog -= len; qstats 221 net/sched/sch_fq_codel.c prev_backlog = sch->qstats.backlog; qstats 234 net/sched/sch_fq_codel.c prev_backlog -= sch->qstats.backlog; qstats 269 net/sched/sch_fq_codel.c sch->qstats.backlog -= qdisc_pkt_len(skb); qstats 304 net/sched/sch_fq_codel.c skb = codel_dequeue(sch, &sch->qstats.backlog, &q->cparams, qstats 352 net/sched/sch_fq_codel.c sch->qstats.backlog = 0; qstats 140 net/sched/sch_generic.c q->qstats.requeues++; qstats 928 net/sched/sch_generic.c qdisc->qstats.backlog = 0; qstats 117 net/sched/sch_gred.c return sch->qstats.backlog; qstats 181 net/sched/sch_gred.c if (likely(sch->qstats.backlog + qdisc_pkt_len(skb) <= qstats 278 net/sched/sch_gred.c if (!sch->qstats.backlog) qstats 346 net/sched/sch_gred.c opt.set.qstats = &sch->qstats; qstats 380 net/sched/sch_gred.c table->tab[i]->backlog += hw_stats->stats.qstats[i].backlog; qstats 385 net/sched/sch_gred.c sch->qstats.qlen += hw_stats->stats.qstats[i].qlen; qstats 386 net/sched/sch_gred.c sch->qstats.backlog += hw_stats->stats.qstats[i].backlog; qstats 387 net/sched/sch_gred.c sch->qstats.drops += hw_stats->stats.qstats[i].drops; qstats 388 net/sched/sch_gred.c sch->qstats.requeues += hw_stats->stats.qstats[i].requeues; qstats 389 net/sched/sch_gred.c sch->qstats.overlimits += hw_stats->stats.qstats[i].overlimits; qstats 115 net/sched/sch_hfsc.c struct gnet_stats_queue qstats; qstats 1324 net/sched/sch_hfsc.c qdisc_qstats_qlen_backlog(cl->qdisc, &qlen, &cl->qstats.backlog); qstats 1332 net/sched/sch_hfsc.c gnet_stats_copy_queue(d, NULL, &cl->qstats, qlen) < 0) qstats 1487 net/sched/sch_hfsc.c sch->qstats.backlog = 0; qstats 1551 net/sched/sch_hfsc.c cl->qstats.drops++; qstats 1572 net/sched/sch_hfsc.c sch->qstats.backlog += len; qstats 405 net/sched/sch_hhf.c prev_backlog = sch->qstats.backlog; qstats 414 net/sched/sch_hhf.c qdisc_tree_reduce_backlog(sch, 1, prev_backlog - sch->qstats.backlog); qstats 564 net/sched/sch_hhf.c prev_backlog = sch->qstats.backlog; qstats 571 net/sched/sch_hhf.c prev_backlog - sch->qstats.backlog); qstats 613 net/sched/sch_htb.c sch->qstats.backlog += len; qstats 970 net/sched/sch_htb.c sch->qstats.backlog = 0; qstats 1049 net/sched/sch_htb.c sch->qstats.overlimits = q->overlimits; qstats 45 net/sched/sch_mq.c .qstats = &sch->qstats, qstats 137 net/sched/sch_mq.c memset(&sch->qstats, 0, sizeof(sch->qstats)); qstats 153 net/sched/sch_mq.c __gnet_stats_copy_queue(&sch->qstats, qstats 155 net/sched/sch_mq.c &qdisc->qstats, qlen); qstats 161 net/sched/sch_mq.c sch->qstats.qlen += qdisc->qstats.qlen; qstats 162 net/sched/sch_mq.c sch->qstats.backlog += qdisc->qstats.backlog; qstats 163 net/sched/sch_mq.c sch->qstats.drops += qdisc->qstats.drops; qstats 164 net/sched/sch_mq.c sch->qstats.requeues += qdisc->qstats.requeues; qstats 165 net/sched/sch_mq.c sch->qstats.overlimits += qdisc->qstats.overlimits; qstats 394 net/sched/sch_mqprio.c memset(&sch->qstats, 0, sizeof(sch->qstats)); qstats 411 net/sched/sch_mqprio.c __gnet_stats_copy_queue(&sch->qstats, qstats 413 net/sched/sch_mqprio.c &qdisc->qstats, qlen); qstats 419 net/sched/sch_mqprio.c sch->qstats.backlog += qdisc->qstats.backlog; qstats 420 net/sched/sch_mqprio.c sch->qstats.drops += qdisc->qstats.drops; qstats 421 net/sched/sch_mqprio.c sch->qstats.requeues += qdisc->qstats.requeues; qstats 422 net/sched/sch_mqprio.c sch->qstats.overlimits += qdisc->qstats.overlimits; qstats 516 net/sched/sch_mqprio.c struct gnet_stats_queue qstats = {0}; qstats 544 net/sched/sch_mqprio.c __gnet_stats_copy_queue(&sch->qstats, qstats 546 net/sched/sch_mqprio.c &qdisc->qstats, qstats 555 net/sched/sch_mqprio.c gnet_stats_copy_queue(d, NULL, &qstats, qlen) < 0) qstats 591 net/sched/sch_netem.c sch->qstats.requeues++; qstats 113 net/sched/sch_pie.c if (sch->qstats.backlog < 2 * mtu) qstats 268 net/sched/sch_pie.c int qlen = sch->qstats.backlog; /* current queue size in bytes */ qstats 333 net/sched/sch_pie.c u32 qlen = sch->qstats.backlog; /* queue size in bytes */ qstats 92 net/sched/sch_plug.c if (likely(sch->qstats.backlog + skb->len <= q->limit)) { qstats 88 net/sched/sch_prio.c sch->qstats.backlog += len; qstats 138 net/sched/sch_prio.c sch->qstats.backlog = 0; qstats 158 net/sched/sch_prio.c opt.replace_params.qstats = &sch->qstats; qstats 256 net/sched/sch_prio.c .qstats = &sch->qstats, qstats 135 net/sched/sch_qfq.c struct gnet_stats_queue qstats; qstats 1221 net/sched/sch_qfq.c cl->qstats.drops++; qstats 1232 net/sched/sch_qfq.c cl->qstats.drops++; qstats 1240 net/sched/sch_qfq.c sch->qstats.backlog += len; qstats 1465 net/sched/sch_qfq.c sch->qstats.backlog = 0; qstats 66 net/sched/sch_red.c child->qstats.backlog); qstats 143 net/sched/sch_red.c sch->qstats.backlog = 0; qstats 168 net/sched/sch_red.c opt.set.qstats = &sch->qstats; qstats 292 net/sched/sch_red.c .stats.qstats = &sch->qstats, qstats 456 net/sched/sch_sfb.c sch->qstats.backlog = 0; qstats 581 net/sched/sch_sfb.c sch->qstats.backlog = q->qdisc->qstats.backlog; qstats 432 net/sched/sch_sfq.c sch->qstats.backlog -= delta; qstats 35 net/sched/sch_skbprio.c struct gnet_stats_queue qstats[SKBPRIO_MAX_PRIORITY]; qstats 85 net/sched/sch_skbprio.c q->qstats[prio].backlog += qdisc_pkt_len(skb); qstats 101 net/sched/sch_skbprio.c q->qstats[prio].drops++; qstats 102 net/sched/sch_skbprio.c q->qstats[prio].overlimits++; qstats 108 net/sched/sch_skbprio.c q->qstats[prio].backlog += qdisc_pkt_len(skb); qstats 117 net/sched/sch_skbprio.c q->qstats[lp].backlog -= qdisc_pkt_len(to_drop); qstats 118 net/sched/sch_skbprio.c q->qstats[lp].drops++; qstats 119 net/sched/sch_skbprio.c q->qstats[lp].overlimits++; qstats 152 net/sched/sch_skbprio.c q->qstats[q->highest_prio].backlog -= qdisc_pkt_len(skb); qstats 189 net/sched/sch_skbprio.c memset(&q->qstats, 0, sizeof(q->qstats)); qstats 216 net/sched/sch_skbprio.c sch->qstats.backlog = 0; qstats 222 net/sched/sch_skbprio.c memset(&q->qstats, 0, sizeof(q->qstats)); qstats 257 net/sched/sch_skbprio.c if (gnet_stats_copy_queue(d, NULL, &q->qstats[cl - 1], qstats 258 net/sched/sch_skbprio.c q->qstats[cl - 1].qlen) < 0) qstats 199 net/sched/sch_tbf.c sch->qstats.backlog += len; qstats 274 net/sched/sch_tbf.c sch->qstats.backlog = 0; qstats 446 net/sched/sch_tbf.c sch->qstats.backlog = q->qdisc->qstats.backlog; qstats 168 samples/bpf/hbm.c struct hbm_queue_stats qstats = {0}; qstats 189 samples/bpf/hbm.c qstats.rate = rate; qstats 190 samples/bpf/hbm.c qstats.stats = stats_flag ? 1 : 0; qstats 191 samples/bpf/hbm.c qstats.loopback = loopback_flag ? 1 : 0; qstats 192 samples/bpf/hbm.c qstats.no_cn = no_cn_flag ? 1 : 0; qstats 193 samples/bpf/hbm.c if (bpf_map_update_elem(map_fd, &key, &qstats, BPF_ANY)) { qstats 216 samples/bpf/hbm.c bpf_map_lookup_elem(map_fd, &key, &qstats); qstats 224 samples/bpf/hbm.c last_cg_tx_bytes = qstats.bytes_total; qstats 245 samples/bpf/hbm.c bpf_map_lookup_elem(map_fd, &key, &qstats); qstats 246 samples/bpf/hbm.c new_cg_tx_bytes = qstats.bytes_total; qstats 276 samples/bpf/hbm.c qstats.rate = rate; qstats 290 samples/bpf/hbm.c qstats.rate = rate; qstats 292 samples/bpf/hbm.c if (bpf_map_update_elem(map_fd, &key, &qstats, BPF_ANY)) qstats 299 samples/bpf/hbm.c if (stats_flag && bpf_map_lookup_elem(map_fd, &key, &qstats)) { qstats 310 samples/bpf/hbm.c } else if (stats_flag && qstats.lastPacketTime > qstats 311 samples/bpf/hbm.c qstats.firstPacketTime) { qstats 312 samples/bpf/hbm.c long long delta_us = (qstats.lastPacketTime - qstats 313 samples/bpf/hbm.c qstats.firstPacketTime)/1000; qstats 314 samples/bpf/hbm.c unsigned int rate_mbps = ((qstats.bytes_total - qstats 315 samples/bpf/hbm.c qstats.bytes_dropped) * 8 / qstats 338 samples/bpf/hbm.c (qstats.lastPacketTime - qstats.firstPacketTime) / qstats 340 samples/bpf/hbm.c fprintf(fout, "packets:%d\n", (int)qstats.pkts_total); qstats 341 samples/bpf/hbm.c fprintf(fout, "bytes_MB:%d\n", (int)(qstats.bytes_total / qstats 343 samples/bpf/hbm.c fprintf(fout, "pkts_dropped:%d\n", (int)qstats.pkts_dropped); qstats 345 samples/bpf/hbm.c (int)(qstats.bytes_dropped / qstats 348 samples/bpf/hbm.c percent_pkts = (qstats.pkts_marked * 100.0) / qstats 349 samples/bpf/hbm.c (qstats.pkts_total + 1); qstats 350 samples/bpf/hbm.c percent_bytes = (qstats.bytes_marked * 100.0) / qstats 351 samples/bpf/hbm.c (qstats.bytes_total + 1); qstats 356 samples/bpf/hbm.c percent_pkts = (qstats.pkts_dropped * 100.0) / qstats 357 samples/bpf/hbm.c (qstats.pkts_total + 1); qstats 358 samples/bpf/hbm.c percent_bytes = (qstats.bytes_dropped * 100.0) / qstats 359 samples/bpf/hbm.c (qstats.bytes_total + 1); qstats 364 samples/bpf/hbm.c percent_pkts = (qstats.pkts_ecn_ce * 100.0) / qstats 365 samples/bpf/hbm.c (qstats.pkts_total + 1); qstats 367 samples/bpf/hbm.c (int)qstats.pkts_ecn_ce); qstats 371 samples/bpf/hbm.c (int)(qstats.sum_cwnd / (qstats.sum_cwnd_cnt + 1))); qstats 374 samples/bpf/hbm.c (int)(qstats.sum_rtt / (qstats.pkts_total + 1))); qstats 378 samples/bpf/hbm.c (qstats.sum_credit / qstats 379 samples/bpf/hbm.c (qstats.pkts_total + 1.0)) / 1000000.0); qstats 382 samples/bpf/hbm.c (int)(qstats.sum_credit / qstats 383 samples/bpf/hbm.c (1500 * ((int)qstats.pkts_total ) + 1))); qstats 387 samples/bpf/hbm.c percent_pkts = (qstats.returnValCount[k] * 100.0) / qstats 388 samples/bpf/hbm.c (qstats.pkts_total + 1); qstats 390 samples/bpf/hbm.c percent_pkts, (int)qstats.returnValCount[k]);