Searched refs:percpu_stats (Results 1 – 10 of 10) sorted by relevance
/linux-6.3-rc2/drivers/net/ethernet/freescale/dpaa2/ |
A D | dpaa2-xsk.c | 110 struct rtnl_link_stats64 *percpu_stats; in dpaa2_xsk_rx() local 119 percpu_stats = this_cpu_ptr(priv->percpu_stats); in dpaa2_xsk_rx() 129 percpu_stats->rx_packets++; in dpaa2_xsk_rx() 130 percpu_stats->rx_bytes += dpaa2_fd_get_len(fd); in dpaa2_xsk_rx() 143 dpaa2_eth_receive_skb(priv, ch, fd, vaddr, fq, percpu_stats, skb); in dpaa2_xsk_rx() 150 percpu_stats->rx_dropped++; in dpaa2_xsk_rx() 395 struct rtnl_link_stats64 *percpu_stats; in dpaa2_xsk_tx() local 403 percpu_stats = this_cpu_ptr(priv->percpu_stats); in dpaa2_xsk_tx() 443 percpu_stats->tx_packets += total_enqueued; in dpaa2_xsk_tx() 445 percpu_stats->tx_bytes += dpaa2_fd_get_len(&fds[i]); in dpaa2_xsk_tx() [all …]
|
A D | dpaa2-eth.c | 371 percpu_stats = this_cpu_ptr(priv->percpu_stats); in dpaa2_eth_xdp_tx_flush() 385 percpu_stats->tx_errors++; in dpaa2_eth_xdp_tx_flush() 572 percpu_stats->rx_packets++; in dpaa2_eth_receive_skb() 605 percpu_stats = this_cpu_ptr(priv->percpu_stats); in dpaa2_eth_rx() 695 percpu_stats = this_cpu_ptr(priv->percpu_stats); in dpaa2_eth_rx_err() 696 percpu_stats->rx_errors++; in dpaa2_eth_rx_err() 1411 percpu_stats = this_cpu_ptr(priv->percpu_stats); in __dpaa2_eth_tx() 1606 percpu_stats = this_cpu_ptr(priv->percpu_stats); in dpaa2_eth_tx_conf() 2374 percpu_stats = per_cpu_ptr(priv->percpu_stats, i); in dpaa2_eth_get_stats() 2873 percpu_stats = this_cpu_ptr(priv->percpu_stats); in dpaa2_eth_xdp_xmit() [all …]
|
A D | dpaa2-eth-debugfs.c | 27 stats = per_cpu_ptr(priv->percpu_stats, i); in dpaa2_dbg_cpu_show()
|
A D | dpaa2-eth.h | 589 struct rtnl_link_stats64 __percpu *percpu_stats; member 823 struct rtnl_link_stats64 *percpu_stats,
|
/linux-6.3-rc2/tools/testing/selftests/bpf/progs/ |
A D | bloom_filter_bench.c | 50 } __attribute__((__aligned__(256))) percpu_stats[256]; variable 67 percpu_stats[cpu & 255].stats[key]++; in log_result()
|
/linux-6.3-rc2/mm/ |
A D | percpu-internal.h | 140 struct percpu_stats { struct 151 extern struct percpu_stats pcpu_stats; argument
|
A D | percpu-stats.c | 22 struct percpu_stats pcpu_stats; 225 DEFINE_SHOW_ATTRIBUTE(percpu_stats);
|
/linux-6.3-rc2/drivers/net/ethernet/freescale/dpaa/ |
A D | dpaa_eth.c | 2112 percpu_stats->tx_fifo_errors++; in dpaa_xmit() 2116 percpu_stats->tx_packets++; in dpaa_xmit() 2294 percpu_stats = &percpu_priv->stats; in dpaa_start_xmit() 2360 percpu_stats->tx_errors++; in dpaa_start_xmit() 2511 percpu_stats = &percpu_priv->stats; in dpaa_xdp_xmit_frame() 2566 percpu_stats->tx_errors++; in dpaa_xdp_xmit_frame() 2720 percpu_stats->rx_errors++; in rx_default_dqrr() 2762 percpu_stats->rx_packets++; in rx_default_dqrr() 2808 percpu_stats->rx_dropped++; in rx_default_dqrr() 2812 percpu_stats->rx_packets++; in rx_default_dqrr() [all …]
|
/linux-6.3-rc2/net/openvswitch/ |
A D | datapath.c | 737 const struct dp_stats_percpu *percpu_stats; in get_dp_stats() local 741 percpu_stats = per_cpu_ptr(dp->stats_percpu, i); in get_dp_stats() 744 start = u64_stats_fetch_begin(&percpu_stats->syncp); in get_dp_stats() 745 local_stats = *percpu_stats; in get_dp_stats() 746 } while (u64_stats_fetch_retry(&percpu_stats->syncp, start)); in get_dp_stats()
|
/linux-6.3-rc2/tools/testing/selftests/bpf/benchs/ |
A D | bench_bloom_filter_map.c | 408 struct stat *s = (void *)&ctx.skel->bss->percpu_stats[i]; in measure()
|
Completed in 44 milliseconds