Home
last modified time | relevance | path

Searched refs:u64_stats_read (Results 1 – 25 of 40) sorted by relevance

12

/linux-6.14.4/net/core/
Dgen_stats.c139 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()
Dgen_estimator.c84 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()
Ddrop_monitor.c1454 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-6.14.4/drivers/net/
Dmhi_net.c108 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()
Dloopback.c110 tpackets = u64_stats_read(&lb_stats->packets); in dev_lstats_read()
111 tbytes = u64_stats_read(&lb_stats->bytes); in dev_lstats_read()
Dmacvlan.c981 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()
/linux-6.14.4/drivers/net/can/rockchip/
Drockchip_canfd-ethtool.c55 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-6.14.4/drivers/net/wwan/
Dmhi_wwan_mbim.c471 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-6.14.4/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_ethtool.c560 irq_n = u64_stats_read(&pcpu->rx_normal_irq_n[q]); in stmmac_get_rx_normal_irq_n()
581 irq_n = u64_stats_read(&pcpu->tx_normal_irq_n[q]); in stmmac_get_tx_normal_irq_n()
601 pkt_n = u64_stats_read(&txq_stats->napi.tx_pkt_n); in stmmac_get_per_qstats()
614 pkt_n = u64_stats_read(&rxq_stats->napi.rx_pkt_n); in stmmac_get_per_qstats()
686 data[j++] += u64_stats_read(&snapshot.rx_pkt_n); in stmmac_get_ethtool_stats()
690 napi_poll += u64_stats_read(&snapshot.poll); in stmmac_get_ethtool_stats()
710 data[j++] += u64_stats_read(&napi_snapshot.tx_pkt_n); in stmmac_get_ethtool_stats()
714 data[j++] += u64_stats_read(&napi_snapshot.tx_clean); in stmmac_get_ethtool_stats()
715 data[j++] += u64_stats_read(&q_snapshot.tx_set_ic_bit) + in stmmac_get_ethtool_stats()
716 u64_stats_read(&napi_snapshot.tx_set_ic_bit); in stmmac_get_ethtool_stats()
[all …]
/linux-6.14.4/include/linux/
Du64_stats_sync.h77 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-6.14.4/drivers/net/ethernet/intel/idpf/
Didpf_ethtool.c812 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()
/linux-6.14.4/net/netfilter/ipvs/
Dip_vs_est.c101 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-6.14.4/net/netfilter/
Dnft_counter.c142 bytes = u64_stats_read(&this_cpu->bytes); in nft_counter_fetch()
143 packets = u64_stats_read(&this_cpu->packets); in nft_counter_fetch()
/linux-6.14.4/drivers/net/ethernet/broadcom/asp2/
Dbcmasp_intf.c1160 stats->rx_packets = u64_stats_read(&lstats->rx_packets); in bcmasp_get_stats64()
1161 stats->rx_bytes = u64_stats_read(&lstats->rx_bytes); in bcmasp_get_stats64()
1162 stats->rx_dropped = u64_stats_read(&lstats->rx_dropped); in bcmasp_get_stats64()
1163 stats->rx_crc_errors = u64_stats_read(&lstats->rx_crc_errs); in bcmasp_get_stats64()
1164 stats->rx_frame_errors = u64_stats_read(&lstats->rx_sym_errs); in bcmasp_get_stats64()
1167 stats->tx_packets = u64_stats_read(&lstats->tx_packets); in bcmasp_get_stats64()
1168 stats->tx_bytes = u64_stats_read(&lstats->tx_bytes); in bcmasp_get_stats64()
/linux-6.14.4/net/sched/
Dsch_htb.c1308 bytes += u64_stats_read(&c->bstats_bias.bytes); in htb_offload_aggregate_stats()
1309 packets += u64_stats_read(&c->bstats_bias.packets); in htb_offload_aggregate_stats()
1311 bytes += u64_stats_read(&c->leaf.q->bstats.bytes); in htb_offload_aggregate_stats()
1312 packets += u64_stats_read(&c->leaf.q->bstats.packets); in htb_offload_aggregate_stats()
1345 u64_stats_read(&cl->bstats_bias.bytes), in htb_dump_class_stats()
1346 u64_stats_read(&cl->bstats_bias.packets)); in htb_dump_class_stats()
1567 u64_stats_read(&q->bstats.bytes), in htb_destroy_class_offload()
1568 u64_stats_read(&q->bstats.packets)); in htb_destroy_class_offload()
1931 u64_stats_read(&old_q->bstats.bytes), in htb_change_class()
1932 u64_stats_read(&old_q->bstats.packets)); in htb_change_class()
Dsch_gred.c384 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()
Dact_simple.c41 u64_stats_read(&d->tcf_bstats.packets)); in tcf_simp_act()
/linux-6.14.4/net/8021q/
Dvlan_dev.c679 rxpackets = u64_stats_read(&p->rx_packets); in vlan_dev_get_stats64()
680 rxbytes = u64_stats_read(&p->rx_bytes); in vlan_dev_get_stats64()
681 rxmulticast = u64_stats_read(&p->rx_multicast); in vlan_dev_get_stats64()
682 txpackets = u64_stats_read(&p->tx_packets); in vlan_dev_get_stats64()
683 txbytes = u64_stats_read(&p->tx_bytes); in vlan_dev_get_stats64()
/linux-6.14.4/drivers/net/ipvlan/
Dipvlan_main.c306 rx_pkts = u64_stats_read(&pcptr->rx_pkts); in ipvlan_get_stats64()
307 rx_bytes = u64_stats_read(&pcptr->rx_bytes); in ipvlan_get_stats64()
308 rx_mcast = u64_stats_read(&pcptr->rx_mcast); in ipvlan_get_stats64()
309 tx_pkts = u64_stats_read(&pcptr->tx_pkts); in ipvlan_get_stats64()
310 tx_bytes = u64_stats_read(&pcptr->tx_bytes); in ipvlan_get_stats64()
/linux-6.14.4/net/openvswitch/
Dvport.c326 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-6.14.4/net/devlink/
Dtrap.c170 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-6.14.4/drivers/net/can/
Dxilinx_can.c1692 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-6.14.4/net/bridge/
Dbr_vlan.c1395 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()
Dbr_netlink.c1847 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-6.14.4/drivers/net/ethernet/asix/
Dax88796c_main.c666 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()

12