Searched refs:lasttime (Results 1 - 21 of 21) sorted by relevance

/freebsd-12-stable/stand/i386/libi386/
H A Dspinconsole.c85 static time_t lasttime = 0; local
89 if (now < (lasttime + 1))
92 if (lasttime > 0)
95 lasttime = now;
H A Dtime.c73 static time_t lasttime; local
86 if (now < lasttime)
88 lasttime = now;
/freebsd-12-stable/contrib/libevent/sample/
H A Dtime-test.c38 struct timeval lasttime; variable in typeref:struct:timeval
50 evutil_timersub(&newtime, &lasttime, &difference);
56 lasttime = newtime;
101 evutil_gettimeofday(&lasttime, NULL);
/freebsd-12-stable/contrib/ntp/scripts/monitoring/
H A Dntploopstat267 undef($lasttime);
395 if (defined($lasttime) && ($lasttime + 2) >= $time)
423 $lasttime = $time;
/freebsd-12-stable/sys/fs/procfs/
H A Dprocfs_ioctl.c72 static struct timeval lasttime; local
115 if (ratecheck(&lasttime, &interval) != 0)
/freebsd-12-stable/sys/netgraph/
H A Dng_async.c85 long lasttime; /* Time of last async packet sent */ member in struct:ng_async_private
370 sc->lasttime = 0;
456 if (time.tv_sec >= sc->lasttime + 1) {
458 sc->lasttime = time.tv_sec;
/freebsd-12-stable/sys/kern/
H A Dkern_time.c1029 ratecheck(struct timeval *lasttime, const struct timeval *mininterval) argument
1036 timevalsub(&delta, lasttime);
1043 (lasttime->tv_sec == 0 && lasttime->tv_usec == 0)) {
1044 *lasttime = tv;
1066 ppsratecheck(struct timeval *lasttime, int *curpps, int maxpps) argument
1073 * lasttime.
1076 if (lasttime->tv_sec == 0 || (u_int)(now - lasttime->tv_sec) >= hz) {
1077 lasttime
[all...]
H A Dkern_sig.c3390 struct timespec lasttime; local
3425 lasttime.tv_sec > vattr.va_mtime.tv_sec ||
3426 (lasttime.tv_sec == vattr.va_mtime.tv_sec &&
3427 lasttime.tv_nsec >= vattr.va_mtime.tv_nsec)) {
3432 lasttime = vattr.va_mtime;
/freebsd-12-stable/sys/fs/nfs/
H A Dnfs_commonport.c405 static time_t lasttime = 0; local
411 if (lasttime != NFSD_MONOSEC) {
412 lasttime = NFSD_MONOSEC;
H A Dnfs_commonsubs.c3692 static time_t lasttime = 0; local
3937 if (lasttime < NFSD_MONOSEC &&
4014 lasttime = NFSD_MONOSEC;
/freebsd-12-stable/contrib/ntp/ntpd/
H A Drefclock_bancomm.c157 u_long lasttime; /* last time clock heard from */ member in struct:vmeunit
429 vme->lasttime = current_time;
H A Drefclock_msfees.c60 bug->values[0] = (ees->lasttime) ? current_time - ees->lasttime : 0;
251 u_long lasttime; /* last time clock heard from */ member in struct:eesunit
762 ees->lasttime = current_time;
1443 if ((current_time - eesunits[unit]->lasttime) > 150)
/freebsd-12-stable/sys/compat/linuxkpi/common/include/linux/
H A Dkernel.h547 struct timeval lasttime; member in struct:linux_ratelimit
554 return (ppsratecheck(&rl->lasttime, &rl->counter, 1));
/freebsd-12-stable/contrib/ntp/include/
H A Dntp_request.h725 u_int32 lasttime; /* last packet from this host */ member in struct:old_info_monitor
/freebsd-12-stable/sys/netinet/
H A Dsctp_cc_functions.c1934 net->cc_mod.htcp_ca.lasttime = now;
1940 (now - net->cc_mod.htcp_ca.lasttime >= net->cc_mod.htcp_ca.minRTT) &&
1942 uint32_t cur_Bi = net->cc_mod.htcp_ca.bytecount / net->mtu * hz / (now - net->cc_mod.htcp_ca.lasttime);
1955 net->cc_mod.htcp_ca.lasttime = now;
H A Dsctp_structs.h220 uint32_t lasttime; member in struct:htcp
/freebsd-12-stable/contrib/ntp/ntpq/
H A Dntpq-subs.c1489 l_fp *lasttime; local
1492 lasttime = rec;
1494 lasttime = reftime;
1498 if (ts->l_ui < lasttime->l_ui)
1500 return (ts->l_ui - lasttime->l_ui);
/freebsd-12-stable/usr.sbin/ntp/ntpdc/
H A Dnl.c618 printf("offsetof(lasttime) = %d\n",
619 (int) offsetof(struct old_info_monitor, lasttime));
/freebsd-12-stable/sys/dev/ncr/
H A Dncr.c1076 time_t lasttime; member in struct:ncb
3779 np->lasttime=0;
5065 if (np->lasttime != thistime) {
5066 np->lasttime = thistime;
/freebsd-12-stable/sys/contrib/ipfilter/netinet/
H A Dfil.c5485 ppsratecheck(lasttime, curpps, maxpps)
5486 struct timeval *lasttime;
5495 delta.tv_sec = tv.tv_sec - lasttime->tv_sec;
5496 delta.tv_usec = tv.tv_usec - lasttime->tv_usec;
5505 * lasttime, reset the counter.
5510 if ((lasttime->tv_sec == 0 && lasttime->tv_usec == 0) ||
5512 *lasttime = tv;
/freebsd-12-stable/contrib/ntp/ntpdc/
H A Dntpdc_ops.c2053 " address port count mode version lasttime firsttime\n");
2064 (u_long)ntohl(oml->lasttime),

Completed in 466 milliseconds