Home
last modified time | relevance | path

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

/freebsd/stand/i386/libi386/
H A Dspinconsole.c81 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 Dtime.c70 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 Dtime-test.c38 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 Dtime-test.c38 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 Dntploopstat267 undef($lasttime);
395 if (defined($lasttime) && ($lasttime + 2) >= $time)
423 $lasttime = $time;
/freebsd/sys/netgraph/
H A Dng_async.c82 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 Dkern_time.c1075 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 Dkern_sig.c3862 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 Dkernel.h285 struct timeval lasttime; member
292 return (ppsratecheck(&rl->lasttime, &rl->counter, 1)); in linux_ratelimited()
/freebsd/contrib/ntp/ntpd/
H A Drefclock_bancomm.c157 u_long lasttime; /* last time clock heard from */ member
429 vme->lasttime = current_time; in vme_poll()
H A Drefclock_msfees.c251 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 Dntpq-subs.c1507 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 Dsctp_cc_functions.c1926 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 Dsctp_structs.h234 uint32_t lasttime; member
/freebsd/contrib/ntp/ntpdc/
H A Dlayout.std314 offsetof(lasttime) = 0
H A Dntpdc_ops.c2064 (u_long)ntohl(oml->lasttime), in monlist()
/freebsd/contrib/ntp/include/
H A Dntp_request.h725 u_int32 lasttime; /* last packet from this host */ member
/freebsd/usr.sbin/ntp/ntpdc/
H A Dnl.c618 (int) offsetof(struct old_info_monitor, lasttime));
/freebsd/sys/netpfil/ipfilter/netinet/
H A Dfil.c5351 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 Dnfs_commonsubs.c3935 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 DCommitLog[all...]