| /src/sys/kern/ |
| kern_rate.c | 43 ratecheck(struct timeval *lasttime, const struct timeval *mininterval) 49 timersub(&tv, lasttime, &delta); 56 (lasttime->tv_sec == 0 && lasttime->tv_usec == 0)) { 57 *lasttime = tv; 68 ppsratecheck(struct timeval *lasttime, int *curpps, int maxpps) 74 timersub(&tv, lasttime, &delta); 79 * lasttime, reset the counter. 84 if ((lasttime->tv_sec == 0 && lasttime->tv_usec == 0) | [all...] |
| kern_entropy.c | 1197 static struct timeval lasttime; /* serialized by E->lock */ local 1231 ratecheck(&lasttime, &interval)) { 1309 static struct timeval lasttime; /* serialized by E->lock */ local 1337 ratecheck(&lasttime, &interval)) { 1499 static struct timeval lasttime; /* serialized by E->lock */ local 1596 ratecheck(&lasttime, &interval)) {
|
| /src/sbin/dmesg/ |
| dmesg.c | 156 struct timespec lasttime; local 173 lasttime.tv_sec = 0; 174 lasttime.tv_nsec = 0; 384 timespecsub(&nt, &lasttime, &dt); 390 lasttime = nt;
|
| /src/sys/arch/xen/xen/ |
| xennet_checksum.c | 180 static struct timeval lasttime; local 181 if (ratecheck(&lasttime, &xn_cksum_errintvl))
|
| xennetback_xenbus.c | 863 static struct timeval lasttime; local 865 if (ratecheck(&lasttime, &xni_pool_errintvl)) 1231 static struct timeval lasttime; local 1232 if (ratecheck(&lasttime, &xni_pool_errintvl))
|
| /src/games/larn/ |
| store.c | 514 int lasttime = 0; /* last time he was in bank */ variable 568 i = (gltime - lasttime) / 100; /* # mobuls elapsed */ 574 lasttime = (gltime / 100) * 100;
|
| diag.c | 354 lasttime = gltime;
|
| header.h | 374 extern int rmst, lasttime;
|
| /src/sys/fs/nfs/common/ |
| nfs_commonport.c | 393 static time_t lasttime = 0; local 399 if (lasttime != NFSD_MONOSEC) { 400 lasttime = NFSD_MONOSEC;
|
| nfs_commonsubs.c | 3198 static time_t lasttime = 0; local 3443 if (lasttime < NFSD_MONOSEC && 3520 lasttime = NFSD_MONOSEC;
|
| /src/sys/netipsec/ |
| ipsec_input.c | 302 static struct timeval lasttime = {0, 0}; local 305 if (!ipsec_debug && ppsratecheck(&lasttime, &curpps, 1)) {
|
| /src/sys/dev/acpi/ |
| apei.c | 977 struct timeval lasttime; member in struct:__anon2478 1029 ok = ratecheck(&apei_gesb_ratelimit[i].lasttime, &mininterval);
|
| /src/sys/net/ |
| if_pppoe.c | 1181 static struct timeval lasttime = {0, 0}; local 1189 ppsratecheck(&lasttime, &curpps,
|
| /src/sys/external/bsd/ipf/netinet/ |
| fil.c | 5367 ppsratecheck(lasttime, curpps, maxpps) 5368 struct timeval *lasttime; 5377 delta.tv_sec = tv.tv_sec - lasttime->tv_sec; 5378 delta.tv_usec = tv.tv_usec - lasttime->tv_usec; 5387 * lasttime, reset the counter. 5392 if ((lasttime->tv_sec == 0 && lasttime->tv_usec == 0) || 5394 *lasttime = tv;
|