Searched refs:lasttime (Results 1 – 7 of 7) sorted by relevance
| /f-stack/lib/ |
| H A D | ff_glue.c | 486 ratecheck(struct timeval *lasttime, const struct timeval *mininterval) in ratecheck() argument 493 timevalsub(&delta, lasttime); in ratecheck() 500 (lasttime->tv_sec == 0 && lasttime->tv_usec == 0)) { in ratecheck() 501 *lasttime = tv; in ratecheck() 523 ppsratecheck(struct timeval *lasttime, int *curpps, int maxpps) in ppsratecheck() argument 533 if (lasttime->tv_sec == 0 || (u_int)(now - lasttime->tv_sec) >= hz) { in ppsratecheck() 534 lasttime->tv_sec = now; in ppsratecheck()
|
| /f-stack/freebsd/netgraph/ |
| H A D | ng_async.c | 84 long lasttime; /* Time of last async packet sent */ member 369 sc->lasttime = 0; in nga_disconnect() 454 if (time.tv_sec >= sc->lasttime + 1) { in nga_rcv_sync() 456 sc->lasttime = time.tv_sec; in nga_rcv_sync()
|
| /f-stack/freebsd/kern/ |
| H A D | kern_time.c | 1026 ratecheck(struct timeval *lasttime, const struct timeval *mininterval) in ratecheck() argument 1033 timevalsub(&delta, lasttime); in ratecheck() 1040 (lasttime->tv_sec == 0 && lasttime->tv_usec == 0)) { in ratecheck() 1041 *lasttime = tv; in ratecheck() 1063 ppsratecheck(struct timeval *lasttime, int *curpps, int maxpps) in ppsratecheck() argument 1073 if (lasttime->tv_sec == 0 || (u_int)(now - lasttime->tv_sec) >= hz) { in ppsratecheck() 1074 lasttime->tv_sec = now; in ppsratecheck()
|
| H A D | kern_sig.c | 3512 struct timespec lasttime; in corefile_open_last() local 3547 lasttime.tv_sec > vattr.va_mtime.tv_sec || in corefile_open_last() 3548 (lasttime.tv_sec == vattr.va_mtime.tv_sec && in corefile_open_last() 3549 lasttime.tv_nsec >= vattr.va_mtime.tv_nsec)) { in corefile_open_last() 3554 lasttime = vattr.va_mtime; in corefile_open_last()
|
| /f-stack/freebsd/netinet/ |
| H A D | sctp_cc_functions.c | 1925 net->cc_mod.htcp_ca.lasttime = now; in measure_achieved_throughput() 1931 (now - net->cc_mod.htcp_ca.lasttime >= net->cc_mod.htcp_ca.minRTT) && in measure_achieved_throughput() 1933 …32_t cur_Bi = net->cc_mod.htcp_ca.bytecount / net->mtu * hz / (now - net->cc_mod.htcp_ca.lasttime); in measure_achieved_throughput() 1946 net->cc_mod.htcp_ca.lasttime = now; in measure_achieved_throughput()
|
| H A D | sctp_structs.h | 217 uint32_t lasttime; member
|
| /f-stack/freebsd/contrib/ipfilter/netinet/ |
| H A D | fil.c | 5487 ppsratecheck(lasttime, curpps, maxpps) in ppsratecheck() argument 5488 struct timeval *lasttime; in ppsratecheck() 5497 delta.tv_sec = tv.tv_sec - lasttime->tv_sec; 5498 delta.tv_usec = tv.tv_usec - lasttime->tv_usec; 5512 if ((lasttime->tv_sec == 0 && lasttime->tv_usec == 0) || 5514 *lasttime = tv;
|