/illumos-gate/usr/src/cmd/krb5/kadmin/ktutil/ |
H A D | ktutil_funcs.c | 113 krb5_timestamp now; local 127 /* now unparse in order to get the default realm appended 135 retval = krb5_timeofday(context, &now); 229 lp->entry->timestamp = now;
|
/illumos-gate/usr/src/cmd/krb5/kwarn/ |
H A D | kwarndtest.c | 138 time_t now; local 152 time(&now); 154 exptime = now + exptime;
|
/illumos-gate/usr/src/cmd/krb5/ldap_util/ |
H A D | kdb5_ldap_policy.c | 116 time_t now = 0; local 132 time (&now); 147 policyparams->maxtktlife = date - now; 161 policyparams->maxrenewlife = date - now; 452 time_t now = 0; local 513 time (&now); 528 policyparams->maxtktlife = date - now; 542 policyparams->maxrenewlife = date - now;
|
/illumos-gate/usr/src/cmd/lms/SyncLib/src/ |
H A D | ThreadUnix.cpp | 101 timeval now; local 104 gettimeofday(&now, NULL); 107 timeout.tv_sec = now.tv_sec + time.tv_sec; 108 timeout.tv_nsec = now.tv_usec + time.tv_nsec; 137 timeval now; local 140 gettimeofday(&now, &tz); 141 _startTime = now.tv_sec; 186 timeval now; local 188 gettimeofday(&now, &tz); 189 return ((now [all...] |
/illumos-gate/usr/src/cmd/ttymon/ |
H A D | ttymon.c | 554 time_t now; local 556 (void) time(&now); 558 pmptr->p_time = now; 560 if ((now - pmptr->p_time) < SPAWN_INTERVAL) { 561 pmptr->p_time = now; 565 pmptr->p_time = now;
|
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/mech/ |
H A D | k5seal.c | 381 krb5_timestamp now; local 417 if ((code = krb5_timeofday(context, &now))) { 457 if (ctx->endtime < now) {
|
H A D | k5unseal.c | 81 krb5_timestamp now; local 597 if ((code = krb5_timeofday(context, &now))) { 606 if (now > ctx->endtime) { 610 "now %d > ctx->endtime %d\n", now, ctx->endtime);
|
/illumos-gate/usr/src/uts/common/fs/dev/ |
H A D | sdev_ipnetops.c | 49 timestruc_t now; local 55 gethrestime(&now); 56 vap->va_atime = now; 57 vap->va_mtime = now; 58 vap->va_ctime = now;
|
H A D | sdev_netops.c | 79 timestruc_t now; local 98 gethrestime(&now); 99 vap->va_atime = now; 100 vap->va_mtime = now; 101 vap->va_ctime = now;
|
/illumos-gate/usr/src/uts/common/fs/sharefs/ |
H A D | sharefs_vnops.c | 162 timestruc_t now; local 190 gethrestime(&now); 191 vap->va_atime = vap->va_ctime = now;
|
/illumos-gate/usr/src/uts/common/fs/ufs/ |
H A D | quota_ufs.c | 142 time_t now; local 332 now = gethrestime_sec(); 336 dqp->dq_btimelimit = now + 342 } else if (now > dqp->dq_btimelimit && !force) { 432 time_t now; local 443 * Quotas are not enabled so bail out now. 529 now = gethrestime_sec(); 533 dqp->dq_ftimelimit = now + ufsvfsp->vfs_ftimelimit; 537 } else if (now > dqp->dq_ftimelimit && !force) {
|
/illumos-gate/usr/src/ucblib/librpcsoc/ |
H A D | clnt_tcp.c | 120 struct timeval now; local 183 (void) gettimeofday(&now, (struct timezone *)0); 184 call_msg.rm_xid = getpid() ^ now.tv_sec ^ now.tv_usec; 285 /* now decode and validate the response header */
|
/illumos-gate/usr/src/uts/common/io/drm/ |
H A D | drm_irq.c | 538 struct timeval now; local 539 (void) uniqtime(&now); 540 vblwait.reply.tval_sec = now.tv_sec; 541 vblwait.reply.tval_usec = now.tv_usec;
|
/illumos-gate/usr/src/lib/udapl/udapl_tavor/common/ |
H A D | dapl_osd.c | 238 struct timeval now; local 242 (void) gettimeofday(&now, &tz); 243 microsecs = now.tv_usec + (timeout_val % 1000000); 245 now.tv_sec = now.tv_sec + timeout_val / 1000000 + 1; 246 now.tv_usec = microsecs - 1000000; 248 now.tv_sec = now.tv_sec + timeout_val / 1000000; 249 now.tv_usec = microsecs; 253 future.tv_sec = now [all...] |
/illumos-gate/usr/src/uts/i86pc/cpu/generic_cpu/ |
H A D | gcpu_poll_ntv.c | 65 hrtime_t now = gethrtime_waitfree(); local 69 if (now - mch_poll_timestamp > 2 * gcpu_mca_poll_interval || 78 mch_poll_timestamp = now;
|
/illumos-gate/usr/src/lib/libast/common/tm/ |
H A D | tminit.c | 216 time_t now; local 261 time(&now); 262 n = tzwest(&now, &isdst); 271 now -= 31 * 24 * 60 * 60; 272 if ((m = tzwest(&now, &isdst)) != n) 288 * now get the time zone names 416 now = (time_t)78811200; /* Jun 30 1972 23:59:60 */ 417 tp = tmlocaltime(&now);
|
H A D | tmxfmt.c | 118 Time_t now; local 342 now = tmxgettime(); 343 if (warped(t, now)) 411 now = tmxgettime(); 412 p = warped(t, now) ? (char*)0 : (char*)format; 439 now = t; 447 cp += sfsprintf(cp, ep - cp, fmt, tmxsec(now)); 450 n = sfsprintf(cp, ep - cp, ".%09I*u", sizeof(Tmxnsec_t), tmxnsec(now));
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | clock_highres.c | 234 hrtime_t diff, now = gethrtime(); local 249 if (start > now) { 253 diff = start - now; 267 diff = (now - start) % interval; 273 if (now - diff > last) { 335 * Okay, now we can safely look at the bindings.
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/ |
H A D | inq_context.c | 104 krb5_timestamp now; local 129 if ((code = krb5_timeofday(context, &now))) { 137 if ((lifetime = ctx->endtime - now) < 0)
|
H A D | accept_sec_context.c | 303 krb5_timestamp now; local 352 /* initialize the delegated cred handle to NO_CREDENTIAL for now */ 428 * We need to decode the request now so that we can get the 487 "orig major_status = %d, now = GSS_S_NO_CRED\n", 509 "orig major_status = %d, now = GSS_S_NO_CRED\n", 639 /* stash this now, for later. */ 794 /* ignore any additional trailing data, for now */ 1000 if ((code = krb5_timeofday(context, &now))) { 1005 if (ctx->endtime < now) { 1121 *time_rec = ctx->endtime - now; [all...] |
/illumos-gate/usr/src/lib/lvm/libmeta/common/ |
H A D | metarpcopen.c | 79 struct timeval now; local 83 if (gettimeofday(&now, NULL) == -1) { 94 (*cachep)[i]->cc_ttl = now; 106 (*cachep)[i]->cc_ttl = now; 336 struct timeval now; local 361 if (gettimeofday(&now, NULL) == -1) { 386 delta = now.tv_sec -
|
/illumos-gate/usr/src/lib/pam_modules/unix_account/ |
H A D | unix_acct.c | 153 time_t now = DAY_NOW; local 165 ((time_t)shpwd->sp_lstchg > now) || 166 ((now >= (time_t)(shpwd->sp_lstchg + 186 time_t now = DAY_NOW; local 211 if (now < (time_t)(shpwd->sp_lstchg + shpwd->sp_max)) 219 if (idledays > 0 && (now < (time_t)(shpwd->sp_lstchg + idledays))) 246 time_t now = DAY_NOW; local 252 (now + shpwd.sp_warn) >= (time_t)(shpwd.sp_lstchg + shpwd.sp_max)) { 253 days = (time_t)(shpwd.sp_lstchg + shpwd.sp_max) - now;
|
/illumos-gate/usr/src/lib/gss_mechs/mech_dh/backend/mech/ |
H A D | context_establish.c | 481 * The context is now established for us, though we may still 532 /* This is now a valid context */ 676 time_t now = time(0); /* Used to set the expire time */ local 757 expire : expire + now; 865 /* We now have an established context */
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/rcache/ |
H A D | rc_file.c | 362 /* now read in each auth_replay and insert into table */ 477 get_boot_time(krb5_timestamp now) argument 510 kn->value.i32 > now || 538 * than now + that small delta causes an fsync() of the rcache. Early 564 krb5_timestamp now; local 566 if (krb5_timeofday(context, &now) != 0) 578 krb5_timestamp btime = get_boot_time(now); 644 else if (boot_time <= 1 || rep->ctime > (now + KRB5_RC_FSYNCLESS_FAST_SKEW))
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/profile/ |
H A D | prof_file.c | 313 time_t now; local 322 now = time(0); 323 if (now == data->last_stat && data->root != NULL) { 332 data->last_stat = now;
|