Home
last modified time | relevance | path

Searched refs:tsnow (Results 1 – 5 of 5) sorted by relevance

/netbsd/external/bsd/libbind/dist/isc/
H A Dev_timers.c115 struct timespec tsnow; in evNowTime() local
122 if (clock_gettime(m, &tsnow) == 0) in evNowTime()
123 return (tsnow); in evNowTime()
134 struct timespec tsnow; in evUTCTime() local
135 if (clock_gettime(CLOCK_REALTIME, &tsnow) == 0) in evUTCTime()
136 return (tsnow); in evUTCTime()
/netbsd/lib/libc/isc/
H A Dev_timers.c127 struct timespec tsnow; in evNowTime() local
136 if (clock_gettime(m, &tsnow) == 0) in evNowTime()
137 return (tsnow); in evNowTime()
148 struct timespec tsnow; in evUTCTime() local
149 if (clock_gettime(CLOCK_REALTIME, &tsnow) == 0) in evUTCTime()
150 return (tsnow); in evUTCTime()
/netbsd/sys/net/npf/
H A Dnpf_conndb.c391 struct timespec tsnow; in npf_conndb_gc() local
396 getnanouptime(&tsnow); in npf_conndb_gc()
411 gc_conns = npf_conndb_gc_incr(npf, cd, tsnow.tv_sec); in npf_conndb_gc()
H A Dnpf_conn.c277 struct timespec tsnow; in conn_update_atime() local
279 getnanouptime(&tsnow); in conn_update_atime()
280 atomic_store_relaxed(&con->c_atime, tsnow.tv_sec); in conn_update_atime()
713 npf_conn_expired(npf_t *npf, const npf_conn_t *con, uint64_t tsnow) in npf_conn_expired() argument
728 elapsed = (int64_t)tsnow - atomic_load_relaxed(&con->c_atime); in npf_conn_expired()
/netbsd/sys/kern/
H A Dsys_sig.c738 struct timespec ts, tsstart, tsnow; in sigtimedwait1() local
836 getnanouptime(&tsnow); in sigtimedwait1()
839 timespecsub(&tsnow, &tsstart, &tsnow); in sigtimedwait1()
842 timespecsub(&ts, &tsnow, &ts); in sigtimedwait1()