Lines Matching defs:stat

58 #include <sys/stat.h>
561 atge_l1c_smb_t *stat;
569 stat = (atge_l1c_smb_t *)atgep->atge_hw_stats;
573 stat->rx_frames += smb->rx_frames;
574 stat->rx_bcast_frames += smb->rx_bcast_frames;
575 stat->rx_mcast_frames += smb->rx_mcast_frames;
576 stat->rx_pause_frames += smb->rx_pause_frames;
577 stat->rx_control_frames += smb->rx_control_frames;
578 stat->rx_crcerrs += smb->rx_crcerrs;
579 stat->rx_lenerrs += smb->rx_lenerrs;
580 stat->rx_bytes += smb->rx_bytes;
581 stat->rx_runts += smb->rx_runts;
582 stat->rx_fragments += smb->rx_fragments;
583 stat->rx_pkts_64 += smb->rx_pkts_64;
584 stat->rx_pkts_65_127 += smb->rx_pkts_65_127;
585 stat->rx_pkts_128_255 += smb->rx_pkts_128_255;
586 stat->rx_pkts_256_511 += smb->rx_pkts_256_511;
587 stat->rx_pkts_512_1023 += smb->rx_pkts_512_1023;
588 stat->rx_pkts_1024_1518 += smb->rx_pkts_1024_1518;
589 stat->rx_pkts_1519_max += smb->rx_pkts_1519_max;
590 stat->rx_pkts_truncated += smb->rx_pkts_truncated;
591 stat->rx_fifo_oflows += smb->rx_fifo_oflows;
592 stat->rx_alignerrs += smb->rx_alignerrs;
593 stat->rx_bcast_bytes += smb->rx_bcast_bytes;
594 stat->rx_mcast_bytes += smb->rx_mcast_bytes;
595 stat->rx_pkts_filtered += smb->rx_pkts_filtered;
598 stat->tx_frames += smb->tx_frames;
599 stat->tx_bcast_frames += smb->tx_bcast_frames;
600 stat->tx_mcast_frames += smb->tx_mcast_frames;
601 stat->tx_pause_frames += smb->tx_pause_frames;
602 stat->tx_excess_defer += smb->tx_excess_defer;
603 stat->tx_control_frames += smb->tx_control_frames;
604 stat->tx_deferred += smb->tx_deferred;
605 stat->tx_bytes += smb->tx_bytes;
606 stat->tx_pkts_64 += smb->tx_pkts_64;
607 stat->tx_pkts_65_127 += smb->tx_pkts_65_127;
608 stat->tx_pkts_128_255 += smb->tx_pkts_128_255;
609 stat->tx_pkts_256_511 += smb->tx_pkts_256_511;
610 stat->tx_pkts_512_1023 += smb->tx_pkts_512_1023;
611 stat->tx_pkts_1024_1518 += smb->tx_pkts_1024_1518;
612 stat->tx_pkts_1519_max += smb->tx_pkts_1519_max;
613 stat->tx_single_colls += smb->tx_single_colls;
614 stat->tx_multi_colls += smb->tx_multi_colls;
615 stat->tx_late_colls += smb->tx_late_colls;
616 stat->tx_excess_colls += smb->tx_excess_colls;
617 stat->tx_underrun += smb->tx_underrun;
618 stat->tx_desc_underrun += smb->tx_desc_underrun;
619 stat->tx_lenerrs += smb->tx_lenerrs;
620 stat->tx_pkts_truncated += smb->tx_pkts_truncated;
621 stat->tx_bcast_bytes += smb->tx_bcast_bytes;
622 stat->tx_mcast_bytes += smb->tx_mcast_bytes;