| /linux-6.15/net/netfilter/ |
| H A D | nft_counter.c | 47 u64_stats_add(&this_cpu->bytes, pkt->skb->len); in nft_counter_do_eval() 120 u64_stats_add(&this_cpu->packets, -total->packets); in nft_counter_reset() 121 u64_stats_add(&this_cpu->bytes, -total->bytes); in nft_counter_reset() 280 u64_stats_add(&this_cpu->packets, stats->pkts); in nft_counter_offload_stats() 281 u64_stats_add(&this_cpu->bytes, stats->bytes); in nft_counter_offload_stats()
|
| H A D | xt_RATEEST.c | 100 u64_stats_add(&stats->bytes, skb->len); in xt_rateest_tg()
|
| /linux-6.15/include/linux/ |
| H A D | u64_stats_sync.h | 87 static inline void u64_stats_add(u64_stats_t *p, unsigned long val) in u64_stats_add() function 128 static inline void u64_stats_add(u64_stats_t *p, unsigned long val) in u64_stats_add() function
|
| H A D | if_macvlan.h | 50 u64_stats_add(&pcpu_stats->rx_bytes, len); in macvlan_count_rx()
|
| H A D | netdevice.h | 2967 u64_stats_add(&tstats->rx_bytes, len); in dev_sw_netstats_rx_add() 2979 u64_stats_add(&tstats->tx_bytes, len); in dev_sw_netstats_tx_add() 2980 u64_stats_add(&tstats->tx_packets, packets); in dev_sw_netstats_tx_add() 2989 u64_stats_add(&lstats->bytes, len); in dev_lstats_add() 3001 u64_stats_add(&dstats->rx_bytes, len); in dev_dstats_rx_add() 3021 u64_stats_add(&dstats->tx_bytes, len); in dev_dstats_tx_add()
|
| /linux-6.15/drivers/net/ethernet/intel/idpf/ |
| H A D | idpf_ethtool.c | 819 u64_stats_add(&pstats->rx_hw_csum_err, hw_csum_err); in idpf_collect_queue_stats() 820 u64_stats_add(&pstats->rx_hsplit, hsplit); in idpf_collect_queue_stats() 821 u64_stats_add(&pstats->rx_hsplit_hbo, hsplit_hbo); in idpf_collect_queue_stats() 822 u64_stats_add(&pstats->rx_bad_descs, bad_descs); in idpf_collect_queue_stats() 850 u64_stats_add(&pstats->tx_linearize, linearize); in idpf_collect_queue_stats() 851 u64_stats_add(&pstats->tx_busy, qbusy); in idpf_collect_queue_stats() 852 u64_stats_add(&pstats->tx_drops, skb_drops); in idpf_collect_queue_stats() 853 u64_stats_add(&pstats->tx_dma_map_errs, dma_map_errs); in idpf_collect_queue_stats()
|
| H A D | idpf_singleq_txrx.c | 513 u64_stats_add(&tx_q->q_stats.packets, ss.packets); in idpf_tx_singleq_clean() 514 u64_stats_add(&tx_q->q_stats.bytes, ss.bytes); in idpf_tx_singleq_clean() 1059 u64_stats_add(&rx_q->q_stats.packets, total_rx_pkts); in idpf_rx_singleq_clean() 1060 u64_stats_add(&rx_q->q_stats.bytes, total_rx_bytes); in idpf_rx_singleq_clean()
|
| /linux-6.15/drivers/net/ |
| H A D | mhi_net.c | 226 u64_stats_add(&mhi_netdev->stats.rx_bytes, skb->len); in mhi_net_dl_callback() 260 u64_stats_add(&mhi_netdev->stats.tx_bytes, mhi_res->bytes_xferd); in mhi_net_ul_callback()
|
| H A D | virtio_net.c | 1230 u64_stats_add(&stats->bytes, len); in xsk_drop_follow_bufs() 1261 u64_stats_add(&stats->bytes, len); in xsk_append_merge_buffer() 1359 u64_stats_add(&stats->bytes, len); in virtnet_receive_xsk_buf() 1519 u64_stats_add(&sq->stats.kicks, kicks); in virtnet_xsk_xmit() 1520 u64_stats_add(&sq->stats.xdp_tx, sent); in virtnet_xsk_xmit() 1703 u64_stats_add(&sq->stats.xdp_tx, n); in virtnet_xdp_xmit() 1705 u64_stats_add(&sq->stats.kicks, kicks); in virtnet_xdp_xmit() 1988 u64_stats_add(&stats->bytes, len); in receive_small() 2061 u64_stats_add(&stats->bytes, len); in mergeable_buf_free() 2171 u64_stats_add(&stats->bytes, len); in virtnet_build_xdp_buff_mrg() [all …]
|
| /linux-6.15/drivers/net/can/ |
| H A D | xilinx_can.c | 1208 u64_stats_add(&priv->ecc_rx_2_bit_errors, in xcan_err_interrupt() 1213 u64_stats_add(&priv->ecc_rx_1_bit_errors, in xcan_err_interrupt() 1218 u64_stats_add(&priv->ecc_txol_2_bit_errors, in xcan_err_interrupt() 1223 u64_stats_add(&priv->ecc_txol_1_bit_errors, in xcan_err_interrupt() 1228 u64_stats_add(&priv->ecc_txtl_2_bit_errors, in xcan_err_interrupt() 1233 u64_stats_add(&priv->ecc_txtl_1_bit_errors, in xcan_err_interrupt()
|
| /linux-6.15/drivers/spi/ |
| H A D | spi-mem.c | 333 u64_stats_add(&stats->bytes, len); in spi_mem_add_op_stats() 339 u64_stats_add(&stats->bytes_tx, op->data.nbytes); in spi_mem_add_op_stats() 341 u64_stats_add(&stats->bytes_rx, op->data.nbytes); in spi_mem_add_op_stats()
|
| /linux-6.15/drivers/net/wwan/ |
| H A D | mhi_wwan_mbim.c | 344 u64_stats_add(&link->rx_bytes, skbn->len); in mhi_mbim_rx() 509 u64_stats_add(&link->tx_bytes, mhi_res->bytes_xferd); in mhi_mbim_ul_callback()
|
| /linux-6.15/drivers/net/ethernet/xilinx/ |
| H A D | xilinx_axienet_main.c | 876 u64_stats_add(&lp->tx_bytes, len); in axienet_dma_tx_cb() 877 u64_stats_add(&lp->tx_packets, 1); in axienet_dma_tx_cb() 1007 u64_stats_add(&lp->tx_packets, packets); in axienet_tx_poll() 1008 u64_stats_add(&lp->tx_bytes, size); in axienet_tx_poll() 1178 u64_stats_add(&lp->rx_packets, 1); in axienet_dma_rx_cb() 1179 u64_stats_add(&lp->rx_bytes, rx_len); in axienet_dma_rx_cb() 1280 u64_stats_add(&lp->rx_packets, packets); in axienet_rx_poll() 1281 u64_stats_add(&lp->rx_bytes, size); in axienet_rx_poll()
|
| /linux-6.15/net/bridge/ |
| H A D | br_vlan.c | 508 u64_stats_add(&stats->tx_bytes, skb->len); in br_handle_vlan() 627 u64_stats_add(&stats->rx_bytes, skb->len); in __allowed_ingress() 1401 u64_stats_add(&stats->rx_packets, rxpackets); in br_vlan_get_stats() 1402 u64_stats_add(&stats->rx_bytes, rxbytes); in br_vlan_get_stats() 1403 u64_stats_add(&stats->tx_bytes, txbytes); in br_vlan_get_stats() 1404 u64_stats_add(&stats->tx_packets, txpackets); in br_vlan_get_stats()
|
| /linux-6.15/net/netfilter/ipvs/ |
| H A D | ip_vs_core.c | 136 u64_stats_add(&s->cnt.inbytes, skb->len); in ip_vs_in_stats() 143 u64_stats_add(&s->cnt.inbytes, skb->len); in ip_vs_in_stats() 149 u64_stats_add(&s->cnt.inbytes, skb->len); in ip_vs_in_stats() 172 u64_stats_add(&s->cnt.outbytes, skb->len); in ip_vs_out_stats() 179 u64_stats_add(&s->cnt.outbytes, skb->len); in ip_vs_out_stats() 185 u64_stats_add(&s->cnt.outbytes, skb->len); in ip_vs_out_stats()
|
| /linux-6.15/net/devlink/ |
| H A D | trap.c | 174 u64_stats_add(&stats->rx_packets, rx_packets); in devlink_trap_stats_read() 175 u64_stats_add(&stats->rx_bytes, rx_bytes); in devlink_trap_stats_read() 1455 u64_stats_add(&stats->rx_bytes, skb_len); in devlink_trap_stats_update()
|
| /linux-6.15/net/8021q/ |
| H A D | vlan_core.c | 67 u64_stats_add(&rx_stats->rx_bytes, skb->len); in vlan_do_receive()
|
| /linux-6.15/include/net/ |
| H A D | sch_generic.h | 857 u64_stats_add(&bstats->bytes, bytes); in _bstats_update() 858 u64_stats_add(&bstats->packets, packets); in _bstats_update()
|
| H A D | ip_tunnels.h | 637 u64_stats_add(&tstats->tx_bytes, pkt_len); in iptunnel_xmit_stats()
|
| /linux-6.15/drivers/net/ethernet/asix/ |
| H A D | ax88796c_main.c | 374 u64_stats_add(&stats->tx_bytes, entry->len); in ax88796c_hard_xmit() 427 u64_stats_add(&stats->rx_bytes, skb->len); in ax88796c_skb_return()
|
| /linux-6.15/drivers/net/ethernet/stmicro/stmmac/ |
| H A D | stmmac_main.c | 2670 u64_stats_add(&txq_stats->napi.tx_set_ic_bit, tx_set_ic_bit); in stmmac_xdp_xmit_zc() 2883 u64_stats_add(&txq_stats->napi.tx_packets, tx_packets); in stmmac_tx_clean() 2884 u64_stats_add(&txq_stats->napi.tx_pkt_n, tx_packets); in stmmac_tx_clean() 4481 u64_stats_add(&txq_stats->q.tx_bytes, skb->len); in stmmac_tso_xmit() 4483 u64_stats_add(&txq_stats->q.tx_tso_nfrags, nfrags); in stmmac_tso_xmit() 4760 u64_stats_add(&txq_stats->q.tx_bytes, skb->len); in stmmac_xmit() 5219 u64_stats_add(&rxq_stats->napi.rx_bytes, len); in stmmac_dispatch_skb_zc() 5457 u64_stats_add(&rxq_stats->napi.rx_pkt_n, count); in stmmac_rx_zc() 5752 u64_stats_add(&rxq_stats->napi.rx_packets, rx_packets); in stmmac_rx() 5753 u64_stats_add(&rxq_stats->napi.rx_bytes, rx_bytes); in stmmac_rx() [all …]
|
| /linux-6.15/include/linux/spi/ |
| H A D | spi.h | 98 u64_stats_add(&__lstats->field, count); \
|
| /linux-6.15/net/core/ |
| H A D | drop_monitor.c | 1457 u64_stats_add(&stats->dropped, dropped); in net_dm_stats_read() 1501 u64_stats_add(&stats->dropped, dropped); in net_dm_hw_stats_read()
|
| /linux-6.15/drivers/net/ethernet/broadcom/asp2/ |
| H A D | bcmasp_intf.c | 466 u64_stats_add(&stats->tx_bytes, txcb->bytes_sent); in bcmasp_tx_reclaim() 590 u64_stats_add(&stats->rx_bytes, len); in bcmasp_rx_poll()
|
| /linux-6.15/drivers/net/usb/ |
| H A D | usbnet.c | 346 u64_stats_add(&stats64->rx_bytes, skb->len); in usbnet_skb_return() 1279 u64_stats_add(&stats64->tx_packets, entry->packets); in tx_complete() 1280 u64_stats_add(&stats64->tx_bytes, entry->length); in tx_complete()
|