stats 404 altq/altq_cbq.c class_stats_t stats; stats 413 altq/altq_cbq.c if (*nbytes < sizeof(stats)) stats 416 altq/altq_cbq.c get_class_stats(&stats, cl); stats 418 altq/altq_cbq.c if ((error = copyout((caddr_t)&stats, ubuf, sizeof(stats))) != 0) stats 420 altq/altq_cbq.c *nbytes = sizeof(stats); stats 259 altq/altq_hfsc.c struct hfsc_classstats stats; stats 268 altq/altq_hfsc.c if (*nbytes < sizeof(stats)) stats 271 altq/altq_hfsc.c get_class_stats(&stats, cl); stats 273 altq/altq_hfsc.c if ((error = copyout((caddr_t)&stats, ubuf, sizeof(stats))) != 0) stats 275 altq/altq_hfsc.c *nbytes = sizeof(stats); stats 173 altq/altq_priq.c struct priq_classstats stats; stats 182 altq/altq_priq.c if (*nbytes < sizeof(stats)) stats 185 altq/altq_priq.c get_class_stats(&stats, cl); stats 187 altq/altq_priq.c if ((error = copyout((caddr_t)&stats, ubuf, sizeof(stats))) != 0) stats 189 altq/altq_priq.c *nbytes = sizeof(stats); stats 1212 dev/ic/acx.c struct acx_stats *stats = &sc->sc_stats; stats 1233 dev/ic/acx.c stats->err_oth_frag++; stats 1238 dev/ic/acx.c stats->err_abort++; stats 1242 dev/ic/acx.c stats->err_param++; stats 1246 dev/ic/acx.c stats->err_no_wepkey++; stats 1250 dev/ic/acx.c stats->err_msdu_timeout++; stats 1259 dev/ic/acx.c stats->err_ex_retry++; stats 1263 dev/ic/acx.c stats->err_buf_oflow++; stats 1267 dev/ic/acx.c stats->err_dma++; stats 1271 dev/ic/acx.c stats->err_unkn++; stats 927 dev/ic/aic6915.c struct sf_stats stats; stats 932 dev/ic/aic6915.c p = &stats.TransmitOKFrames; stats 933 dev/ic/aic6915.c for (i = 0; i < (sizeof(stats) / sizeof(uint32_t)); i++) { stats 939 dev/ic/aic6915.c ifp->if_opackets += stats.TransmitOKFrames; stats 941 dev/ic/aic6915.c ifp->if_collisions += stats.SingleCollisionFrames + stats 942 dev/ic/aic6915.c stats.MultipleCollisionFrames; stats 944 dev/ic/aic6915.c ifp->if_oerrors += stats.TransmitAbortDueToExcessiveCollisions + stats 945 dev/ic/aic6915.c stats.TransmitAbortDueToExcessingDeferral + stats 946 dev/ic/aic6915.c stats.FramesLostDueToInternalTransmitErrors; stats 948 dev/ic/aic6915.c ifp->if_ipackets += stats.ReceiveOKFrames; stats 950 dev/ic/aic6915.c ifp->if_ierrors += stats.ReceiveCRCErrors + stats.AlignmentErrors + stats 951 dev/ic/aic6915.c stats.ReceiveFramesTooLong + stats.ReceiveFramesTooShort + stats 952 dev/ic/aic6915.c stats.ReceiveFramesJabbersError + stats 953 dev/ic/aic6915.c stats.FramesLostDueToInternalReceiveErrors; stats 286 dev/ic/ami.c const u_int8_t *props, const u_int8_t *stats) stats 295 dev/ic/ami.c sc->sc_hdr[i].hd_stat = stats[i]; stats 972 dev/ic/fxp.c struct fxp_stats *sp = &sc->sc_ctrl->stats; stats 1205 dev/ic/fxp.c offsetof(struct fxp_ctrl, stats)); stats 98 dev/ic/fxpvar.h struct fxp_stats stats; stats 190 dev/ic/fxpvar.h offsetof(struct fxp_ctrl, stats), sizeof(struct fxp_stats), (p)) stats 2568 dev/pci/if_bge.c struct bge_mac_stats_regs stats; stats 2575 dev/pci/if_bge.c s = (u_int32_t *)&stats; stats 2581 dev/pci/if_bge.c cnt = stats.dot3StatsSingleCollisionFrames + stats 2582 dev/pci/if_bge.c stats.dot3StatsMultipleCollisionFrames + stats 2583 dev/pci/if_bge.c stats.dot3StatsExcessiveCollisions + stats 2584 dev/pci/if_bge.c stats.dot3StatsLateCollisions; stats 2594 dev/pci/if_bge.c bus_size_t stats = BGE_MEMWIN_START + BGE_STATS_BLOCK; stats 2597 dev/pci/if_bge.c #define READ_STAT(sc, stats, stat) \ stats 2598 dev/pci/if_bge.c CSR_READ_4(sc, stats + offsetof(struct bge_stats, stat)) stats 2600 dev/pci/if_bge.c cnt = READ_STAT(sc, stats, stats 2602 dev/pci/if_bge.c cnt += READ_STAT(sc, stats, stats 2604 dev/pci/if_bge.c cnt += READ_STAT(sc, stats, stats 2606 dev/pci/if_bge.c cnt += READ_STAT(sc, stats, stats 2612 dev/pci/if_bge.c cnt = READ_STAT(sc, stats, ifInDiscards.bge_addr_lo); stats 2617 dev/pci/if_bge.c cnt = READ_STAT(sc, stats, txstats.ifOutDiscards.bge_addr_lo); stats 4864 dev/pci/if_bnx.c struct statistics_block *stats; stats 4868 dev/pci/if_bnx.c stats = (struct statistics_block *)sc->stats_block; stats 4874 dev/pci/if_bnx.c ifp->if_collisions = (u_long)stats->stat_EtherStatsCollisions; stats 4876 dev/pci/if_bnx.c ifp->if_ierrors = (u_long)stats->stat_EtherStatsUndersizePkts + stats 4877 dev/pci/if_bnx.c (u_long)stats->stat_EtherStatsOverrsizePkts + stats 4878 dev/pci/if_bnx.c (u_long)stats->stat_IfInMBUFDiscards + stats 4879 dev/pci/if_bnx.c (u_long)stats->stat_Dot3StatsAlignmentErrors + stats 4880 dev/pci/if_bnx.c (u_long)stats->stat_Dot3StatsFCSErrors; stats 4883 dev/pci/if_bnx.c stats->stat_emac_tx_stat_dot3statsinternalmactransmiterrors + stats 4884 dev/pci/if_bnx.c (u_long)stats->stat_Dot3StatsExcessiveCollisions + stats 4885 dev/pci/if_bnx.c (u_long)stats->stat_Dot3StatsLateCollisions; stats 4894 dev/pci/if_bnx.c ifp->if_oerrors += (u_long) stats->stat_Dot3StatsCarrierSenseErrors; stats 4900 dev/pci/if_bnx.c sc->stat_IfHCInOctets = ((u_int64_t)stats->stat_IfHCInOctets_hi << 32) + stats 4901 dev/pci/if_bnx.c (u_int64_t) stats->stat_IfHCInOctets_lo; stats 4904 dev/pci/if_bnx.c ((u_int64_t) stats->stat_IfHCInBadOctets_hi << 32) + stats 4905 dev/pci/if_bnx.c (u_int64_t) stats->stat_IfHCInBadOctets_lo; stats 4908 dev/pci/if_bnx.c ((u_int64_t) stats->stat_IfHCOutOctets_hi << 32) + stats 4909 dev/pci/if_bnx.c (u_int64_t) stats->stat_IfHCOutOctets_lo; stats 4912 dev/pci/if_bnx.c ((u_int64_t) stats->stat_IfHCOutBadOctets_hi << 32) + stats 4913 dev/pci/if_bnx.c (u_int64_t) stats->stat_IfHCOutBadOctets_lo; stats 4916 dev/pci/if_bnx.c ((u_int64_t) stats->stat_IfHCInUcastPkts_hi << 32) + stats 4917 dev/pci/if_bnx.c (u_int64_t) stats->stat_IfHCInUcastPkts_lo; stats 4920 dev/pci/if_bnx.c ((u_int64_t) stats->stat_IfHCInMulticastPkts_hi << 32) + stats 4921 dev/pci/if_bnx.c (u_int64_t) stats->stat_IfHCInMulticastPkts_lo; stats 4924 dev/pci/if_bnx.c ((u_int64_t) stats->stat_IfHCInBroadcastPkts_hi << 32) + stats 4925 dev/pci/if_bnx.c (u_int64_t) stats->stat_IfHCInBroadcastPkts_lo; stats 4928 dev/pci/if_bnx.c ((u_int64_t) stats->stat_IfHCOutUcastPkts_hi << 32) + stats 4929 dev/pci/if_bnx.c (u_int64_t) stats->stat_IfHCOutUcastPkts_lo; stats 4932 dev/pci/if_bnx.c ((u_int64_t) stats->stat_IfHCOutMulticastPkts_hi << 32) + stats 4933 dev/pci/if_bnx.c (u_int64_t) stats->stat_IfHCOutMulticastPkts_lo; stats 4936 dev/pci/if_bnx.c ((u_int64_t) stats->stat_IfHCOutBroadcastPkts_hi << 32) + stats 4937 dev/pci/if_bnx.c (u_int64_t) stats->stat_IfHCOutBroadcastPkts_lo; stats 4940 dev/pci/if_bnx.c stats->stat_emac_tx_stat_dot3statsinternalmactransmiterrors; stats 4943 dev/pci/if_bnx.c stats->stat_Dot3StatsCarrierSenseErrors; stats 4945 dev/pci/if_bnx.c sc->stat_Dot3StatsFCSErrors = stats->stat_Dot3StatsFCSErrors; stats 4948 dev/pci/if_bnx.c stats->stat_Dot3StatsAlignmentErrors; stats 4951 dev/pci/if_bnx.c stats->stat_Dot3StatsSingleCollisionFrames; stats 4954 dev/pci/if_bnx.c stats->stat_Dot3StatsMultipleCollisionFrames; stats 4957 dev/pci/if_bnx.c stats->stat_Dot3StatsDeferredTransmissions; stats 4960 dev/pci/if_bnx.c stats->stat_Dot3StatsExcessiveCollisions; stats 4962 dev/pci/if_bnx.c sc->stat_Dot3StatsLateCollisions = stats->stat_Dot3StatsLateCollisions; stats 4964 dev/pci/if_bnx.c sc->stat_EtherStatsCollisions = stats->stat_EtherStatsCollisions; stats 4966 dev/pci/if_bnx.c sc->stat_EtherStatsFragments = stats->stat_EtherStatsFragments; stats 4968 dev/pci/if_bnx.c sc->stat_EtherStatsJabbers = stats->stat_EtherStatsJabbers; stats 4970 dev/pci/if_bnx.c sc->stat_EtherStatsUndersizePkts = stats->stat_EtherStatsUndersizePkts; stats 4972 dev/pci/if_bnx.c sc->stat_EtherStatsOverrsizePkts = stats->stat_EtherStatsOverrsizePkts; stats 4975 dev/pci/if_bnx.c stats->stat_EtherStatsPktsRx64Octets; stats 4978 dev/pci/if_bnx.c stats->stat_EtherStatsPktsRx65Octetsto127Octets; stats 4981 dev/pci/if_bnx.c stats->stat_EtherStatsPktsRx128Octetsto255Octets; stats 4984 dev/pci/if_bnx.c stats->stat_EtherStatsPktsRx256Octetsto511Octets; stats 4987 dev/pci/if_bnx.c stats->stat_EtherStatsPktsRx512Octetsto1023Octets; stats 4990 dev/pci/if_bnx.c stats->stat_EtherStatsPktsRx1024Octetsto1522Octets; stats 4993 dev/pci/if_bnx.c stats->stat_EtherStatsPktsRx1523Octetsto9022Octets; stats 4996 dev/pci/if_bnx.c stats->stat_EtherStatsPktsTx64Octets; stats 4999 dev/pci/if_bnx.c stats->stat_EtherStatsPktsTx65Octetsto127Octets; stats 5002 dev/pci/if_bnx.c stats->stat_EtherStatsPktsTx128Octetsto255Octets; stats 5005 dev/pci/if_bnx.c stats->stat_EtherStatsPktsTx256Octetsto511Octets; stats 5008 dev/pci/if_bnx.c stats->stat_EtherStatsPktsTx512Octetsto1023Octets; stats 5011 dev/pci/if_bnx.c stats->stat_EtherStatsPktsTx1024Octetsto1522Octets; stats 5014 dev/pci/if_bnx.c stats->stat_EtherStatsPktsTx1523Octetsto9022Octets; stats 5016 dev/pci/if_bnx.c sc->stat_XonPauseFramesReceived = stats->stat_XonPauseFramesReceived; stats 5018 dev/pci/if_bnx.c sc->stat_XoffPauseFramesReceived = stats->stat_XoffPauseFramesReceived; stats 5020 dev/pci/if_bnx.c sc->stat_OutXonSent = stats->stat_OutXonSent; stats 5022 dev/pci/if_bnx.c sc->stat_OutXoffSent = stats->stat_OutXoffSent; stats 5024 dev/pci/if_bnx.c sc->stat_FlowControlDone = stats->stat_FlowControlDone; stats 5027 dev/pci/if_bnx.c stats->stat_MacControlFramesReceived; stats 5029 dev/pci/if_bnx.c sc->stat_XoffStateEntered = stats->stat_XoffStateEntered; stats 5032 dev/pci/if_bnx.c stats->stat_IfInFramesL2FilterDiscards; stats 5034 dev/pci/if_bnx.c sc->stat_IfInRuleCheckerDiscards = stats->stat_IfInRuleCheckerDiscards; stats 5036 dev/pci/if_bnx.c sc->stat_IfInFTQDiscards = stats->stat_IfInFTQDiscards; stats 5038 dev/pci/if_bnx.c sc->stat_IfInMBUFDiscards = stats->stat_IfInMBUFDiscards; stats 5040 dev/pci/if_bnx.c sc->stat_IfInRuleCheckerP4Hit = stats->stat_IfInRuleCheckerP4Hit; stats 5043 dev/pci/if_bnx.c stats->stat_CatchupInRuleCheckerDiscards; stats 5045 dev/pci/if_bnx.c sc->stat_CatchupInFTQDiscards = stats->stat_CatchupInFTQDiscards; stats 5047 dev/pci/if_bnx.c sc->stat_CatchupInMBUFDiscards = stats->stat_CatchupInMBUFDiscards; stats 5050 dev/pci/if_bnx.c stats->stat_CatchupInRuleCheckerP4Hit; stats 674 dev/pci/if_bnxreg.h #define BNX_STATS(x) (u_long) stats->stat_ ## x ## _lo stats 2555 dev/pci/if_em.c &sc->stats, stats 2899 dev/pci/if_em.c sc->stats.symerrs += E1000_READ_REG(&sc->hw, SYMERRS); stats 2900 dev/pci/if_em.c sc->stats.sec += E1000_READ_REG(&sc->hw, SEC); stats 2902 dev/pci/if_em.c sc->stats.crcerrs += E1000_READ_REG(&sc->hw, CRCERRS); stats 2903 dev/pci/if_em.c sc->stats.mpc += E1000_READ_REG(&sc->hw, MPC); stats 2904 dev/pci/if_em.c sc->stats.scc += E1000_READ_REG(&sc->hw, SCC); stats 2905 dev/pci/if_em.c sc->stats.ecol += E1000_READ_REG(&sc->hw, ECOL); stats 2907 dev/pci/if_em.c sc->stats.mcc += E1000_READ_REG(&sc->hw, MCC); stats 2908 dev/pci/if_em.c sc->stats.latecol += E1000_READ_REG(&sc->hw, LATECOL); stats 2909 dev/pci/if_em.c sc->stats.colc += E1000_READ_REG(&sc->hw, COLC); stats 2910 dev/pci/if_em.c sc->stats.dc += E1000_READ_REG(&sc->hw, DC); stats 2911 dev/pci/if_em.c sc->stats.rlec += E1000_READ_REG(&sc->hw, RLEC); stats 2912 dev/pci/if_em.c sc->stats.xonrxc += E1000_READ_REG(&sc->hw, XONRXC); stats 2913 dev/pci/if_em.c sc->stats.xontxc += E1000_READ_REG(&sc->hw, XONTXC); stats 2914 dev/pci/if_em.c sc->stats.xoffrxc += E1000_READ_REG(&sc->hw, XOFFRXC); stats 2915 dev/pci/if_em.c sc->stats.xofftxc += E1000_READ_REG(&sc->hw, XOFFTXC); stats 2916 dev/pci/if_em.c sc->stats.fcruc += E1000_READ_REG(&sc->hw, FCRUC); stats 2917 dev/pci/if_em.c sc->stats.prc64 += E1000_READ_REG(&sc->hw, PRC64); stats 2918 dev/pci/if_em.c sc->stats.prc127 += E1000_READ_REG(&sc->hw, PRC127); stats 2919 dev/pci/if_em.c sc->stats.prc255 += E1000_READ_REG(&sc->hw, PRC255); stats 2920 dev/pci/if_em.c sc->stats.prc511 += E1000_READ_REG(&sc->hw, PRC511); stats 2921 dev/pci/if_em.c sc->stats.prc1023 += E1000_READ_REG(&sc->hw, PRC1023); stats 2922 dev/pci/if_em.c sc->stats.prc1522 += E1000_READ_REG(&sc->hw, PRC1522); stats 2923 dev/pci/if_em.c sc->stats.gprc += E1000_READ_REG(&sc->hw, GPRC); stats 2924 dev/pci/if_em.c sc->stats.bprc += E1000_READ_REG(&sc->hw, BPRC); stats 2925 dev/pci/if_em.c sc->stats.mprc += E1000_READ_REG(&sc->hw, MPRC); stats 2926 dev/pci/if_em.c sc->stats.gptc += E1000_READ_REG(&sc->hw, GPTC); stats 2931 dev/pci/if_em.c sc->stats.gorcl += E1000_READ_REG(&sc->hw, GORCL); stats 2932 dev/pci/if_em.c sc->stats.gorch += E1000_READ_REG(&sc->hw, GORCH); stats 2933 dev/pci/if_em.c sc->stats.gotcl += E1000_READ_REG(&sc->hw, GOTCL); stats 2934 dev/pci/if_em.c sc->stats.gotch += E1000_READ_REG(&sc->hw, GOTCH); stats 2936 dev/pci/if_em.c sc->stats.rnbc += E1000_READ_REG(&sc->hw, RNBC); stats 2937 dev/pci/if_em.c sc->stats.ruc += E1000_READ_REG(&sc->hw, RUC); stats 2938 dev/pci/if_em.c sc->stats.rfc += E1000_READ_REG(&sc->hw, RFC); stats 2939 dev/pci/if_em.c sc->stats.roc += E1000_READ_REG(&sc->hw, ROC); stats 2940 dev/pci/if_em.c sc->stats.rjc += E1000_READ_REG(&sc->hw, RJC); stats 2942 dev/pci/if_em.c sc->stats.torl += E1000_READ_REG(&sc->hw, TORL); stats 2943 dev/pci/if_em.c sc->stats.torh += E1000_READ_REG(&sc->hw, TORH); stats 2944 dev/pci/if_em.c sc->stats.totl += E1000_READ_REG(&sc->hw, TOTL); stats 2945 dev/pci/if_em.c sc->stats.toth += E1000_READ_REG(&sc->hw, TOTH); stats 2947 dev/pci/if_em.c sc->stats.tpr += E1000_READ_REG(&sc->hw, TPR); stats 2948 dev/pci/if_em.c sc->stats.tpt += E1000_READ_REG(&sc->hw, TPT); stats 2949 dev/pci/if_em.c sc->stats.ptc64 += E1000_READ_REG(&sc->hw, PTC64); stats 2950 dev/pci/if_em.c sc->stats.ptc127 += E1000_READ_REG(&sc->hw, PTC127); stats 2951 dev/pci/if_em.c sc->stats.ptc255 += E1000_READ_REG(&sc->hw, PTC255); stats 2952 dev/pci/if_em.c sc->stats.ptc511 += E1000_READ_REG(&sc->hw, PTC511); stats 2953 dev/pci/if_em.c sc->stats.ptc1023 += E1000_READ_REG(&sc->hw, PTC1023); stats 2954 dev/pci/if_em.c sc->stats.ptc1522 += E1000_READ_REG(&sc->hw, PTC1522); stats 2955 dev/pci/if_em.c sc->stats.mptc += E1000_READ_REG(&sc->hw, MPTC); stats 2956 dev/pci/if_em.c sc->stats.bptc += E1000_READ_REG(&sc->hw, BPTC); stats 2959 dev/pci/if_em.c sc->stats.algnerrc += stats 2961 dev/pci/if_em.c sc->stats.rxerrc += stats 2963 dev/pci/if_em.c sc->stats.tncrs += stats 2965 dev/pci/if_em.c sc->stats.cexterr += stats 2967 dev/pci/if_em.c sc->stats.tsctc += stats 2969 dev/pci/if_em.c sc->stats.tsctfc += stats 2975 dev/pci/if_em.c ifp->if_collisions = sc->stats.colc; stats 2980 dev/pci/if_em.c sc->stats.rxerrc + stats 2981 dev/pci/if_em.c sc->stats.crcerrs + stats 2982 dev/pci/if_em.c sc->stats.algnerrc + stats 2983 dev/pci/if_em.c sc->stats.ruc + sc->stats.roc + stats 2984 dev/pci/if_em.c sc->stats.mpc + sc->stats.cexterr + stats 2988 dev/pci/if_em.c ifp->if_oerrors = sc->stats.ecol + sc->stats.latecol + stats 3005 dev/pci/if_em.c (long long)sc->stats.ecol); stats 3007 dev/pci/if_em.c (long long)sc->stats.symerrs); stats 3009 dev/pci/if_em.c (long long)sc->stats.sec); stats 3011 dev/pci/if_em.c (long long)sc->stats.dc); stats 3014 dev/pci/if_em.c (long long)sc->stats.mpc); stats 3016 dev/pci/if_em.c (long long)sc->stats.rnbc); stats 3019 dev/pci/if_em.c ((long long)sc->stats.roc + stats 3020 dev/pci/if_em.c (long long)sc->stats.ruc)); stats 3022 dev/pci/if_em.c (long long)sc->stats.rxerrc); stats 3024 dev/pci/if_em.c (long long)sc->stats.crcerrs); stats 3026 dev/pci/if_em.c (long long)sc->stats.algnerrc); stats 3028 dev/pci/if_em.c (long long)sc->stats.cexterr); stats 3036 dev/pci/if_em.c (long long)sc->stats.xonrxc); stats 3038 dev/pci/if_em.c (long long)sc->stats.xontxc); stats 3040 dev/pci/if_em.c (long long)sc->stats.xoffrxc); stats 3042 dev/pci/if_em.c (long long)sc->stats.xofftxc); stats 3045 dev/pci/if_em.c (long long)sc->stats.gprc); stats 3047 dev/pci/if_em.c (long long)sc->stats.gptc); stats 423 dev/pci/if_em.h struct em_hw_stats stats; stats 5988 dev/pci/if_em_hw.c struct em_hw_stats *stats, stats 6001 dev/pci/if_em_hw.c stats->crcerrs--; stats 6003 dev/pci/if_em_hw.c stats->gprc++; stats 6006 dev/pci/if_em_hw.c carry_bit = 0x80000000 & stats->gorcl; stats 6007 dev/pci/if_em_hw.c stats->gorcl += frame_len; stats 6015 dev/pci/if_em_hw.c if (carry_bit && ((stats->gorcl & 0x80000000) == 0)) stats 6016 dev/pci/if_em_hw.c stats->gorch++; stats 6023 dev/pci/if_em_hw.c stats->bprc++; stats 6026 dev/pci/if_em_hw.c stats->mprc++; stats 6032 dev/pci/if_em_hw.c if (stats->roc > 0) stats 6033 dev/pci/if_em_hw.c stats->roc--; stats 6040 dev/pci/if_em_hw.c stats->prc64++; stats 6041 dev/pci/if_em_hw.c stats->prc127--; stats 6043 dev/pci/if_em_hw.c stats->prc127++; stats 6044 dev/pci/if_em_hw.c stats->prc255--; stats 6046 dev/pci/if_em_hw.c stats->prc255++; stats 6047 dev/pci/if_em_hw.c stats->prc511--; stats 6049 dev/pci/if_em_hw.c stats->prc511++; stats 6050 dev/pci/if_em_hw.c stats->prc1023--; stats 6052 dev/pci/if_em_hw.c stats->prc1023++; stats 6053 dev/pci/if_em_hw.c stats->prc1522--; stats 6055 dev/pci/if_em_hw.c stats->prc1522++; stats 406 dev/pci/if_em_hw.h void em_tbi_adjust_stats(struct em_hw *hw, struct em_hw_stats *stats, uint32_t frame_len, uint8_t *mac_addr); stats 1962 dev/pci/if_ixgb.c sc->stats.crcerrs += IXGB_READ_REG(&sc->hw, CRCERRS); stats 1963 dev/pci/if_ixgb.c sc->stats.gprcl += IXGB_READ_REG(&sc->hw, GPRCL); stats 1964 dev/pci/if_ixgb.c sc->stats.gprch += IXGB_READ_REG(&sc->hw, GPRCH); stats 1965 dev/pci/if_ixgb.c sc->stats.gorcl += IXGB_READ_REG(&sc->hw, GORCL); stats 1966 dev/pci/if_ixgb.c sc->stats.gorch += IXGB_READ_REG(&sc->hw, GORCH); stats 1967 dev/pci/if_ixgb.c sc->stats.bprcl += IXGB_READ_REG(&sc->hw, BPRCL); stats 1968 dev/pci/if_ixgb.c sc->stats.bprch += IXGB_READ_REG(&sc->hw, BPRCH); stats 1969 dev/pci/if_ixgb.c sc->stats.mprcl += IXGB_READ_REG(&sc->hw, MPRCL); stats 1970 dev/pci/if_ixgb.c sc->stats.mprch += IXGB_READ_REG(&sc->hw, MPRCH); stats 1971 dev/pci/if_ixgb.c sc->stats.roc += IXGB_READ_REG(&sc->hw, ROC); stats 1973 dev/pci/if_ixgb.c sc->stats.mpc += IXGB_READ_REG(&sc->hw, MPC); stats 1974 dev/pci/if_ixgb.c sc->stats.dc += IXGB_READ_REG(&sc->hw, DC); stats 1975 dev/pci/if_ixgb.c sc->stats.rlec += IXGB_READ_REG(&sc->hw, RLEC); stats 1976 dev/pci/if_ixgb.c sc->stats.xonrxc += IXGB_READ_REG(&sc->hw, XONRXC); stats 1977 dev/pci/if_ixgb.c sc->stats.xontxc += IXGB_READ_REG(&sc->hw, XONTXC); stats 1978 dev/pci/if_ixgb.c sc->stats.xoffrxc += IXGB_READ_REG(&sc->hw, XOFFRXC); stats 1979 dev/pci/if_ixgb.c sc->stats.xofftxc += IXGB_READ_REG(&sc->hw, XOFFTXC); stats 1980 dev/pci/if_ixgb.c sc->stats.gptcl += IXGB_READ_REG(&sc->hw, GPTCL); stats 1981 dev/pci/if_ixgb.c sc->stats.gptch += IXGB_READ_REG(&sc->hw, GPTCH); stats 1982 dev/pci/if_ixgb.c sc->stats.gotcl += IXGB_READ_REG(&sc->hw, GOTCL); stats 1983 dev/pci/if_ixgb.c sc->stats.gotch += IXGB_READ_REG(&sc->hw, GOTCH); stats 1984 dev/pci/if_ixgb.c sc->stats.ruc += IXGB_READ_REG(&sc->hw, RUC); stats 1985 dev/pci/if_ixgb.c sc->stats.rfc += IXGB_READ_REG(&sc->hw, RFC); stats 1986 dev/pci/if_ixgb.c sc->stats.rjc += IXGB_READ_REG(&sc->hw, RJC); stats 1987 dev/pci/if_ixgb.c sc->stats.torl += IXGB_READ_REG(&sc->hw, TORL); stats 1988 dev/pci/if_ixgb.c sc->stats.torh += IXGB_READ_REG(&sc->hw, TORH); stats 1989 dev/pci/if_ixgb.c sc->stats.totl += IXGB_READ_REG(&sc->hw, TOTL); stats 1990 dev/pci/if_ixgb.c sc->stats.toth += IXGB_READ_REG(&sc->hw, TOTH); stats 1991 dev/pci/if_ixgb.c sc->stats.tprl += IXGB_READ_REG(&sc->hw, TPRL); stats 1992 dev/pci/if_ixgb.c sc->stats.tprh += IXGB_READ_REG(&sc->hw, TPRH); stats 1993 dev/pci/if_ixgb.c sc->stats.tptl += IXGB_READ_REG(&sc->hw, TPTL); stats 1994 dev/pci/if_ixgb.c sc->stats.tpth += IXGB_READ_REG(&sc->hw, TPTH); stats 1995 dev/pci/if_ixgb.c sc->stats.plt64c += IXGB_READ_REG(&sc->hw, PLT64C); stats 1996 dev/pci/if_ixgb.c sc->stats.mptcl += IXGB_READ_REG(&sc->hw, MPTCL); stats 1997 dev/pci/if_ixgb.c sc->stats.mptch += IXGB_READ_REG(&sc->hw, MPTCH); stats 1998 dev/pci/if_ixgb.c sc->stats.bptcl += IXGB_READ_REG(&sc->hw, BPTCL); stats 1999 dev/pci/if_ixgb.c sc->stats.bptch += IXGB_READ_REG(&sc->hw, BPTCH); stats 2001 dev/pci/if_ixgb.c sc->stats.uprcl += IXGB_READ_REG(&sc->hw, UPRCL); stats 2002 dev/pci/if_ixgb.c sc->stats.uprch += IXGB_READ_REG(&sc->hw, UPRCH); stats 2003 dev/pci/if_ixgb.c sc->stats.vprcl += IXGB_READ_REG(&sc->hw, VPRCL); stats 2004 dev/pci/if_ixgb.c sc->stats.vprch += IXGB_READ_REG(&sc->hw, VPRCH); stats 2005 dev/pci/if_ixgb.c sc->stats.jprcl += IXGB_READ_REG(&sc->hw, JPRCL); stats 2006 dev/pci/if_ixgb.c sc->stats.jprch += IXGB_READ_REG(&sc->hw, JPRCH); stats 2007 dev/pci/if_ixgb.c sc->stats.rnbc += IXGB_READ_REG(&sc->hw, RNBC); stats 2008 dev/pci/if_ixgb.c sc->stats.icbc += IXGB_READ_REG(&sc->hw, ICBC); stats 2009 dev/pci/if_ixgb.c sc->stats.ecbc += IXGB_READ_REG(&sc->hw, ECBC); stats 2010 dev/pci/if_ixgb.c sc->stats.uptcl += IXGB_READ_REG(&sc->hw, UPTCL); stats 2011 dev/pci/if_ixgb.c sc->stats.uptch += IXGB_READ_REG(&sc->hw, UPTCH); stats 2012 dev/pci/if_ixgb.c sc->stats.vptcl += IXGB_READ_REG(&sc->hw, VPTCL); stats 2013 dev/pci/if_ixgb.c sc->stats.vptch += IXGB_READ_REG(&sc->hw, VPTCH); stats 2014 dev/pci/if_ixgb.c sc->stats.jptcl += IXGB_READ_REG(&sc->hw, JPTCL); stats 2015 dev/pci/if_ixgb.c sc->stats.jptch += IXGB_READ_REG(&sc->hw, JPTCH); stats 2016 dev/pci/if_ixgb.c sc->stats.tsctc += IXGB_READ_REG(&sc->hw, TSCTC); stats 2017 dev/pci/if_ixgb.c sc->stats.tsctfc += IXGB_READ_REG(&sc->hw, TSCTFC); stats 2018 dev/pci/if_ixgb.c sc->stats.ibic += IXGB_READ_REG(&sc->hw, IBIC); stats 2019 dev/pci/if_ixgb.c sc->stats.lfc += IXGB_READ_REG(&sc->hw, LFC); stats 2020 dev/pci/if_ixgb.c sc->stats.pfrc += IXGB_READ_REG(&sc->hw, PFRC); stats 2021 dev/pci/if_ixgb.c sc->stats.pftc += IXGB_READ_REG(&sc->hw, PFTC); stats 2022 dev/pci/if_ixgb.c sc->stats.mcfrc += IXGB_READ_REG(&sc->hw, MCFRC); stats 2032 dev/pci/if_ixgb.c sc->stats.crcerrs + stats 2033 dev/pci/if_ixgb.c sc->stats.rnbc + stats 2034 dev/pci/if_ixgb.c sc->stats.mpc + stats 2035 dev/pci/if_ixgb.c sc->stats.rlec; stats 2085 dev/pci/if_ixgb.c (long long)sc->stats.dc); stats 2087 dev/pci/if_ixgb.c (long long)sc->stats.mpc); stats 2089 dev/pci/if_ixgb.c (long long)sc->stats.rnbc); stats 2091 dev/pci/if_ixgb.c (long long)sc->stats.rlec); stats 2093 dev/pci/if_ixgb.c (long long)sc->stats.crcerrs); stats 2098 dev/pci/if_ixgb.c (long long)sc->stats.xonrxc); stats 2100 dev/pci/if_ixgb.c (long long)sc->stats.xontxc); stats 2102 dev/pci/if_ixgb.c (long long)sc->stats.xoffrxc); stats 2104 dev/pci/if_ixgb.c (long long)sc->stats.xofftxc); stats 2107 dev/pci/if_ixgb.c (long long)sc->stats.gprcl); stats 2109 dev/pci/if_ixgb.c (long long)sc->stats.gptcl); stats 2112 dev/pci/if_ixgb.c (long long)sc->stats.jprcl); stats 2114 dev/pci/if_ixgb.c (long long)sc->stats.jptcl); stats 314 dev/pci/if_ixgb.h struct ixgb_hw_stats stats; stats 1975 dev/pci/if_ti.c struct ti_stats *stats = &sc->ti_rdata->ti_info.ti_stats; stats 1981 dev/pci/if_ti.c ifp->if_collisions += stats->dot3StatsSingleCollisionFrames + stats 1982 dev/pci/if_ti.c stats->dot3StatsMultipleCollisionFrames + stats 1983 dev/pci/if_ti.c stats->dot3StatsExcessiveCollisions + stats 1984 dev/pci/if_ti.c stats->dot3StatsLateCollisions - stats 67 dev/raidframe/rf_freelist.h bzero((char *)&((_fl_)->stats), sizeof(RF_FreeListStats_t)); \ stats 68 dev/raidframe/rf_freelist.h (_fl_)->stats.file = __FILE__; \ stats 69 dev/raidframe/rf_freelist.h (_fl_)->stats.line = __LINE__; \ stats 74 dev/raidframe/rf_freelist.h (_fl_)->stats.allocations++; \ stats 75 dev/raidframe/rf_freelist.h (_fl_)->stats.outstanding++; \ stats 76 dev/raidframe/rf_freelist.h if ((_fl_)->stats.outstanding > (_fl_)->stats.max_outstanding) \ stats 77 dev/raidframe/rf_freelist.h (_fl_)->stats.max_outstanding = \ stats 78 dev/raidframe/rf_freelist.h (_fl_)->stats.outstanding; \ stats 83 dev/raidframe/rf_freelist.h if ((_fl_)->free_cnt > (_fl_)->stats.max_free) \ stats 84 dev/raidframe/rf_freelist.h (_fl_)->stats.max_free = (_fl_)->free_cnt; \ stats 89 dev/raidframe/rf_freelist.h (_fl_)->stats.frees++; \ stats 90 dev/raidframe/rf_freelist.h (_fl_)->stats.outstanding--; \ stats 96 dev/raidframe/rf_freelist.h (_fl_)->stats.grows++; \ stats 102 dev/raidframe/rf_freelist.h printf("Freelist at %s %d (%s)\n", (_fl_)->stats.file, \ stats 103 dev/raidframe/rf_freelist.h (_fl_)->stats.line, RF_STRING(_fl_)); \ stats 105 dev/raidframe/rf_freelist.h (_fl_)->stats.allocations, (_fl_)->stats.frees); \ stats 106 dev/raidframe/rf_freelist.h printf(" %d grows\n", (_fl_)->stats.grows); \ stats 107 dev/raidframe/rf_freelist.h printf(" %d outstanding\n", (_fl_)->stats.outstanding); \ stats 108 dev/raidframe/rf_freelist.h printf(" %d free (max)\n", (_fl_)->stats.max_free); \ stats 110 dev/raidframe/rf_freelist.h (_fl_)->stats.max_outstanding); \ stats 132 dev/raidframe/rf_freelist.h RF_FreeListStats_t stats; /* Statistics. */ stats 522 dev/usb/ueagle.c CR(sc, UEAGLE_CMV_STAT, 0, &sc->stats.phy.status); stats 523 dev/usb/ueagle.c switch ((sc->stats.phy.status >> 8) & 0xf) { stats 544 dev/usb/ueagle.c CR(sc, UEAGLE_CMV_DIAG, 1, &sc->stats.phy.flags); stats 545 dev/usb/ueagle.c if (sc->stats.phy.flags & 0x10) { stats 547 dev/usb/ueagle.c sc->stats.phy.status = 0; stats 553 dev/usb/ueagle.c sc->stats.phy.dsrate = ((data >> 16) & 0x1ff) * 32; stats 554 dev/usb/ueagle.c sc->stats.phy.usrate = (data & 0xff) * 32; stats 557 dev/usb/ueagle.c sc->stats.phy.attenuation = (data & 0xff) / 2; stats 559 dev/usb/ueagle.c CR(sc, UEAGLE_CMV_DIAG, 3, &sc->stats.atm.cells_crc_errors); stats 560 dev/usb/ueagle.c CR(sc, UEAGLE_CMV_DIAG, 22, &sc->stats.phy.dserror); stats 561 dev/usb/ueagle.c CR(sc, UEAGLE_CMV_DIAG, 25, &sc->stats.phy.dsmargin); stats 562 dev/usb/ueagle.c CR(sc, UEAGLE_CMV_DIAG, 46, &sc->stats.phy.userror); stats 563 dev/usb/ueagle.c CR(sc, UEAGLE_CMV_DIAG, 49, &sc->stats.phy.usmargin); stats 564 dev/usb/ueagle.c CR(sc, UEAGLE_CMV_DIAG, 51, &sc->stats.phy.rxflow); stats 565 dev/usb/ueagle.c CR(sc, UEAGLE_CMV_DIAG, 52, &sc->stats.phy.txflow); stats 566 dev/usb/ueagle.c CR(sc, UEAGLE_CMV_DIAG, 54, &sc->stats.phy.dsunc); stats 567 dev/usb/ueagle.c CR(sc, UEAGLE_CMV_DIAG, 58, &sc->stats.phy.usunc); stats 568 dev/usb/ueagle.c CR(sc, UEAGLE_CMV_INFO, 8, &sc->stats.phy.vidco); stats 569 dev/usb/ueagle.c CR(sc, UEAGLE_CMV_INFO, 14, &sc->stats.phy.vidcpe); stats 810 dev/usb/ueagle.c sc->stats.atm.cells_received++; stats 815 dev/usb/ueagle.c sc->stats.atm.vcc_no_conn++; stats 822 dev/usb/ueagle.c sc->stats.atm.cspdus_dropped++; stats 825 dev/usb/ueagle.c sc->stats.atm.cells_dropped++; stats 850 dev/usb/ueagle.c sc->stats.atm.cells_dropped++; stats 869 dev/usb/ueagle.c sc->stats.atm.cspdus_dropped++; stats 874 dev/usb/ueagle.c sc->stats.atm.cspdus_dropped++; stats 880 dev/usb/ueagle.c sc->stats.atm.cspdus_crc_errors++; stats 889 dev/usb/ueagle.c sc->stats.atm.cspdus_received++; stats 1024 dev/usb/ueagle.c sc->stats.atm.cells_transmitted++; stats 1033 dev/usb/ueagle.c sc->stats.atm.cells_transmitted++; stats 1050 dev/usb/ueagle.c sc->stats.atm.cells_transmitted++; stats 1077 dev/usb/ueagle.c sc->stats.atm.cspdus_transmitted++; stats 1464 dev/usb/ueagle.c memset(&sc->stats, 0, sizeof (struct ueagle_stats)); stats 182 dev/usb/ueaglevar.h struct ueagle_stats stats; stats 576 dev/usb/usb.c *(struct usb_device_stats *)data = sc->sc_bus->stats; stats 795 dev/usb/usbdi.c ++pipe->device->bus->stats.uds_requests stats 116 dev/usb/usbdivar.h struct usb_device_stats stats; stats 143 net/bsd-comp.c static void bsd_comp_stats(void *state, struct compstat *stats); stats 265 net/bsd-comp.c bsd_comp_stats(state, stats) stats 267 net/bsd-comp.c struct compstat *stats; stats 272 net/bsd-comp.c stats->unc_bytes = db->uncomp_bytes; stats 273 net/bsd-comp.c stats->unc_packets = db->uncomp_count; stats 274 net/bsd-comp.c stats->comp_bytes = db->comp_bytes; stats 275 net/bsd-comp.c stats->comp_packets = db->comp_count; stats 276 net/bsd-comp.c stats->inc_bytes = db->incomp_bytes; stats 277 net/bsd-comp.c stats->inc_packets = db->incomp_count; stats 278 net/bsd-comp.c stats->ratio = db->in_count; stats 280 net/bsd-comp.c if (stats->ratio <= 0x7fffff) stats 281 net/bsd-comp.c stats->ratio <<= 8; stats 285 net/bsd-comp.c stats->ratio /= out; stats 671 net/if_ppp.c psp = &((struct ifpppstatsreq *) data)->stats; stats 690 net/if_ppp.c pcp = &((struct ifpppcstatsreq *) data)->stats; stats 109 net/if_ppp.h struct ppp_stats stats; stats 114 net/if_ppp.h struct ppp_comp_stats stats; stats 961 net/if_sl.c slsp = &((struct ifslstatsreq *) data)->stats; stats 100 net/if_slvar.h struct sl_stats stats; stats 74 net/ppp-comp.h void (*comp_stat)(void *state, struct compstat *stats); stats 91 net/ppp-comp.h void (*decomp_stat)(void *state, struct compstat *stats); stats 64 net/ppp-deflate.c struct compstat stats; stats 86 net/ppp-deflate.c static void z_comp_stats(void *state, struct compstat *stats); stats 183 net/ppp-deflate.c bzero(&state->stats, sizeof(state->stats)); stats 344 net/ppp-deflate.c state->stats.comp_bytes += olen; stats 345 net/ppp-deflate.c state->stats.comp_packets++; stats 351 net/ppp-deflate.c state->stats.inc_bytes += orig_len; stats 352 net/ppp-deflate.c state->stats.inc_packets++; stats 355 net/ppp-deflate.c state->stats.unc_bytes += orig_len; stats 356 net/ppp-deflate.c state->stats.unc_packets++; stats 362 net/ppp-deflate.c z_comp_stats(arg, stats) stats 364 net/ppp-deflate.c struct compstat *stats; stats 369 net/ppp-deflate.c *stats = state->stats; stats 370 net/ppp-deflate.c stats->ratio = stats->unc_bytes; stats 371 net/ppp-deflate.c out = stats->comp_bytes + stats->inc_bytes; stats 372 net/ppp-deflate.c if (stats->ratio <= 0x7ffffff) stats 373 net/ppp-deflate.c stats->ratio <<= 8; stats 377 net/ppp-deflate.c stats->ratio /= out; stats 415 net/ppp-deflate.c bzero(&state->stats, sizeof(state->stats)); stats 618 net/ppp-deflate.c state->stats.unc_bytes += olen; stats 619 net/ppp-deflate.c state->stats.unc_packets++; stats 620 net/ppp-deflate.c state->stats.comp_bytes += rlen; stats 621 net/ppp-deflate.c state->stats.comp_packets++; stats 684 net/ppp-deflate.c state->stats.inc_bytes += rlen; stats 685 net/ppp-deflate.c state->stats.inc_packets++; stats 686 net/ppp-deflate.c state->stats.unc_bytes += rlen; stats 687 net/ppp-deflate.c state->stats.unc_packets++;