Searched refs:DEV_STATS_READ (Results 1 – 5 of 5) sorted by relevance
| /linux/drivers/net/ppp/ |
| H A D | ppp_generic.c | 1537 stats64->rx_errors = DEV_STATS_READ(dev, rx_errors); in ppp_get_stats64() 1538 stats64->tx_errors = DEV_STATS_READ(dev, tx_errors); in ppp_get_stats64() 1539 stats64->rx_dropped = DEV_STATS_READ(dev, rx_dropped); in ppp_get_stats64() 1540 stats64->tx_dropped = DEV_STATS_READ(dev, tx_dropped); in ppp_get_stats64() 1541 stats64->rx_length_errors = DEV_STATS_READ(dev, rx_length_errors); in ppp_get_stats64() 3333 st->p.ppp_ierrors = DEV_STATS_READ(dev, rx_errors); in ppp_get_stats() 3334 st->p.ppp_oerrors = DEV_STATS_READ(dev, tx_errors); in ppp_get_stats()
|
| /linux/drivers/net/ipvlan/ |
| H A D | ipvlan_main.c | 385 s->tx_errors = DEV_STATS_READ(dev, tx_errors); in ipvlan_get_stats64()
|
| /linux/drivers/net/ |
| H A D | macsec.c | 3816 s->rx_dropped = DEV_STATS_READ(dev, rx_dropped); in macsec_get_stats64() 3817 s->tx_dropped = DEV_STATS_READ(dev, tx_dropped); in macsec_get_stats64() 3818 s->rx_errors = DEV_STATS_READ(dev, rx_errors); in macsec_get_stats64()
|
| H A D | virtio_net.c | 3709 tot->tx_dropped = DEV_STATS_READ(dev, tx_dropped); in virtnet_stats() 3710 tot->tx_fifo_errors = DEV_STATS_READ(dev, tx_fifo_errors); in virtnet_stats() 3711 tot->rx_length_errors = DEV_STATS_READ(dev, rx_length_errors); in virtnet_stats() 3712 tot->rx_frame_errors = DEV_STATS_READ(dev, rx_frame_errors); in virtnet_stats()
|
| /linux/include/linux/ |
| H A D | netdevice.h | 5780 #define DEV_STATS_READ(DEV, FIELD) atomic_long_read(&(DEV)->stats.__##FIELD) macro
|