/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()
|
H A D | dev.c | 11276 rx_packets = u64_stats_read(&stats->rx_packets); in dev_fetch_dstats() 11277 rx_bytes = u64_stats_read(&stats->rx_bytes); in dev_fetch_dstats() 11278 rx_drops = u64_stats_read(&stats->rx_drops); in dev_fetch_dstats() 11279 tx_packets = u64_stats_read(&stats->tx_packets); in dev_fetch_dstats() 11280 tx_bytes = u64_stats_read(&stats->tx_bytes); in dev_fetch_dstats() 11281 tx_drops = u64_stats_read(&stats->tx_drops); in dev_fetch_dstats() 11439 rx_packets = u64_stats_read(&stats->rx_packets); in dev_fetch_sw_netstats() 11440 rx_bytes = u64_stats_read(&stats->rx_bytes); in dev_fetch_sw_netstats() 11441 tx_packets = u64_stats_read(&stats->tx_packets); in dev_fetch_sw_netstats() 11442 tx_bytes = u64_stats_read(&stats->tx_bytes); in dev_fetch_sw_netstats()
|
/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 | 110 tpackets = u64_stats_read(&lb_stats->packets); in dev_lstats_read() 111 tbytes = u64_stats_read(&lb_stats->bytes); in dev_lstats_read()
|
H A D | macvlan.c | 981 rx_packets = u64_stats_read(&p->rx_packets); in macvlan_dev_get_stats64() 982 rx_bytes = u64_stats_read(&p->rx_bytes); in macvlan_dev_get_stats64() 983 rx_multicast = u64_stats_read(&p->rx_multicast); in macvlan_dev_get_stats64() 984 tx_packets = u64_stats_read(&p->tx_packets); in macvlan_dev_get_stats64() 985 tx_bytes = u64_stats_read(&p->tx_bytes); in macvlan_dev_get_stats64()
|
H A D | virtio_net.c | 2930 u64_stats_add(item, u64_stats_read(src)); in virtnet_receive() 2933 u64_stats_add(&rq->stats.packets, u64_stats_read(&stats.packets)); in virtnet_receive() 2934 u64_stats_add(&rq->stats.bytes, u64_stats_read(&stats.bytes)); in virtnet_receive() 2986 u64_stats_read(&rq->stats.packets), in virtnet_rx_dim_update() 2987 u64_stats_read(&rq->stats.bytes), in virtnet_rx_dim_update() 3537 tpackets = u64_stats_read(&sq->stats.packets); in virtnet_stats() 3538 tbytes = u64_stats_read(&sq->stats.bytes); in virtnet_stats() 3539 terrors = u64_stats_read(&sq->stats.tx_timeouts); in virtnet_stats() 3544 rpackets = u64_stats_read(&rq->stats.packets); in virtnet_stats() 3545 rbytes = u64_stats_read(&rq->stats.bytes); in virtnet_stats() [all …]
|
/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/wwan/ |
H A D | mhi_wwan_mbim.c | 471 stats->rx_packets = u64_stats_read(&link->rx_packets); in mhi_mbim_ndo_get_stats64() 472 stats->rx_bytes = u64_stats_read(&link->rx_bytes); in mhi_mbim_ndo_get_stats64() 473 stats->rx_errors = u64_stats_read(&link->rx_errors); in mhi_mbim_ndo_get_stats64() 478 stats->tx_packets = u64_stats_read(&link->tx_packets); in mhi_mbim_ndo_get_stats64() 479 stats->tx_bytes = u64_stats_read(&link->tx_bytes); in mhi_mbim_ndo_get_stats64() 480 stats->tx_errors = u64_stats_read(&link->tx_errors); in mhi_mbim_ndo_get_stats64() 481 stats->tx_dropped = u64_stats_read(&link->tx_dropped); in mhi_mbim_ndo_get_stats64()
|
/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 | 812 hw_csum_err = u64_stats_read(&stats->hw_csum_err); in idpf_collect_queue_stats() 813 hsplit = u64_stats_read(&stats->hsplit_pkts); in idpf_collect_queue_stats() 814 hsplit_hbo = u64_stats_read(&stats->hsplit_buf_ovf); in idpf_collect_queue_stats() 815 bad_descs = u64_stats_read(&stats->bad_descs); in idpf_collect_queue_stats() 843 linearize = u64_stats_read(&stats->linearize); in idpf_collect_queue_stats() 844 qbusy = u64_stats_read(&stats->q_busy); in idpf_collect_queue_stats() 845 skb_drops = u64_stats_read(&stats->skb_drops); in idpf_collect_queue_stats() 846 dma_map_errs = u64_stats_read(&stats->dma_map_errs); in idpf_collect_queue_stats()
|
H A D | idpf_txrx.c | 3684 packets += u64_stats_read(&txq->q_stats.packets); in idpf_net_dim() 3685 bytes += u64_stats_read(&txq->q_stats.bytes); in idpf_net_dim() 3703 packets += u64_stats_read(&rxq->q_stats.packets); in idpf_net_dim() 3704 bytes += u64_stats_read(&rxq->q_stats.bytes); in idpf_net_dim()
|
/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()
|
H A D | ip_vs_ctl.c | 2535 conns = u64_stats_read(&u->cnt.conns); in ip_vs_stats_percpu_show() 2536 inpkts = u64_stats_read(&u->cnt.inpkts); in ip_vs_stats_percpu_show() 2537 outpkts = u64_stats_read(&u->cnt.outpkts); in ip_vs_stats_percpu_show() 2538 inbytes = u64_stats_read(&u->cnt.inbytes); in ip_vs_stats_percpu_show() 2539 outbytes = u64_stats_read(&u->cnt.outbytes); in ip_vs_stats_percpu_show()
|
/linux/net/netfilter/ |
H A D | nft_counter.c | 142 bytes = u64_stats_read(&this_cpu->bytes); in nft_counter_fetch() 143 packets = u64_stats_read(&this_cpu->packets); in nft_counter_fetch()
|
/linux/net/8021q/ |
H A D | vlan_dev.c | 702 rxpackets = u64_stats_read(&p->rx_packets); in vlan_dev_get_stats64() 703 rxbytes = u64_stats_read(&p->rx_bytes); in vlan_dev_get_stats64() 704 rxmulticast = u64_stats_read(&p->rx_multicast); in vlan_dev_get_stats64() 705 txpackets = u64_stats_read(&p->tx_packets); in vlan_dev_get_stats64() 706 txbytes = u64_stats_read(&p->tx_bytes); in vlan_dev_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/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/sched/ |
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/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/net/bridge/ |
H A D | br_netlink.c | 1847 vxi.rx_bytes = u64_stats_read(&stats.rx_bytes); in br_fill_linkxstats() 1848 vxi.rx_packets = u64_stats_read(&stats.rx_packets); in br_fill_linkxstats() 1849 vxi.tx_bytes = u64_stats_read(&stats.tx_bytes); in br_fill_linkxstats() 1850 vxi.tx_packets = u64_stats_read(&stats.tx_packets); in br_fill_linkxstats()
|
/linux/drivers/net/team/ |
H A D | team_core.c | 1874 rx_packets = u64_stats_read(&p->rx_packets); in team_get_stats64() 1875 rx_bytes = u64_stats_read(&p->rx_bytes); in team_get_stats64() 1876 rx_multicast = u64_stats_read(&p->rx_multicast); in team_get_stats64() 1877 tx_packets = u64_stats_read(&p->tx_packets); in team_get_stats64() 1878 tx_bytes = u64_stats_read(&p->tx_bytes); in team_get_stats64()
|
/linux/drivers/net/ethernet/xilinx/ |
H A D | xilinx_axienet_main.c | 1763 stats->rx_packets = u64_stats_read(&lp->rx_packets); in axienet_get_stats64() 1764 stats->rx_bytes = u64_stats_read(&lp->rx_bytes); in axienet_get_stats64() 1769 stats->tx_packets = u64_stats_read(&lp->tx_packets); in axienet_get_stats64() 1770 stats->tx_bytes = u64_stats_read(&lp->tx_bytes); in axienet_get_stats64()
|