Lines Matching refs:Limit
2300 unsigned int Limit; in MacPrivateStat() local
2326 Limit = LogPortIndex + 1; in MacPrivateStat()
2332 Limit = LogPortMax; in MacPrivateStat()
2343 if (*pLen < (Limit - LogPortIndex) * sizeof(SK_U64)) { in MacPrivateStat()
2345 *pLen = (Limit - LogPortIndex) * sizeof(SK_U64); in MacPrivateStat()
2363 for (; LogPortIndex < Limit; LogPortIndex ++) { in MacPrivateStat()
2464 unsigned int Limit; in Addr() local
2486 Limit = LogPortIndex + 1; in Addr()
2491 Limit = LogPortMax; in Addr()
2500 if (*pLen < (Limit - LogPortIndex) * 6) { in Addr()
2502 *pLen = (Limit - LogPortIndex) * 6; in Addr()
2509 for (; LogPortIndex < Limit; LogPortIndex ++) { in Addr()
2576 if (*pLen < (Limit - LogPortIndex) * 6) { in Addr()
2578 *pLen = (Limit - LogPortIndex) * 6; in Addr()
2581 if (*pLen > (Limit - LogPortIndex) * 6) { in Addr()
2599 for (; LogPortIndex < Limit; LogPortIndex ++, Offset += 6) { in Addr()
2661 unsigned int Limit; in CsumStat() local
2677 Limit = Index + 1; in CsumStat()
2681 Limit = SKCS_NUM_PROTOCOLS; in CsumStat()
2694 if (*pLen < (Limit - Index) * sizeof(SK_U64)) { in CsumStat()
2696 *pLen = (Limit - Index) * sizeof(SK_U64); in CsumStat()
2703 for (; Index < Limit; Index ++) { in CsumStat()
2778 unsigned int Limit; in SensorStat() local
2797 Limit = (unsigned int)Instance; in SensorStat()
2801 Limit = (unsigned int) pAC->I2c.MaxSens; in SensorStat()
2821 if (*pLen < (Limit - Index) * sizeof(SK_U32)) { in SensorStat()
2823 *pLen = (Limit - Index) * sizeof(SK_U32); in SensorStat()
2829 for (Offset = 0, i = Index; i < Limit; i ++) { in SensorStat()
2853 if (*pLen < Limit - Index) { in SensorStat()
2855 *pLen = Limit - Index; in SensorStat()
2864 if (*pLen < (Limit - Index) * sizeof(SK_U64)) { in SensorStat()
2866 *pLen = (Limit - Index) * sizeof(SK_U64); in SensorStat()
2883 for (Offset = 0; Index < Limit; Index ++) { in SensorStat()
4800 unsigned int Limit; in RlmtStat() local
4828 Limit = PhysPortIndex + 1; in RlmtStat()
4833 Limit = PhysPortMax; in RlmtStat()
4838 Limit = PhysPortIndex + 1; in RlmtStat()
4858 if (*pLen < (Limit - PhysPortIndex) * sizeof(SK_U32)) { in RlmtStat()
4860 *pLen = (Limit - PhysPortIndex) * sizeof(SK_U32); in RlmtStat()
4869 if (*pLen < (Limit - PhysPortIndex) * sizeof(SK_U64)) { in RlmtStat()
4871 *pLen = (Limit - PhysPortIndex) * sizeof(SK_U64); in RlmtStat()
4900 for (; PhysPortIndex < Limit; PhysPortIndex ++) { in RlmtStat()
5004 unsigned int Limit; in MacPrivateConf() local
5030 Limit = LogPortIndex + 1; in MacPrivateConf()
5036 Limit = LogPortMax; in MacPrivateConf()
5065 if (*pLen < (Limit - LogPortIndex) * sizeof(SK_U8)) { in MacPrivateConf()
5067 *pLen = (Limit - LogPortIndex) * sizeof(SK_U8); in MacPrivateConf()
5074 if (*pLen < (Limit - LogPortIndex) * sizeof(SK_U32)) { in MacPrivateConf()
5076 *pLen = (Limit - LogPortIndex) * sizeof(SK_U32); in MacPrivateConf()
5103 for (; LogPortIndex < Limit; LogPortIndex ++) { in MacPrivateConf()
5466 if (*pLen < Limit - LogPortIndex) { in MacPrivateConf()
5468 *pLen = Limit - LogPortIndex; in MacPrivateConf()
5471 if (*pLen != Limit - LogPortIndex) { in MacPrivateConf()
5480 if (*pLen < Limit - LogPortIndex) { in MacPrivateConf()
5482 *pLen = Limit - LogPortIndex; in MacPrivateConf()
5510 for (; LogPortIndex < Limit; LogPortIndex ++) { in MacPrivateConf()
6000 unsigned int Limit; in Monitor() local
6020 Limit = (unsigned int)Instance; in Monitor()
6024 Limit = Entries; in Monitor()
6032 for (Offset=0; Index < Limit; Index ++) { in Monitor()
6062 if (*pLen < (Limit - Index)) { in Monitor()
6067 if (*pLen != (Limit - Index)) { in Monitor()
7980 SK_U32 Limit; in Vct() local
8012 Limit = PhysPortIndex + 1; in Vct()
8021 Limit = PhysPortMax; in Vct()
8047 if (*pLen < (Limit - PhysPortIndex) * sizeof(SK_PNMI_VCT)) { in Vct()
8048 *pLen = (Limit - PhysPortIndex) * sizeof(SK_PNMI_VCT); in Vct()
8054 if (*pLen < (Limit - PhysPortIndex) * sizeof(SK_U8)) { in Vct()
8055 *pLen = (Limit - PhysPortIndex) * sizeof(SK_U8); in Vct()
8067 for (; PhysPortIndex < Limit; PhysPortIndex++) { in Vct()
8147 if (*pLen < (Limit - PhysPortIndex) * sizeof(SK_U32)) { in Vct()
8148 *pLen = (Limit - PhysPortIndex) * sizeof(SK_U32); in Vct()
8168 for (; PhysPortIndex < Limit; PhysPortIndex++) { in Vct()