Lines Matching refs:ps
388 struct net_device_stats *ps = &dev->stats; in update_rx_stats() local
390 ps->rx_packets++; in update_rx_stats()
393 ps->rx_errors++; in update_rx_stats()
395 ps->rx_missed_errors++; in update_rx_stats()
397 ps->rx_length_errors++; in update_rx_stats()
399 ps->rx_crc_errors++; in update_rx_stats()
401 ps->rx_bytes += count; in update_rx_stats()
406 struct net_device_stats *ps = &dev->stats; in update_tx_stats() local
408 ps->tx_packets++; in update_tx_stats()
409 ps->tx_bytes += pkt_len; in update_tx_stats()
412 ps->tx_errors++; in update_tx_stats()
413 ps->tx_aborted_errors++; in update_tx_stats()