Home
last modified time | relevance | path

Searched refs:percpu_stats (Results 1 – 8 of 8) sorted by relevance

/linux/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-eth.c367 struct rtnl_link_stats64 *percpu_stats; in dpaa2_eth_xdp_tx_flush() local
371 percpu_stats = this_cpu_ptr(priv->percpu_stats); in dpaa2_eth_xdp_tx_flush()
377 percpu_stats->tx_packets += enqueued; in dpaa2_eth_xdp_tx_flush()
380 percpu_stats->tx_bytes += dpaa2_fd_get_len(&fds[i]); in dpaa2_eth_xdp_tx_flush()
385 percpu_stats->tx_errors++; in dpaa2_eth_xdp_tx_flush()
539 struct rtnl_link_stats64 *percpu_stats, in dpaa2_eth_receive_skb() argument
570 percpu_stats->rx_packets++; in dpaa2_eth_receive_skb()
571 percpu_stats->rx_bytes += dpaa2_fd_get_len(fd); in dpaa2_eth_receive_skb()
587 struct rtnl_link_stats64 *percpu_stats; in dpaa2_eth_rx() local
604 percpu_stats = this_cpu_ptr(priv->percpu_stats); in dpaa2_eth_rx()
[all …]
H A Ddpaa2-eth-debugfs.c27 stats = per_cpu_ptr(priv->percpu_stats, i); in dpaa2_dbg_cpu_show()
H A Ddpaa2-eth.h590 struct rtnl_link_stats64 __percpu *percpu_stats; member
824 struct rtnl_link_stats64 *percpu_stats,
/linux/tools/testing/selftests/bpf/progs/
H A Dbloom_filter_bench.c50 } __attribute__((__aligned__(256))) percpu_stats[256]; variable
67 percpu_stats[cpu & 255].stats[key]++; in log_result()
/linux/mm/
H A Dpercpu-internal.h169 struct percpu_stats { struct
180 extern struct percpu_stats pcpu_stats; argument
H A Dpercpu-stats.c22 struct percpu_stats pcpu_stats;
225 DEFINE_SHOW_ATTRIBUTE(percpu_stats);
/linux/tools/testing/selftests/bpf/benchs/
H A Dbench_bloom_filter_map.c408 struct stat *s = (void *)&ctx.skel->bss->percpu_stats[i]; in measure()
/linux/net/openvswitch/
H A Ddatapath.c735 const struct dp_stats_percpu *percpu_stats; in get_dp_stats() local
739 percpu_stats = per_cpu_ptr(dp->stats_percpu, i); in get_dp_stats()
742 start = u64_stats_fetch_begin(&percpu_stats->syncp); in get_dp_stats()
743 local_stats = *percpu_stats; in get_dp_stats()
744 } while (u64_stats_fetch_retry(&percpu_stats->syncp, start)); in get_dp_stats()