| /freebsd-12.1/stand/i386/libi386/ |
| H A D | spinconsole.c | 85 static time_t lasttime = 0; in spinc_putchar() local 89 if (now < (lasttime + 1)) in spinc_putchar() 92 if (lasttime > 0) in spinc_putchar() 95 lasttime = now; in spinc_putchar()
|
| H A D | time.c | 73 static time_t lasttime; in time() local 86 if (now < lasttime) in time() 88 lasttime = now; in time()
|
| /freebsd-12.1/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-12.1/contrib/ntp/scripts/monitoring/ |
| H A D | ntploopstat | 267 undef($lasttime); 395 if (defined($lasttime) && ($lasttime + 2) >= $time) 423 $lasttime = $time;
|
| /freebsd-12.1/sys/netgraph/ |
| H A D | ng_async.c | 85 long lasttime; /* Time of last async packet sent */ member 370 sc->lasttime = 0; in nga_disconnect() 456 if (time.tv_sec >= sc->lasttime + 1) { in nga_rcv_sync() 458 sc->lasttime = time.tv_sec; in nga_rcv_sync()
|
| /freebsd-12.1/sys/kern/ |
| H A D | kern_time.c | 1035 ratecheck(struct timeval *lasttime, const struct timeval *mininterval) in ratecheck() argument 1042 timevalsub(&delta, lasttime); in ratecheck() 1049 (lasttime->tv_sec == 0 && lasttime->tv_usec == 0)) { in ratecheck() 1050 *lasttime = tv; in ratecheck() 1072 ppsratecheck(struct timeval *lasttime, int *curpps, int maxpps) in ppsratecheck() argument 1082 if (lasttime->tv_sec == 0 || (u_int)(now - lasttime->tv_sec) >= hz) { in ppsratecheck() 1083 lasttime->tv_sec = now; in ppsratecheck()
|
| H A D | kern_sig.c | 3356 struct timespec lasttime; in corefile_open_last() local 3391 lasttime.tv_sec > vattr.va_mtime.tv_sec || in corefile_open_last() 3392 (lasttime.tv_sec == vattr.va_mtime.tv_sec && in corefile_open_last() 3393 lasttime.tv_nsec >= vattr.va_mtime.tv_nsec)) { in corefile_open_last() 3397 lasttime = vattr.va_mtime; in corefile_open_last()
|
| /freebsd-12.1/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-12.1/sys/fs/nfs/ |
| H A D | nfs_commonport.c | 405 static time_t lasttime = 0; in newnfs_timer() local 411 if (lasttime != NFSD_MONOSEC) { in newnfs_timer() 412 lasttime = NFSD_MONOSEC; in newnfs_timer()
|
| H A D | nfs_commonsubs.c | 3666 static time_t lasttime = 0; in nfssvc_idname() local 3911 if (lasttime < NFSD_MONOSEC && in nfssvc_idname() 3988 lasttime = NFSD_MONOSEC; in nfssvc_idname()
|
| /freebsd-12.1/sys/compat/linuxkpi/common/include/linux/ |
| H A D | kernel.h | 507 struct timeval lasttime; member 514 return (ppsratecheck(&rl->lasttime, &rl->counter, 1)); in linux_ratelimited()
|
| /freebsd-12.1/contrib/ntp/ntpq/ |
| H A D | ntpq-subs.c | 1489 l_fp *lasttime; in when() local 1492 lasttime = rec; in when() 1494 lasttime = reftime; in when() 1498 if (ts->l_ui < lasttime->l_ui) in when() 1500 return (ts->l_ui - lasttime->l_ui); in when()
|
| /freebsd-12.1/sys/netinet/ |
| H A D | sctp_cc_functions.c | 1937 net->cc_mod.htcp_ca.lasttime = now; in measure_achieved_throughput() 1943 (now - net->cc_mod.htcp_ca.lasttime >= net->cc_mod.htcp_ca.minRTT) && in measure_achieved_throughput() 1945 …32_t cur_Bi = net->cc_mod.htcp_ca.bytecount / net->mtu * hz / (now - net->cc_mod.htcp_ca.lasttime); in measure_achieved_throughput() 1958 net->cc_mod.htcp_ca.lasttime = now; in measure_achieved_throughput()
|
| H A D | sctp_structs.h | 223 uint32_t lasttime; member
|
| /freebsd-12.1/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-12.1/contrib/ntp/include/ |
| H A D | ntp_request.h | 725 u_int32 lasttime; /* last packet from this host */ member
|
| /freebsd-12.1/sys/contrib/ipfilter/netinet/ |
| H A D | fil.c | 5489 ppsratecheck(lasttime, curpps, maxpps) in ppsratecheck() argument 5490 struct timeval *lasttime; in ppsratecheck() 5499 delta.tv_sec = tv.tv_sec - lasttime->tv_sec; 5500 delta.tv_usec = tv.tv_usec - lasttime->tv_usec; 5514 if ((lasttime->tv_sec == 0 && lasttime->tv_usec == 0) || 5516 *lasttime = tv;
|
| /freebsd-12.1/usr.sbin/ntp/ntpdc/ |
| H A D | nl.c | 619 (int) offsetof(struct old_info_monitor, lasttime));
|
| /freebsd-12.1/sys/dev/ncr/ |
| H A D | ncr.c | 1076 time_t lasttime; member 3779 np->lasttime=0; 5065 if (np->lasttime != thistime) { 5066 np->lasttime = thistime;
|
| /freebsd-12.1/contrib/ntp/ |
| H A D | CommitLog | 151200 use, lasttime -> avg_int and firsttime -> last_int. 151212 use, lasttime -> avg_int and firsttime -> last_int 151220 use, lasttime -> avg_int and firsttime -> last_int. 151242 use, lasttime -> avg_int and firsttime -> last_int. 151269 use, lasttime -> avg_int and firsttime -> last_int. 151284 use, lasttime -> avg_int and firsttime -> last_int 151288 use, lasttime -> avg_int and firsttime -> last_int
|