Searched refs:tnow (Results 1 – 5 of 5) sorted by relevance
/titanic_44/usr/src/cmd/hal/hald/ |
H A D | logger.c | 144 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()
|
/titanic_44/usr/src/cmd/backup/dump/ |
H A D | dumpoptr.c | 315 time_t tnow, deltat; local 322 (void) time(&tnow); 323 if ((force || tnow >= *tschedule) && blkswritten) { 324 *tschedule = tnow + EST_SEC; 327 deltat = (*telapsed + (tnow - *tstart_writing)) 386 time_t tnow, ddate; local 391 (void) time(&tnow); 415 if ((time_t)(itwalk->id_ddate) < (tnow - DAY)) {
|
/titanic_44/usr/src/lib/libunistat/common/ |
H A D | spcs_log.c | 110 time_t tnow; in spcstime() local 112 tnow = time((time_t *)0); in spcstime() 113 cftime(timeptr, "%b %d %T", &tnow); in spcstime()
|
/titanic_44/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | mlsvc_client.c | 574 time_t tnow; in ndr_srvsvc_timecheck() local 583 tnow = time(NULL); in ndr_srvsvc_timecheck() 585 if (tnow > dc_tv.tv_sec) in ndr_srvsvc_timecheck() 586 tdiff = (tnow - dc_tv.tv_sec) / SECSPERMIN; in ndr_srvsvc_timecheck() 588 tdiff = (dc_tv.tv_sec - tnow) / SECSPERMIN; in ndr_srvsvc_timecheck() 600 tm = gmtime(&tnow); in ndr_srvsvc_timecheck()
|
H A D | smb_quota.c | 930 time_t tnow = time(NULL); in smb_quota_tree_expired() local 931 return ((tnow - qtree->qt_timestamp) > SMB_QUOTA_REFRESH); in smb_quota_tree_expired()
|