Searched defs:now (Results 151 - 175 of 446) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/uts/common/os/
H A Ddtrace_subr.c135 hrtime_t now; local
165 now = ((hrtime_t)snap.dthr_hrestime.tv_sec * (hrtime_t)NANOSEC) +
178 now += adj;
181 return (now);
/illumos-gate/usr/src/lib/lvm/libmeta/common/
H A Dmeta_set_drv.c215 md_timeval32_t now; local
377 now = sd->sd_ctime;
447 if (clnt_adddrvs(nd->nd_nodename, sp, dd, now, genid,
460 if (clnt_adddrvs(sd->sd_nodes[i], sp, dd, now, genid,
1026 md_timeval32_t now; local
1094 now = sd->sd_ctime;
1134 if (clnt_imp_adddrvs(mynode(), sp, dd, now, genid, ep) == -1)
1526 * they haven't really been deleted yet. Check and delete now
/illumos-gate/usr/src/lib/pam_modules/krb5/
H A Dkrb5_authenticate.c510 krb5_timestamp now; local
590 if (code = krb5_timeofday(kmd->kcontext, &now)) {
603 krb5_max_duration = KRB5_KDB_EXPIRATION - now - 60*60;
646 my_creds->times.endtime = now + lifetime;
649 my_creds->times.renew_till = now + rlife;
698 * Note, the logic now is that if the preauth_type is PKINIT then
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/
H A Deventlog_log.c110 struct timeval now; local
121 (void) gettimeofday(&now, NULL);
122 (void) localtime_r(&now.tv_sec, &cur_tm);
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dgic_pwd.c339 strcpy(banner, "Password expired. You must change it now.");
425 krb5_timestamp now; local
436 ((ret = krb5_timeofday(context, &now)) == 0) &&
438 ((hours = ((as_reply->enc_part2->key_exp-now)/(60*60))) <= 7*24) &&
467 if ((ret = krb5_timeofday(context, &now)))
474 delta = (*last_req)->value - now;
H A Dstr_conv.c163 time_t now, ret_time;
184 now = time((time_t *) NULL);
191 (void) localtime_r(&now, &timebuf);
193 memcpy(&timebuf, localtime(&now), sizeof(timebuf));
162 time_t now, ret_time; local
/illumos-gate/usr/src/lib/libsasl/lib/
H A Dsaslutil.c255 time_t now; local
287 time(&now);
290 snprintf(buf,maxlen, "<%lu.%lu@%s>", randnum, now, conn->serverFQDN);
292 snprintf(buf,maxlen, "<%lu.%lu>", randnum, now);
/illumos-gate/usr/src/lib/libslp/clib/
H A DSLPReg.c660 /* through with msg, so free it now */
748 time_t now, shortest_wait; local
758 now = time(NULL);
759 shortest_wait = now + reregs->lifetime;
762 if (now > (p->wake_time - granularity)) {
766 (void) slp_sign(&(p->msg->urlbytes), 1, now + p->lifetime,
768 (void) slp_sign(&(p->msg->attrbytes), 1, now + p->lifetime,
776 p->wake_time = now + p->lifetime;
/illumos-gate/usr/src/lib/libsmbfs/smb/
H A Dntlm.c598 struct timeval now; local
611 (void) gettimeofday(&now, 0);
612 smb_time_local2NT(&now, 0, &nt_time);
H A Drcfile.c344 int now, new; local
354 now = eval_minauth(rkp->rk_value);
356 if (new <= now) {
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dclnt_dg.c141 struct timeval now; local
206 (void) gettimeofday(&now, NULL);
207 call_msg.rm_xid = getpid() ^ now.tv_sec ^ now.tv_usec;
493 /* We have some data now */
545 /* we now assume we have the proper reply */
550 * now decode and validate the response
/illumos-gate/usr/src/lib/libresolv2/common/isc/
H A Dev_timers.c111 struct timeval now; local
123 if (gettimeofday(&now, NULL) < 0)
125 return (evTimeSpec(now));
130 struct timeval now; local
136 if (gettimeofday(&now, NULL) < 0)
138 return (evTimeSpec(now));
200 /* due={0,0} is a magic cookie meaning "now." */
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dsyslog.c177 time_t now; local
257 (void) time(&now);
258 (void) sprintf(o, "%.15s ", ctime_r(&now, timestr, 26) + 4);
/illumos-gate/usr/src/cmd/vscan/vscand/
H A Dvs_eng.c191 * or less connections are configured now, connections need
245 * or less connections are configured now, connections need
296 struct timeval now; local
308 (void) gettimeofday(&now, NULL);
309 expire = now.tv_sec - vs_inactivity_timeout;
/illumos-gate/usr/src/cmd/ypcmd/yppasswd/
H A Dchangepasswd.c126 time_t now; local
579 now = DAY_NOW;
582 if (now < ospwd.sp_lstchg + ospwd.sp_min) {
590 ospwd.sp_lstchg = now;
/illumos-gate/usr/src/cmd/mailx/
H A Dnames.c205 time_t now; local
257 time(&now);
258 date = ctime(&now);
338 * the list; now for sake of header expansion
H A Dsend.c731 time_t now; local
745 time(&now);
749 fprintf(fo, "From %s %s", n, ctime(&now));
/illumos-gate/usr/src/cmd/sendmail/libmilter/
H A Dworker.c338 time_t now; local
347 now = time(NULL);
350 if (lastcheck + DT_CHECK_OLD_SESSIONS < now)
361 ctx->ctx_wait = now;
363 < now)
381 lastcheck = now;
408 ctx->ctx_wait = now;
461 WAITFN, now, nfd));
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dmci.c131 time_t now; local
150 now = curtime();
160 if ((mci->mci_lastuse + MciCacheTimeout <= now ||
388 time_t now = curtime(); local
391 if (mci->mci_lastuse + MciInfoTimeout <= now)
393 mci->mci_lastuse = now;
608 ** amount of space we can stop right now. The check will not
/illumos-gate/usr/src/cmd/intrstat/
H A Dintrstat.c367 hrtime_t last, now; local
599 now = gethrtime();
600 g_interval = now - last;
601 last = now;
/illumos-gate/usr/src/cmd/ipcs/
H A Dipcs.c118 time_t now; /* date */ local
201 now = time(NULL);
202 (void) strftime(tbuf, sizeof (tbuf), dfmt, localtime(&now));
/illumos-gate/usr/src/cmd/krb5/klist/
H A Dklist.c73 krb5_int32 now; variable
258 now = time(0);
262 if (!krb5_timestamp_to_sfstring(now, tmp, 20, (char *) NULL) ||
263 !krb5_timestamp_to_sfstring(now, tmp, sizeof(tmp),
490 creds.times.endtime > now)
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/krb5/krb/
H A Dinit_ctx.c77 /* The des-mdX entries are last for now, because it's easy to
80 des-crc for now. */
365 krb5_int32 now, now_usec; member in struct:__anon4682
456 if ((retval = krb5_crypto_us_timeofday(&seed_data.now, &seed_data.now_usec)))
633 XXX - For now, we only support libdefaults
/illumos-gate/usr/src/uts/common/idmap/
H A Didmap_cache.c327 time_t now = gethrestime_sec(); local
337 if (result->uid != UNDEF_UID && result->uid_ttl > now) {
357 time_t now = gethrestime_sec(); local
367 if (result->gid != UNDEF_GID && result->gid_ttl > now) {
387 time_t now = gethrestime_sec(); local
398 if (result->is_user && result->uid_ttl > now) {
402 } else if (!result->is_user && result->gid_ttl > now) {
425 time_t now = gethrestime_sec(); local
434 if (result->ttl > now) {
455 time_t now local
797 time_t now = gethrestime_sec(); local
820 time_t now = gethrestime_sec(); local
[all...]
/illumos-gate/usr/src/uts/common/fs/specfs/
H A Dspecsubr.c227 time_t now; local
232 now = gethrestime_sec();
244 sp->s_atime = now;
245 sp->s_mtime = now;
246 sp->s_ctime = now;
709 time_t now = gethrestime_sec(); local
714 ((flag & SACC) && (sp->s_atime != now)) ||
715 ((flag & SUPD) && (sp->s_mtime != now)) ||
716 ((flag & SCHG) && (sp->s_ctime != now))) {
721 sp->s_atime = now;
[all...]

Completed in 116 milliseconds

1234567891011>>