Home
last modified time | relevance | path

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

12

/Linux-v6.6/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.c1451 dropped = u64_stats_read(&cpu_stats->dropped); in net_dm_stats_read()
1470 u64_stats_read(&stats.dropped), NET_DM_ATTR_PAD)) in net_dm_stats_put()
1495 dropped = u64_stats_read(&cpu_stats->dropped); in net_dm_hw_stats_read()
1514 u64_stats_read(&stats.dropped), NET_DM_ATTR_PAD)) in net_dm_hw_stats_put()
/Linux-v6.6/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.c979 rx_packets = u64_stats_read(&p->rx_packets); in macvlan_dev_get_stats64()
980 rx_bytes = u64_stats_read(&p->rx_bytes); in macvlan_dev_get_stats64()
981 rx_multicast = u64_stats_read(&p->rx_multicast); in macvlan_dev_get_stats64()
982 tx_packets = u64_stats_read(&p->tx_packets); in macvlan_dev_get_stats64()
983 tx_bytes = u64_stats_read(&p->tx_bytes); in macvlan_dev_get_stats64()
/Linux-v6.6/drivers/net/wwan/
Dmhi_wwan_mbim.c460 stats->rx_packets = u64_stats_read(&link->rx_packets); in mhi_mbim_ndo_get_stats64()
461 stats->rx_bytes = u64_stats_read(&link->rx_bytes); in mhi_mbim_ndo_get_stats64()
462 stats->rx_errors = u64_stats_read(&link->rx_errors); in mhi_mbim_ndo_get_stats64()
467 stats->tx_packets = u64_stats_read(&link->tx_packets); in mhi_mbim_ndo_get_stats64()
468 stats->tx_bytes = u64_stats_read(&link->tx_bytes); in mhi_mbim_ndo_get_stats64()
469 stats->tx_errors = u64_stats_read(&link->tx_errors); in mhi_mbim_ndo_get_stats64()
470 stats->tx_dropped = u64_stats_read(&link->tx_dropped); in mhi_mbim_ndo_get_stats64()
/Linux-v6.6/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-v6.6/net/netfilter/ipvs/
Dip_vs_est.c100 conns = u64_stats_read(&c->cnt.conns); in ip_vs_chain_estimation()
101 inpkts = u64_stats_read(&c->cnt.inpkts); in ip_vs_chain_estimation()
102 outpkts = u64_stats_read(&c->cnt.outpkts); in ip_vs_chain_estimation()
103 inbytes = u64_stats_read(&c->cnt.inbytes); in ip_vs_chain_estimation()
104 outbytes = u64_stats_read(&c->cnt.outbytes); in ip_vs_chain_estimation()
Dip_vs_ctl.c2535 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-v6.6/drivers/net/ethernet/broadcom/asp2/
Dbcmasp_intf.c1155 stats->rx_packets = u64_stats_read(&lstats->rx_packets); in bcmasp_get_stats64()
1156 stats->rx_bytes = u64_stats_read(&lstats->rx_bytes); in bcmasp_get_stats64()
1157 stats->rx_dropped = u64_stats_read(&lstats->rx_dropped); in bcmasp_get_stats64()
1158 stats->rx_crc_errors = u64_stats_read(&lstats->rx_crc_errs); in bcmasp_get_stats64()
1159 stats->rx_frame_errors = u64_stats_read(&lstats->rx_sym_errs); in bcmasp_get_stats64()
1162 stats->tx_packets = u64_stats_read(&lstats->tx_packets); in bcmasp_get_stats64()
1163 stats->tx_bytes = u64_stats_read(&lstats->tx_bytes); in bcmasp_get_stats64()
/Linux-v6.6/drivers/net/ipvlan/
Dipvlan_main.c305 rx_pkts = u64_stats_read(&pcptr->rx_pkts); in ipvlan_get_stats64()
306 rx_bytes = u64_stats_read(&pcptr->rx_bytes); in ipvlan_get_stats64()
307 rx_mcast = u64_stats_read(&pcptr->rx_mcast); in ipvlan_get_stats64()
308 tx_pkts = u64_stats_read(&pcptr->tx_pkts); in ipvlan_get_stats64()
309 tx_bytes = u64_stats_read(&pcptr->tx_bytes); in ipvlan_get_stats64()
/Linux-v6.6/net/sched/
Dsch_htb.c1316 bytes += u64_stats_read(&c->bstats_bias.bytes); in htb_offload_aggregate_stats()
1317 packets += u64_stats_read(&c->bstats_bias.packets); in htb_offload_aggregate_stats()
1319 bytes += u64_stats_read(&c->leaf.q->bstats.bytes); in htb_offload_aggregate_stats()
1320 packets += u64_stats_read(&c->leaf.q->bstats.packets); in htb_offload_aggregate_stats()
1353 u64_stats_read(&cl->bstats_bias.bytes), in htb_dump_class_stats()
1354 u64_stats_read(&cl->bstats_bias.packets)); in htb_dump_class_stats()
1576 u64_stats_read(&q->bstats.bytes), in htb_destroy_class_offload()
1577 u64_stats_read(&q->bstats.packets)); in htb_destroy_class_offload()
1943 u64_stats_read(&old_q->bstats.bytes), in htb_change_class()
1944 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-v6.6/net/8021q/
Dvlan_dev.c735 rxpackets = u64_stats_read(&p->rx_packets); in vlan_dev_get_stats64()
736 rxbytes = u64_stats_read(&p->rx_bytes); in vlan_dev_get_stats64()
737 rxmulticast = u64_stats_read(&p->rx_multicast); in vlan_dev_get_stats64()
738 txpackets = u64_stats_read(&p->tx_packets); in vlan_dev_get_stats64()
739 txbytes = u64_stats_read(&p->tx_bytes); in vlan_dev_get_stats64()
/Linux-v6.6/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-v6.6/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()
198 u64_stats_read(&stats.rx_bytes), in devlink_trap_group_stats_put()
239 u64_stats_read(&stats.rx_packets), in devlink_trap_stats_put()
244 u64_stats_read(&stats.rx_bytes), in devlink_trap_stats_put()
/Linux-v6.6/net/bridge/
Dbr_vlan.c1393 rxpackets = u64_stats_read(&cpu_stats->rx_packets); in br_vlan_get_stats()
1394 rxbytes = u64_stats_read(&cpu_stats->rx_bytes); in br_vlan_get_stats()
1395 txbytes = u64_stats_read(&cpu_stats->tx_bytes); in br_vlan_get_stats()
1396 txpackets = u64_stats_read(&cpu_stats->tx_packets); in br_vlan_get_stats()
1794 u64_stats_read(&stats.rx_bytes), in br_vlan_stats_fill()
1797 u64_stats_read(&stats.rx_packets), in br_vlan_stats_fill()
1800 u64_stats_read(&stats.tx_bytes), in br_vlan_stats_fill()
1803 u64_stats_read(&stats.tx_packets), in br_vlan_stats_fill()
Dbr_netlink.c1831 vxi.rx_bytes = u64_stats_read(&stats.rx_bytes); in br_fill_linkxstats()
1832 vxi.rx_packets = u64_stats_read(&stats.rx_packets); in br_fill_linkxstats()
1833 vxi.tx_bytes = u64_stats_read(&stats.tx_bytes); in br_fill_linkxstats()
1834 vxi.tx_packets = u64_stats_read(&stats.tx_packets); in br_fill_linkxstats()
/Linux-v6.6/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()
/Linux-v6.6/drivers/net/ethernet/xilinx/
Dxilinx_axienet_main.c1310 stats->rx_packets = u64_stats_read(&lp->rx_packets); in axienet_get_stats64()
1311 stats->rx_bytes = u64_stats_read(&lp->rx_bytes); in axienet_get_stats64()
1316 stats->tx_packets = u64_stats_read(&lp->tx_packets); in axienet_get_stats64()
1317 stats->tx_bytes = u64_stats_read(&lp->tx_bytes); in axienet_get_stats64()
/Linux-v6.6/drivers/net/team/
Dteam.c1858 rx_packets = u64_stats_read(&p->rx_packets); in team_get_stats64()
1859 rx_bytes = u64_stats_read(&p->rx_bytes); in team_get_stats64()
1860 rx_multicast = u64_stats_read(&p->rx_multicast); in team_get_stats64()
1861 tx_packets = u64_stats_read(&p->tx_packets); in team_get_stats64()
1862 tx_bytes = u64_stats_read(&p->tx_bytes); in team_get_stats64()
/Linux-v6.6/net/ipv6/
Dseg6_local.c2037 packets = u64_stats_read(&pcounters->packets); in put_nla_counters()
2038 bytes = u64_stats_read(&pcounters->bytes); in put_nla_counters()
2039 errors = u64_stats_read(&pcounters->errors); in put_nla_counters()
/Linux-v6.6/net/dsa/
Dslave.c1089 tx_packets = u64_stats_read(&s->tx_packets); in dsa_slave_get_ethtool_stats()
1090 tx_bytes = u64_stats_read(&s->tx_bytes); in dsa_slave_get_ethtool_stats()
1091 rx_packets = u64_stats_read(&s->rx_packets); in dsa_slave_get_ethtool_stats()
1092 rx_bytes = u64_stats_read(&s->rx_bytes); in dsa_slave_get_ethtool_stats()

12