Home
last modified time | relevance | path

Searched refs:cpu_stats (Results 1 – 6 of 6) sorted by relevance

/linux-4.1.27/drivers/net/ethernet/tile/
Dtilepro.c2064 struct tile_net_stats_t *cpu_stats; in tile_net_get_stats64() local
2071 cpu_stats = &priv->cpu[i]->stats; in tile_net_get_stats64()
2074 start = u64_stats_fetch_begin_irq(&cpu_stats->syncp); in tile_net_get_stats64()
2075 trx_packets = cpu_stats->rx_packets; in tile_net_get_stats64()
2076 ttx_packets = cpu_stats->tx_packets; in tile_net_get_stats64()
2077 trx_bytes = cpu_stats->rx_bytes; in tile_net_get_stats64()
2078 ttx_bytes = cpu_stats->tx_bytes; in tile_net_get_stats64()
2079 trx_errors = cpu_stats->rx_errors; in tile_net_get_stats64()
2080 trx_dropped = cpu_stats->rx_dropped; in tile_net_get_stats64()
2081 } while (u64_stats_fetch_retry_irq(&cpu_stats->syncp, start)); in tile_net_get_stats64()
/linux-4.1.27/drivers/net/ethernet/marvell/
Dmvneta.c532 struct mvneta_pcpu_stats *cpu_stats; in mvneta_get_stats64() local
538 cpu_stats = per_cpu_ptr(pp->stats, cpu); in mvneta_get_stats64()
540 start = u64_stats_fetch_begin_irq(&cpu_stats->syncp); in mvneta_get_stats64()
541 rx_packets = cpu_stats->rx_packets; in mvneta_get_stats64()
542 rx_bytes = cpu_stats->rx_bytes; in mvneta_get_stats64()
543 tx_packets = cpu_stats->tx_packets; in mvneta_get_stats64()
544 tx_bytes = cpu_stats->tx_bytes; in mvneta_get_stats64()
545 } while (u64_stats_fetch_retry_irq(&cpu_stats->syncp, start)); in mvneta_get_stats64()
Dmvpp2.c5698 struct mvpp2_pcpu_stats *cpu_stats; in mvpp2_get_stats64() local
5704 cpu_stats = per_cpu_ptr(port->stats, cpu); in mvpp2_get_stats64()
5706 start = u64_stats_fetch_begin_irq(&cpu_stats->syncp); in mvpp2_get_stats64()
5707 rx_packets = cpu_stats->rx_packets; in mvpp2_get_stats64()
5708 rx_bytes = cpu_stats->rx_bytes; in mvpp2_get_stats64()
5709 tx_packets = cpu_stats->tx_packets; in mvpp2_get_stats64()
5710 tx_bytes = cpu_stats->tx_bytes; in mvpp2_get_stats64()
5711 } while (u64_stats_fetch_retry_irq(&cpu_stats->syncp, start)); in mvpp2_get_stats64()
/linux-4.1.27/drivers/net/team/
Dteam_mode_loadbalance.c432 struct lb_stats *cpu_stats, in __lb_one_cpu_stats_add() argument
440 tmp.tx_bytes = cpu_stats->tx_bytes; in __lb_one_cpu_stats_add()
/linux-4.1.27/net/netfilter/
Dnf_tables_api.c888 struct nft_stats *cpu_stats, total; in nft_dump_stats() local
896 cpu_stats = per_cpu_ptr(stats, cpu); in nft_dump_stats()
898 seq = u64_stats_fetch_begin_irq(&cpu_stats->syncp); in nft_dump_stats()
899 pkts = cpu_stats->pkts; in nft_dump_stats()
900 bytes = cpu_stats->bytes; in nft_dump_stats()
901 } while (u64_stats_fetch_retry_irq(&cpu_stats->syncp, seq)); in nft_dump_stats()
/linux-4.1.27/kernel/locking/
Dlockdep.c238 struct lock_class_stats *cpu_stats = in clear_lock_stats() local
241 memset(cpu_stats, 0, sizeof(struct lock_class_stats)); in clear_lock_stats()