Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/hal/hald/
H A Dlogger.c144 struct timeval tnow; in logger_emit() local
174 gettimeofday (&tnow, &tzone); in logger_emit()
175 tlocaltime = localtime (&tnow.tv_sec); in logger_emit()
181 …snprintf (logmsg, sizeof(logmsg), "[%d]: %s.%03d %s %s:%d: %s\n", pid, tbuf, (int)(tnow.tv_usec/10… in logger_emit()
183 …snprintf (logmsg, sizeof(logmsg), "%s.%03d %s %s:%d: %s\n", tbuf, (int)(tnow.tv_usec/1000), pri, f… in logger_emit()
215 struct timeval tnow; in logger_forward_debug() local
229 gettimeofday (&tnow, &tzone); in logger_forward_debug()
230 tlocaltime = localtime (&tnow.tv_sec); in logger_forward_debug()
234 syslog (LOG_INFO, "%d: %s.%03d: %s", pid, tbuf, (int)(tnow.tv_usec/1000), buf); in logger_forward_debug()
236 fprintf (stderr, "%d: %s.%03d: %s", pid, tbuf, (int)(tnow.tv_usec/1000), buf); in logger_forward_debug()
/illumos-gate/usr/src/cmd/backup/dump/
H A Ddumpoptr.c297 time_t tnow, deltat; in timeest() local
304 (void) time(&tnow); in timeest()
305 if ((force || tnow >= *tschedule) && blkswritten) { in timeest()
306 *tschedule = tnow + EST_SEC; in timeest()
309 deltat = (*telapsed + (tnow - *tstart_writing)) in timeest()
367 time_t tnow, ddate; in lastdump() local
372 (void) time(&tnow); in lastdump()
396 if ((time_t)(itwalk->id_ddate) < (tnow - DAY)) { in lastdump()
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/
H A Dsrvsvc_clnt.c363 time_t tnow; in srvsvc_timecheck() local
372 tnow = time(NULL); in srvsvc_timecheck()
374 if (tnow > dc_tv.tv_sec) in srvsvc_timecheck()
375 tdiff = (tnow - dc_tv.tv_sec) / SECSPERMIN; in srvsvc_timecheck()
377 tdiff = (dc_tv.tv_sec - tnow) / SECSPERMIN; in srvsvc_timecheck()
389 tm = gmtime(&tnow); in srvsvc_timecheck()
H A Dsmb_quota.c934 time_t tnow = time(NULL); in smb_quota_tree_expired() local
935 return ((tnow - qtree->qt_timestamp) > SMB_QUOTA_REFRESH); in smb_quota_tree_expired()
/illumos-gate/usr/src/cmd/bhyve/
H A Drfb.c1252 hrtime_t tnow; in rfb_client_tx_thread() local
1267 tnow = gethrtime(); in rfb_client_tx_thread()
1268 tdiff = NSEC2USEC(tnow - tprev); in rfb_client_tx_thread()
1272 tprev = tnow; in rfb_client_tx_thread()