Searched defs:now (Results 76 - 100 of 446) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/cmd/krb5/kadmin/ktutil/
H A Dktutil_funcs.c113 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 Dkwarndtest.c138 time_t now; local
152 time(&now);
154 exptime = now + exptime;
/illumos-gate/usr/src/cmd/krb5/ldap_util/
H A Dkdb5_ldap_policy.c116 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 DThreadUnix.cpp101 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 Dttymon.c554 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 Dk5seal.c381 krb5_timestamp now; local
417 if ((code = krb5_timeofday(context, &now))) {
457 if (ctx->endtime < now) {
H A Dk5unseal.c81 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 Dsdev_ipnetops.c49 timestruc_t now; local
55 gethrestime(&now);
56 vap->va_atime = now;
57 vap->va_mtime = now;
58 vap->va_ctime = now;
H A Dsdev_netops.c79 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 Dsharefs_vnops.c162 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 Dquota_ufs.c142 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 Dclnt_tcp.c120 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 Ddrm_irq.c538 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 Ddapl_osd.c238 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 Dgcpu_poll_ntv.c65 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 Dtminit.c216 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 Dtmxfmt.c118 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 Dclock_highres.c234 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 Dinq_context.c104 krb5_timestamp now; local
129 if ((code = krb5_timeofday(context, &now))) {
137 if ((lifetime = ctx->endtime - now) < 0)
H A Daccept_sec_context.c303 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 Dmetarpcopen.c79 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 Dunix_acct.c153 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 Dcontext_establish.c481 * 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 Drc_file.c362 /* 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 Dprof_file.c313 time_t now; local
322 now = time(0);
323 if (now == data->last_stat && data->root != NULL) {
332 data->last_stat = now;

Completed in 145 milliseconds

1234567891011>>