/linux/net/core/ |
H A D | gen_stats.c | 139 bytes = u64_stats_read(&bcpu->bytes); in gnet_stats_add_basic_cpu() 140 packets = u64_stats_read(&bcpu->packets); in gnet_stats_add_basic_cpu() 166 bytes = u64_stats_read(&b->bytes); in gnet_stats_add_basic() 167 packets = u64_stats_read(&b->packets); in gnet_stats_add_basic() 191 bytes = u64_stats_read(&bcpu->bytes); in gnet_stats_read_basic() 192 packets = u64_stats_read(&bcpu->packets); in gnet_stats_read_basic() 205 *ret_bytes = u64_stats_read(&b->bytes); in gnet_stats_read_basic() 206 *ret_packets = u64_stats_read(&b->packets); in gnet_stats_read_basic()
|
H A D | gen_estimator.c | 84 b_bytes = u64_stats_read(&b.bytes); in est_timer() 85 b_packets = u64_stats_read(&b.packets); in est_timer() 173 est->last_bytes = u64_stats_read(&b.bytes); in gen_new_estimator() 174 est->last_packets = u64_stats_read(&b.packets); in gen_new_estimator()
|
H A D | drop_monitor.c | 1454 dropped = u64_stats_read(&cpu_stats->dropped); in net_dm_stats_read() 1473 u64_stats_read(&stats.dropped), NET_DM_ATTR_PAD)) in net_dm_stats_put() 1498 dropped = u64_stats_read(&cpu_stats->dropped); in net_dm_hw_stats_read() 1517 u64_stats_read(&stats.dropped), NET_DM_ATTR_PAD)) in net_dm_hw_stats_put()
|
/linux/drivers/net/ |
H A D | mhi_net.c | 108 stats->rx_packets = u64_stats_read(&mhi_netdev->stats.rx_packets); in mhi_ndo_get_stats64() 109 stats->rx_bytes = u64_stats_read(&mhi_netdev->stats.rx_bytes); in mhi_ndo_get_stats64() 110 stats->rx_errors = u64_stats_read(&mhi_netdev->stats.rx_errors); in mhi_ndo_get_stats64() 115 stats->tx_packets = u64_stats_read(&mhi_netdev->stats.tx_packets); in mhi_ndo_get_stats64() 116 stats->tx_bytes = u64_stats_read(&mhi_netdev->stats.tx_bytes); in mhi_ndo_get_stats64() 117 stats->tx_errors = u64_stats_read(&mhi_netdev->stats.tx_errors); in mhi_ndo_get_stats64() 118 stats->tx_dropped = u64_stats_read(&mhi_netdev->stats.tx_dropped); in mhi_ndo_get_stats64()
|
H A D | loopback.c | 111 tpackets = u64_stats_read(&lb_stats->packets); in dev_lstats_read() 112 tbytes = u64_stats_read(&lb_stats->bytes); in dev_lstats_read()
|
H A D | macvlan.c | 982 rx_packets = u64_stats_read(&p->rx_packets); in macvlan_dev_get_stats64() 983 rx_bytes = u64_stats_read(&p->rx_bytes); in macvlan_dev_get_stats64() 984 rx_multicast = u64_stats_read(&p->rx_multicast); in macvlan_dev_get_stats64() 985 tx_packets = u64_stats_read(&p->tx_packets); in macvlan_dev_get_stats64() 986 tx_bytes = u64_stats_read(&p->tx_bytes); in macvlan_dev_get_stats64()
|
/linux/drivers/net/can/rockchip/ |
H A D | rockchip_canfd-ethtool.c | 55 u64_stats_read(&rkcanfd_stats->rx_fifo_empty_errors); in rkcanfd_ethtool_get_ethtool_stats() 57 u64_stats_read(&rkcanfd_stats->tx_extended_as_standard_errors); in rkcanfd_ethtool_get_ethtool_stats()
|
/linux/drivers/net/ethernet/stmicro/stmmac/ |
H A D | stmmac_ethtool.c | 517 irq_n = u64_stats_read(&pcpu->rx_normal_irq_n[q]); in stmmac_get_rx_normal_irq_n() 538 irq_n = u64_stats_read(&pcpu->tx_normal_irq_n[q]); in stmmac_get_tx_normal_irq_n() 558 pkt_n = u64_stats_read(&txq_stats->napi.tx_pkt_n); in stmmac_get_per_qstats() 571 pkt_n = u64_stats_read(&rxq_stats->napi.rx_pkt_n); in stmmac_get_per_qstats() 643 data[j++] += u64_stats_read(&snapshot.rx_pkt_n); in stmmac_get_ethtool_stats() 647 napi_poll += u64_stats_read(&snapshot.poll); in stmmac_get_ethtool_stats() 667 data[j++] += u64_stats_read(&napi_snapshot.tx_pkt_n); in stmmac_get_ethtool_stats() 671 data[j++] += u64_stats_read(&napi_snapshot.tx_clean); in stmmac_get_ethtool_stats() 672 data[j++] += u64_stats_read(&q_snapshot.tx_set_ic_bit) + in stmmac_get_ethtool_stats() 673 u64_stats_read(&napi_snapshot.tx_set_ic_bit); in stmmac_get_ethtool_stats() [all …]
|
/linux/include/linux/ |
H A D | u64_stats_sync.h | 77 static inline u64 u64_stats_read(const u64_stats_t *p) in u64_stats_read() function 118 static inline u64 u64_stats_read(const u64_stats_t *p) in u64_stats_read() function
|
/linux/drivers/net/ethernet/intel/idpf/ |
H A D | idpf_ethtool.c | 1100 hw_csum_err = u64_stats_read(&stats->hw_csum_err); in idpf_collect_queue_stats() 1101 hsplit = u64_stats_read(&stats->hsplit_pkts); in idpf_collect_queue_stats() 1102 hsplit_hbo = u64_stats_read(&stats->hsplit_buf_ovf); in idpf_collect_queue_stats() 1103 bad_descs = u64_stats_read(&stats->bad_descs); in idpf_collect_queue_stats() 1131 linearize = u64_stats_read(&stats->linearize); in idpf_collect_queue_stats() 1132 qbusy = u64_stats_read(&stats->q_busy); in idpf_collect_queue_stats() 1133 skb_drops = u64_stats_read(&stats->skb_drops); in idpf_collect_queue_stats() 1134 dma_map_errs = u64_stats_read(&stats->dma_map_errs); in idpf_collect_queue_stats()
|
/linux/net/netfilter/ipvs/ |
H A D | ip_vs_est.c | 101 conns = u64_stats_read(&c->cnt.conns); in ip_vs_chain_estimation() 102 inpkts = u64_stats_read(&c->cnt.inpkts); in ip_vs_chain_estimation() 103 outpkts = u64_stats_read(&c->cnt.outpkts); in ip_vs_chain_estimation() 104 inbytes = u64_stats_read(&c->cnt.inbytes); in ip_vs_chain_estimation() 105 outbytes = u64_stats_read(&c->cnt.outbytes); in ip_vs_chain_estimation()
|
/linux/net/8021q/ |
H A D | vlan_dev.c | 678 rxpackets = u64_stats_read(&p->rx_packets); in vlan_dev_get_stats64() 679 rxbytes = u64_stats_read(&p->rx_bytes); in vlan_dev_get_stats64() 680 rxmulticast = u64_stats_read(&p->rx_multicast); in vlan_dev_get_stats64() 681 txpackets = u64_stats_read(&p->tx_packets); in vlan_dev_get_stats64() 682 txbytes = u64_stats_read(&p->tx_bytes); in vlan_dev_get_stats64()
|
/linux/net/sched/ |
H A D | sch_htb.c | 1311 bytes += u64_stats_read(&c->bstats_bias.bytes); in htb_offload_aggregate_stats() 1312 packets += u64_stats_read(&c->bstats_bias.packets); in htb_offload_aggregate_stats() 1314 bytes += u64_stats_read(&c->leaf.q->bstats.bytes); in htb_offload_aggregate_stats() 1315 packets += u64_stats_read(&c->leaf.q->bstats.packets); in htb_offload_aggregate_stats() 1348 u64_stats_read(&cl->bstats_bias.bytes), in htb_dump_class_stats() 1349 u64_stats_read(&cl->bstats_bias.packets)); in htb_dump_class_stats() 1570 u64_stats_read(&q->bstats.bytes), in htb_destroy_class_offload() 1571 u64_stats_read(&q->bstats.packets)); in htb_destroy_class_offload() 1933 u64_stats_read(&old_q->bstats.bytes), in htb_change_class() 1934 u64_stats_read(&old_q->bstats.packets)); in htb_change_class()
|
H A D | sch_gred.c | 384 table->tab[i]->packetsin += u64_stats_read(&hw_stats->stats.bstats[i].packets); in gred_offload_dump_stats() 385 table->tab[i]->bytesin += u64_stats_read(&hw_stats->stats.bstats[i].bytes); in gred_offload_dump_stats() 388 bytes += u64_stats_read(&hw_stats->stats.bstats[i].bytes); in gred_offload_dump_stats() 389 packets += u64_stats_read(&hw_stats->stats.bstats[i].packets); in gred_offload_dump_stats()
|
H A D | act_simple.c | 41 u64_stats_read(&d->tcf_bstats.packets)); in tcf_simp_act()
|
/linux/drivers/net/ipvlan/ |
H A D | ipvlan_main.c | 307 rx_pkts = u64_stats_read(&pcptr->rx_pkts); in ipvlan_get_stats64() 308 rx_bytes = u64_stats_read(&pcptr->rx_bytes); in ipvlan_get_stats64() 309 rx_mcast = u64_stats_read(&pcptr->rx_mcast); in ipvlan_get_stats64() 310 tx_pkts = u64_stats_read(&pcptr->tx_pkts); in ipvlan_get_stats64() 311 tx_bytes = u64_stats_read(&pcptr->tx_bytes); in ipvlan_get_stats64()
|
/linux/net/openvswitch/ |
H A D | vport.c | 326 tx_success += u64_stats_read(&stats->n_success); in ovs_vport_get_upcall_stats() 327 tx_fail += u64_stats_read(&stats->n_fail); in ovs_vport_get_upcall_stats()
|
/linux/drivers/net/ethernet/broadcom/genet/ |
H A D | bcmgenet.c | 1330 data[i] = u64_stats_read((u64_stats_t *)(p + s->stat_offset)); in bcmgenet_get_ethtool_stats() 3611 tx_bytes = u64_stats_read(&tx_stats->bytes); in bcmgenet_get_stats64() 3612 tx_packets = u64_stats_read(&tx_stats->packets); in bcmgenet_get_stats64() 3613 tx_errors = u64_stats_read(&tx_stats->errors); in bcmgenet_get_stats64() 3614 tx_dropped = u64_stats_read(&tx_stats->dropped); in bcmgenet_get_stats64() 3627 rx_bytes = u64_stats_read(&rx_stats->bytes); in bcmgenet_get_stats64() 3628 rx_packets = u64_stats_read(&rx_stats->packets); in bcmgenet_get_stats64() 3629 rx_errors = u64_stats_read(&rx_stats->errors); in bcmgenet_get_stats64() 3630 rx_dropped = u64_stats_read(&rx_stats->dropped); in bcmgenet_get_stats64() 3631 rx_missed = u64_stats_read(&rx_stats->missed); in bcmgenet_get_stats64() [all …]
|
/linux/net/devlink/ |
H A D | trap.c | 170 rx_packets = u64_stats_read(&cpu_stats->rx_packets); in devlink_trap_stats_read() 171 rx_bytes = u64_stats_read(&cpu_stats->rx_bytes); in devlink_trap_stats_read() 193 u64_stats_read(&stats.rx_packets))) in devlink_trap_group_stats_put() 197 u64_stats_read(&stats.rx_bytes))) in devlink_trap_group_stats_put() 236 u64_stats_read(&stats.rx_packets))) in devlink_trap_stats_put() 240 u64_stats_read(&stats.rx_bytes))) in devlink_trap_stats_put()
|
/linux/drivers/net/can/ |
H A D | xilinx_can.c | 1692 data[XCAN_ECC_RX_2_BIT_ERRORS] = u64_stats_read(&priv->ecc_rx_2_bit_errors); in xcan_get_ethtool_stats() 1693 data[XCAN_ECC_RX_1_BIT_ERRORS] = u64_stats_read(&priv->ecc_rx_1_bit_errors); in xcan_get_ethtool_stats() 1694 data[XCAN_ECC_TXOL_2_BIT_ERRORS] = u64_stats_read(&priv->ecc_txol_2_bit_errors); in xcan_get_ethtool_stats() 1695 data[XCAN_ECC_TXOL_1_BIT_ERRORS] = u64_stats_read(&priv->ecc_txol_1_bit_errors); in xcan_get_ethtool_stats() 1696 data[XCAN_ECC_TXTL_2_BIT_ERRORS] = u64_stats_read(&priv->ecc_txtl_2_bit_errors); in xcan_get_ethtool_stats() 1697 data[XCAN_ECC_TXTL_1_BIT_ERRORS] = u64_stats_read(&priv->ecc_txtl_1_bit_errors); in xcan_get_ethtool_stats()
|
/linux/net/bridge/ |
H A D | br_vlan.c | 1395 rxpackets = u64_stats_read(&cpu_stats->rx_packets); in br_vlan_get_stats() 1396 rxbytes = u64_stats_read(&cpu_stats->rx_bytes); in br_vlan_get_stats() 1397 txbytes = u64_stats_read(&cpu_stats->tx_bytes); in br_vlan_get_stats() 1398 txpackets = u64_stats_read(&cpu_stats->tx_packets); in br_vlan_get_stats() 1828 u64_stats_read(&stats.rx_bytes), in br_vlan_stats_fill() 1831 u64_stats_read(&stats.rx_packets), in br_vlan_stats_fill() 1834 u64_stats_read(&stats.tx_bytes), in br_vlan_stats_fill() 1837 u64_stats_read(&stats.tx_packets), in br_vlan_stats_fill()
|
H A D | br_netlink.c | 1849 vxi.rx_bytes = u64_stats_read(&stats.rx_bytes); in br_fill_linkxstats() 1850 vxi.rx_packets = u64_stats_read(&stats.rx_packets); in br_fill_linkxstats() 1851 vxi.tx_bytes = u64_stats_read(&stats.tx_bytes); in br_fill_linkxstats() 1852 vxi.tx_packets = u64_stats_read(&stats.tx_packets); in br_fill_linkxstats()
|
/linux/drivers/net/ethernet/asix/ |
H A D | ax88796c_main.c | 666 rx_packets = u64_stats_read(&s->rx_packets); in ax88796c_get_stats64() 667 rx_bytes = u64_stats_read(&s->rx_bytes); in ax88796c_get_stats64() 668 tx_packets = u64_stats_read(&s->tx_packets); in ax88796c_get_stats64() 669 tx_bytes = u64_stats_read(&s->tx_bytes); in ax88796c_get_stats64()
|
/linux/drivers/net/ethernet/xilinx/ |
H A D | xilinx_axienet_main.c | 1292 .pkt_ctr = u64_stats_read(&lp->rx_packets), in axienet_rx_poll() 1293 .byte_ctr = u64_stats_read(&lp->rx_bytes), in axienet_rx_poll() 1832 stats->rx_packets = u64_stats_read(&lp->rx_packets); in axienet_get_stats64() 1833 stats->rx_bytes = u64_stats_read(&lp->rx_bytes); in axienet_get_stats64() 1838 stats->tx_packets = u64_stats_read(&lp->tx_packets); in axienet_get_stats64() 1839 stats->tx_bytes = u64_stats_read(&lp->tx_bytes); in axienet_get_stats64()
|
/linux/drivers/net/team/ |
H A D | team_core.c | 1867 rx_packets = u64_stats_read(&p->rx_packets); in team_get_stats64() 1868 rx_bytes = u64_stats_read(&p->rx_bytes); in team_get_stats64() 1869 rx_multicast = u64_stats_read(&p->rx_multicast); in team_get_stats64() 1870 tx_packets = u64_stats_read(&p->tx_packets); in team_get_stats64() 1871 tx_bytes = u64_stats_read(&p->tx_bytes); in team_get_stats64()
|