Searched refs:tsnow (Results 1 - 5 of 5) sorted by relevance
/netbsd-current/external/bsd/libbind/dist/isc/ |
H A D | ev_timers.c | 115 struct timespec tsnow; local 122 if (clock_gettime(m, &tsnow) == 0) 123 return (tsnow); 134 struct timespec tsnow; local 135 if (clock_gettime(CLOCK_REALTIME, &tsnow) == 0) 136 return (tsnow);
|
/netbsd-current/lib/libc/isc/ |
H A D | ev_timers.c | 127 struct timespec tsnow; local 136 if (clock_gettime(m, &tsnow) == 0) 137 return (tsnow); 148 struct timespec tsnow; local 149 if (clock_gettime(CLOCK_REALTIME, &tsnow) == 0) 150 return (tsnow);
|
/netbsd-current/sys/net/npf/ |
H A D | npf_conndb.c | 391 struct timespec tsnow; local 396 getnanouptime(&tsnow); 411 gc_conns = npf_conndb_gc_incr(npf, cd, tsnow.tv_sec);
|
H A D | npf_conn.c | 277 struct timespec tsnow; local 279 getnanouptime(&tsnow); 280 atomic_store_relaxed(&con->c_atime, tsnow.tv_sec); 713 npf_conn_expired(npf_t *npf, const npf_conn_t *con, uint64_t tsnow) argument 728 elapsed = (int64_t)tsnow - atomic_load_relaxed(&con->c_atime);
|
/netbsd-current/sys/kern/ |
H A D | sys_sig.c | 742 struct timespec ts, tsstart, tsnow; local 840 getnanouptime(&tsnow); 843 timespecsub(&tsnow, &tsstart, &tsnow); 846 timespecsub(&ts, &tsnow, &ts);
|
Completed in 212 milliseconds