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

/netbsd-current/external/bsd/libbind/dist/isc/
H A Dev_timers.c115 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 Dev_timers.c127 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 Dnpf_conndb.c391 struct timespec tsnow; local
396 getnanouptime(&tsnow);
411 gc_conns = npf_conndb_gc_incr(npf, cd, tsnow.tv_sec);
H A Dnpf_conn.c277 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 Dsys_sig.c742 struct timespec ts, tsstart, tsnow; local
840 getnanouptime(&tsnow);
843 timespecsub(&tsnow, &tsstart, &tsnow);
846 timespecsub(&ts, &tsnow, &ts);

Completed in 212 milliseconds