/titanic_50/usr/src/cmd/krb5/krb5kdc/ |
H A D | replay.c | 56 #define STALE(ptr) ((abs((ptr)->timein - timenow) >= STALE_TIME) || \ 73 krb5_int32 timenow; in kdc_check_lookaside() local 77 if (krb5_timeofday(kdc_context, &timenow) || in kdc_check_lookaside() 126 krb5_int32 timenow; in kdc_insert_lookaside() local 129 if (krb5_timeofday(kdc_context, &timenow) || in kdc_insert_lookaside() 137 eptr->timein = timenow; in kdc_insert_lookaside()
|
H A D | kdc_preauth.c | 1254 krb5_timestamp timenow; in verify_enc_timestamp() local 1296 if ((retval = krb5_timeofday(context, &timenow)) != 0) in verify_enc_timestamp() 1299 if (labs(timenow - pa_enc->patimestamp) > context->clockskew) { in verify_enc_timestamp() 2258 krb5_timestamp timenow; in verify_sam_response() local 2310 if ((retval = krb5_timeofday(context, &timenow))) in verify_sam_response() 2322 if (timenow - psr->stime > rc_lifetime) { in verify_sam_response() 2367 if (labs(timenow - sr->sam_patimestamp) > context->clockskew) { in verify_sam_response()
|
/titanic_50/usr/src/cmd/cmd-inet/usr.lib/mdnsd/ |
H A D | mDNS.c | 795 if ((rr->LastAPTime + rr->ThisAPInterval) - m->timenow > mDNSPlatformOneSecond * 10) in SetNextAnnounceProbeTime() 797 …xt in %d %s", rr->ProbeCount, (rr->LastAPTime + rr->ThisAPInterval) - m->timenow, ARDisplayString(… in SetNextAnnounceProbeTime() 798 …ssProbes %d m->timenow %d diff %d", m->SuppressProbes, m->timenow, m->SuppressProbes - m->timenow); in SetNextAnnounceProbeTime() 806 if (m->NextScheduledProbe - m->timenow < 0) in SetNextAnnounceProbeTime() 807 m->NextScheduledProbe = m->timenow; in SetNextAnnounceProbeTime() 835 if (m->SuppressProbes == 0 || m->SuppressProbes - m->timenow < 0) in InitializeLastAPTime() 843 …m->SuppressProbes = NonZeroTime(m->timenow + DefaultProbeIntervalForTypeUnique/2 + mDNSRandom(Defa… in InitializeLastAPTime() 848 …if (m->SuppressProbes - m->timenow < 0) // Make sure we don't set m->SuppressProbes excessivel… in InitializeLastAPTime() 849 m->SuppressProbes = m->timenow; in InitializeLastAPTime() 854 …if (m->SuppressProbes - m->timenow < 0) // Make sure we don't set m->SuppressProbes excessivel… in InitializeLastAPTime() [all …]
|
H A D | uDNS.c | 70 rr->LastAPTime = m->timenow; in SetRecordRetry() 74 mDNSs32 remaining = rr->expire - m->timenow; in SetRecordRetry() 84 …rr->ThisAPInterval/mDNSPlatformOneSecond, (rr->expire - m->timenow)/mDNSPlatformOneSecond, ARDispl… in SetRecordRetry() 90 …rr->ThisAPInterval/mDNSPlatformOneSecond, (rr->expire - m->timenow)/mDNSPlatformOneSecond, ARDispl… in SetRecordRetry() 185 (*p)->lasttest = m->timenow - INIT_UCAST_POLL_INTERVAL; in mDNS_AddDNSServer() 250 q->qDNSServer->penaltyTime = NonZeroTime(m->timenow + DNSSERVER_PENALTY_TIME); in PenalizeDNSServer() 295 q->LastQTime = m->timenow - q->ThisQInterval; in PenalizeDNSServer() 355 if ((*p)->deltime && m->timenow - (*p)->deltime >= 0 && AutoTunnelUnregistered(*p)) in GetAuthInfoForName_internal() 469 m->retryGetAddr = NonZeroTime(m->timenow + 0x78000000); in uDNS_RequestAddress() 472 else if (m->timenow - m->retryGetAddr >= 0) in uDNS_RequestAddress() [all …]
|
H A D | DNSCommon.c | 3455 rr->TimeRcvd = m ? m->timenow : 0; in GetLargeResourceRecord() 3457 …rr->NextRequiredQuery = m ? m->timenow : 0; // Will be updated to the real value when we call … in GetLargeResourceRecord() 3458 rr->LastUsed = m ? m->timenow : 0; in GetLargeResourceRecord() 3863 if (m->timenow) in mDNS_Lock_() 3864 …LogMsg("%s: mDNS_Lock: m->timenow already set (%ld/%ld)", functionname, m->timenow, mDNS_TimeNow_N… in mDNS_Lock_() 3865 m->timenow = mDNS_TimeNow_NoLock(m); in mDNS_Lock_() 3866 if (m->timenow == 0) m->timenow = 1; in mDNS_Lock_() 3868 else if (m->timenow == 0) in mDNS_Lock_() 3871 m->timenow = mDNS_TimeNow_NoLock(m); in mDNS_Lock_() 3872 if (m->timenow == 0) m->timenow = 1; in mDNS_Lock_() [all …]
|
H A D | PlatformCommon.c | 156 …mDNSs32 t = mDNSStorage.timenow ? mDNSStorage.timenow : mDNSPlatformClockDivisor ? mDNS_TimeNow_No… in mDNSPlatformWriteLogMsg()
|
H A D | mDNSEmbeddedAPI.h | 2299 …mDNSs32 timenow; // The time that this particular activation of the mDNS code s… member
|
H A D | uds_daemon.c | 3528 if ((m->timenow - question->StopTime) >= 0) in queryrecord_result_callback()
|
/titanic_50/usr/src/cmd/fs.d/nfs/mountd/ |
H A D | netgroup.c | 222 time_t timenow = time(NULL); in cache_check() local 236 if (timenow > ce->cache_time) { in cache_check() 242 if (timenow > ce->cache_time) in cache_check()
|
/titanic_50/usr/src/cmd/fs.d/autofs/ |
H A D | autod_main.c | 103 time_t timenow; variable 379 if (ctime_r(&timenow, ctime_buf, CTIME_BUF_LEN) == NULL) in autofs_unmount_1_r() 411 if (ctime_r(&timenow, ctime_buf, CTIME_BUF_LEN) == NULL) in autofs_lookup_1_r() 453 if (ctime_r(&timenow, ctime_buf, CTIME_BUF_LEN) == NULL) in autofs_mntinfo_1_r() 723 timenow = time((time_t *)NULL); in autofs_doorfunc()
|
H A D | automount.h | 250 extern time_t timenow; /* set at start of processing of each RPC call */
|
H A D | autod_nfs.c | 2560 timenow = time(NULL); 2579 if (timenow > cachep->cache_time) { 2592 cp && (cp->cache_time >= timenow); 2659 timenow = time(NULL); 2695 cachep->cache_time = timenow + portmap_cache_valid_time; 3709 timenow = time(NULL); 3724 entry->cache_time = timenow + cache_time; 3743 timenow = time(NULL); 3756 if (timenow > ce->cache_time) { 3761 if (timenow > ce->cache_time) {
|
/titanic_50/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | main.c | 1611 static struct timeval timenow; /* Current time */ variable 1636 (void) gettimeofday(&timenow, NULL); 1637 newp->c_time.tv_sec = timenow.tv_sec + time; 1638 newp->c_time.tv_usec = timenow.tv_usec; 1688 if (gettimeofday(&timenow, NULL) < 0) in calltimeout() 1690 if (!(p->c_time.tv_sec < timenow.tv_sec in calltimeout() 1691 || (p->c_time.tv_sec == timenow.tv_sec in calltimeout() 1692 && p->c_time.tv_usec <= timenow.tv_usec))) in calltimeout() 1713 (void) gettimeofday(&timenow, NULL); 1714 tvp->tv_sec = callout->c_time.tv_sec - timenow.tv_sec; [all …]
|
/titanic_50/usr/src/lib/libnsl/rpc/ |
H A D | svc.c | 1773 time_t timenow = time(NULL); in __svc_dup() local 1794 if ((dr = __svc_dupcache_victim(dc, timenow)) == NULL) in __svc_dup() 1797 if ((rc = __svc_dupcache_enter(req, dr, dc, drxid, drhash, timenow)) in __svc_dup() 1882 __svc_dupcache_victim(struct dupcache *dc, time_t timenow) in __svc_dupcache_victim() argument 1898 ((timenow - dr->dr_time) > dc->dc_time)) { in __svc_dupcache_victim() 1975 struct dupcache *dc, uint32_t drxid, uint32_t drhash, time_t timenow) in __svc_dupcache_enter() argument 1995 dr->dr_time = timenow; in __svc_dupcache_enter() 2067 time_t timenow = time(NULL); in __svc_dupcache_update() local 2104 dr->dr_time = timenow; in __svc_dupcache_update()
|
/titanic_50/usr/src/cmd/login/ |
H A D | login.c | 730 time_t timenow; in log_bad_attempts() local 735 (void) time(&timenow); in log_bad_attempts() 740 (void) strncat(log_entry[trys], ctime(&timenow), TIME_SIZE); in log_bad_attempts()
|