/freebsd/stand/i386/libi386/ |
H A D | spinconsole.c | 81 static time_t lasttime = 0; in spinc_putchar() local 85 if (now < (lasttime + 1)) in spinc_putchar() 88 if (lasttime > 0) in spinc_putchar() 91 lasttime = now; in spinc_putchar()
|
H A D | time.c | 70 static time_t lasttime; in time() local 83 if (now < lasttime) in time() 85 lasttime = now; in time()
|
/freebsd/contrib/ntp/sntp/libevent/sample/ |
H A D | time-test.c | 38 struct timeval lasttime; variable 50 evutil_timersub(&newtime, &lasttime, &difference); in timeout_cb() 56 lasttime = newtime; in timeout_cb() 101 evutil_gettimeofday(&lasttime, NULL); in main()
|
/freebsd/contrib/libevent/sample/ |
H A D | time-test.c | 38 struct timeval lasttime; variable 50 evutil_timersub(&newtime, &lasttime, &difference); in timeout_cb() 56 lasttime = newtime; in timeout_cb() 101 evutil_gettimeofday(&lasttime, NULL); in main()
|
/freebsd/contrib/ntp/scripts/monitoring/ |
H A D | ntploopstat | 267 undef($lasttime); 395 if (defined($lasttime) && ($lasttime + 2) >= $time) 423 $lasttime = $time;
|
/freebsd/sys/netgraph/ |
H A D | ng_async.c | 82 long lasttime; /* Time of last async packet sent */ member 367 sc->lasttime = 0; in nga_disconnect() 452 if (time.tv_sec >= sc->lasttime + 1) { in nga_rcv_sync() 454 sc->lasttime = time.tv_sec; in nga_rcv_sync()
|
/freebsd/sys/kern/ |
H A D | kern_time.c | 1075 ratecheck(struct timeval *lasttime, const struct timeval *mininterval) in ratecheck() 1082 timevalsub(&delta, lasttime); in ratecheck() 1089 (lasttime->tv_sec == 0 && lasttime->tv_usec == 0)) { in ratecheck() 1090 *lasttime = tv; in ratecheck() 1112 eventratecheck(struct timeval *lasttime, int *cureps, int maxeps) in eventratecheck() 1119 * lasttime. in eventratecheck() 1122 if (lasttime->tv_sec == 0 || (u_int)(now - lasttime->tv_sec) >= hz) { in eventratecheck() 1123 lasttime in eventratecheck() 1074 ratecheck(struct timeval * lasttime,const struct timeval * mininterval) ratecheck() argument 1111 eventratecheck(struct timeval * lasttime,int * cureps,int maxeps) eventratecheck() argument [all...] |
H A D | kern_sig.c | 3862 struct timespec lasttime; in corefile_open_last() local 3897 lasttime.tv_sec > vattr.va_mtime.tv_sec || in corefile_open_last() 3898 (lasttime.tv_sec == vattr.va_mtime.tv_sec && in corefile_open_last() 3899 lasttime.tv_nsec >= vattr.va_mtime.tv_nsec)) { in corefile_open_last() 3904 lasttime = vattr.va_mtime; in corefile_open_last()
|
/freebsd/sys/compat/linuxkpi/common/include/linux/ |
H A D | kernel.h | 285 struct timeval lasttime; member 292 return (ppsratecheck(&rl->lasttime, &rl->counter, 1)); in linux_ratelimited()
|
/freebsd/contrib/ntp/ntpd/ |
H A D | refclock_bancomm.c | 157 u_long lasttime; /* last time clock heard from */ member 429 vme->lasttime = current_time; in vme_poll()
|
H A D | refclock_msfees.c | 251 u_long lasttime; /* last time clock heard from */ member 762 ees->lasttime = current_time; in ees_receive() 1443 if ((current_time - eesunits[unit]->lasttime) > 150) in msfees_poll()
|
/freebsd/contrib/ntp/ntpq/ |
H A D | ntpq-subs.c | 1507 l_fp *lasttime; in when() local 1510 lasttime = rec; in when() 1512 lasttime = reftime; in when() 1516 if (ts->l_ui < lasttime->l_ui) in when() 1518 return (ts->l_ui - lasttime->l_ui); in when()
|
/freebsd/sys/netinet/ |
H A D | sctp_cc_functions.c | 1926 net->cc_mod.htcp_ca.lasttime = now; in measure_achieved_throughput() 1932 (now - net->cc_mod.htcp_ca.lasttime >= net->cc_mod.htcp_ca.minRTT) && in measure_achieved_throughput() 1934 …32_t cur_Bi = net->cc_mod.htcp_ca.bytecount / net->mtu * hz / (now - net->cc_mod.htcp_ca.lasttime); in measure_achieved_throughput() 1947 net->cc_mod.htcp_ca.lasttime = now; in measure_achieved_throughput()
|
H A D | sctp_structs.h | 234 uint32_t lasttime; member
|
/freebsd/contrib/ntp/ntpdc/ |
H A D | layout.std | 314 offsetof(lasttime) = 0
|
H A D | ntpdc_ops.c | 2064 (u_long)ntohl(oml->lasttime), in monlist()
|
/freebsd/contrib/ntp/include/ |
H A D | ntp_request.h | 725 u_int32 lasttime; /* last packet from this host */ member
|
/freebsd/usr.sbin/ntp/ntpdc/ |
H A D | nl.c | 618 (int) offsetof(struct old_info_monitor, lasttime));
|
/freebsd/sys/netpfil/ipfilter/netinet/ |
H A D | fil.c | 5351 ppsratecheck(struct timeval *lasttime, int *curpps, int maxpps) in ppsratecheck() argument 5359 delta.tv_sec = tv.tv_sec - lasttime->tv_sec; in ppsratecheck() 5360 delta.tv_usec = tv.tv_usec - lasttime->tv_usec; in ppsratecheck() 5374 if ((lasttime->tv_sec == 0 && lasttime->tv_usec == 0) || in ppsratecheck() 5376 *lasttime = tv; in ppsratecheck()
|
/freebsd/sys/fs/nfs/ |
H A D | nfs_commonsubs.c | 3935 static time_t lasttime = 0; in nfssvc_idname() local 4182 if (lasttime < NFSD_MONOSEC && in nfssvc_idname() 4259 lasttime = NFSD_MONOSEC; in nfssvc_idname()
|
/freebsd/contrib/ntp/ |
H A D | CommitLog | [all...] |