Searched refs:DEV_STATS_READ (Results 1 – 4 of 4) sorted by relevance
327 s->tx_errors = DEV_STATS_READ(dev, tx_errors); in ipvlan_get_stats64()
2622 tot->tx_dropped = DEV_STATS_READ(dev, tx_dropped); in virtnet_stats()2623 tot->tx_fifo_errors = DEV_STATS_READ(dev, tx_fifo_errors); in virtnet_stats()2624 tot->rx_length_errors = DEV_STATS_READ(dev, rx_length_errors); in virtnet_stats()2625 tot->rx_frame_errors = DEV_STATS_READ(dev, rx_frame_errors); in virtnet_stats()
3668 s->rx_dropped = DEV_STATS_READ(dev, rx_dropped); in macsec_get_stats64()3669 s->tx_dropped = DEV_STATS_READ(dev, tx_dropped); in macsec_get_stats64()3670 s->rx_errors = DEV_STATS_READ(dev, rx_errors); in macsec_get_stats64()
5277 #define DEV_STATS_READ(DEV, FIELD) atomic_long_read(&(DEV)->stats.__##FIELD) macro