Searched refs:DEV_STATS_READ (Results 1 – 3 of 3) sorted by relevance
331 s->tx_errors = DEV_STATS_READ(dev, tx_errors); in ipvlan_get_stats64()
3678 tot->tx_dropped = DEV_STATS_READ(dev, tx_dropped); in virtnet_stats()3679 tot->tx_fifo_errors = DEV_STATS_READ(dev, tx_fifo_errors); in virtnet_stats()3680 tot->rx_length_errors = DEV_STATS_READ(dev, rx_length_errors); in virtnet_stats()3681 tot->rx_frame_errors = DEV_STATS_READ(dev, rx_frame_errors); in virtnet_stats()
5716 #define DEV_STATS_READ(DEV, FIELD) atomic_long_read(&(DEV)->stats.__##FIELD) macro