Home
last modified time | relevance | path

Searched refs:now (Results 176 – 200 of 720) sorted by relevance

12345678910>>...29

/illumos-gate/usr/src/lib/libsasl/lib/
H A Dsaslutil.c255 time_t now; in sasl_mkchal() local
287 time(&now); in sasl_mkchal()
290 snprintf(buf,maxlen, "<%lu.%lu@%s>", randnum, now, conn->serverFQDN); in sasl_mkchal()
292 snprintf(buf,maxlen, "<%lu.%lu>", randnum, now); in sasl_mkchal()
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/rcache/
H A Drc_file.c477 get_boot_time(krb5_timestamp now) in get_boot_time() argument
510 kn->value.i32 > now || in get_boot_time()
564 krb5_timestamp now; in krb5_rc_file_store() local
566 if (krb5_timeofday(context, &now) != 0) in krb5_rc_file_store()
578 krb5_timestamp btime = get_boot_time(now); in krb5_rc_file_store()
644 else if (boot_time <= 1 || rep->ctime > (now + KRB5_RC_FSYNCLESS_FAST_SKEW)) in krb5_rc_file_store()
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dgic_pwd.c429 krb5_timestamp now; in __krb5_get_init_creds_password() local
440 ((ret = krb5_timeofday(context, &now)) == 0) && in __krb5_get_init_creds_password()
442 ((hours = ((as_reply->enc_part2->key_exp-now)/(60*60))) <= 7*24) && in __krb5_get_init_creds_password()
471 if ((ret = krb5_timeofday(context, &now))) in __krb5_get_init_creds_password()
478 delta = (*last_req)->value - now; in __krb5_get_init_creds_password()
/illumos-gate/usr/src/cmd/zic/
H A Dtzselect.po35 msgid "Local time is now: %s"
37 msgid "Universal Time is now: %s"
/illumos-gate/usr/src/cmd/latencytop/common/
H A Dlatencytop.d155 this unsigned long long now; variable
160 this->now = timestamp;
163 ? this->end : this->now;
165 self->lt_sch_delay = this->now - this->end;
H A Ddwrapper.c539 uint64_t now = lt_millisecond(); in lt_dtrace_work() local
541 if (!force && now - last_snap < g_config.lt_cfg_snap_interval) { in lt_dtrace_work()
542 return (last_snap + g_config.lt_cfg_snap_interval - now); in lt_dtrace_work()
557 last_snap = now; in lt_dtrace_work()
/illumos-gate/usr/src/ucblib/librpcsoc/
H A Dclnt_tcp.c113 struct timeval now; in clnttcp_create() local
175 (void) gettimeofday(&now, (struct timezone *)0); in clnttcp_create()
176 call_msg.rm_xid = getpid() ^ now.tv_sec ^ now.tv_usec; in clnttcp_create()
/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)
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/
H A Deventlog_log.c110 struct timeval now; in logr_syslog_set_timestamp() local
121 (void) gettimeofday(&now, NULL); in logr_syslog_set_timestamp()
122 (void) localtime_r(&now.tv_sec, &cur_tm); in logr_syslog_set_timestamp()
/illumos-gate/usr/src/uts/sun4v/sys/
H A Dmachclock.h254 #define GET_HRTIME(base, now, nslt, scale, scr, hrlock, gnt1, gnt2, label) \ argument
262 GET_NATIVE_TIME(now,gnt1,gnt2,label); /* get current %stick */ \
263 subcc now, nslt, nslt; /* nslt = ticks since last clockint */ \
/illumos-gate/usr/src/lib/libsip/common/
H A Dsip_timeout.c180 hrtime_t now; in sip_timeout() local
190 now = (hrtime_t)tspec.tv_sec * (hrtime_t)NANOSEC + tspec.tv_nsec; in sip_timeout()
192 (hrtime_t)(timeout_time->tv_usec * MILLISEC) + now; in sip_timeout()
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/
H A Dlog.c166 time_t now = time((time_t *)0); in execlog() local
168 fdprintf (fd, "%24.24s: ", ctime(&now)); in execlog()
/illumos-gate/usr/src/uts/common/fs/smbclnt/smbfs/
H A Dsmbfs_client.c258 hrtime_t delta, now; in smbfs_attrcache_fa() local
279 now = gethrtime(); in smbfs_attrcache_fa()
299 np->r_mtime = now; in smbfs_attrcache_fa()
304 delta = now - np->r_mtime; in smbfs_attrcache_fa()
318 np->r_attrtime = now + delta; in smbfs_attrcache_fa()
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/bridged/
H A Devents.c592 hrtime_t last_time, now; in event_loop() local
605 now = gethrtime(); in event_loop()
606 if (now - last_time >= 1000000000ll) { in event_loop()
609 last_time = now; in event_loop()
611 tout = 1000 - (now - last_time) / 1000000ll; in event_loop()
/illumos-gate/usr/src/cmd/sa/
H A Dsadc.c127 hrtime_t now, pause, pause_left; in sleep_until() local
130 now = gethrtime(); in sleep_until()
131 pause = *wakeup + interval - now; in sleep_until()
136 *wakeup = now + interval; in sleep_until()
167 now = gethrtime(); in sleep_until()
168 pause_left = *wakeup - now; in sleep_until()
/illumos-gate/usr/src/lib/krb5/kadm5/srv/
H A Dserver_acl.c409 krb5_int32 now; local
417 if ((code = krb5_timeofday(kcontext, &now)))
442 || (recp->princ_expire_time > (now + rp->princ_lifetime)))
443 recp->princ_expire_time = now + rp->princ_lifetime;
448 || (recp->pw_expiration > (now + rp->pw_lifetime)))
449 recp->pw_expiration = now + rp->pw_lifetime;
H A Dserver_kdb.c360 krb5_int32 now; in kdb_put_entry() local
365 ret = krb5_timeofday(handle->context, &now); in kdb_put_entry()
369 ret = krb5_dbe_update_mod_princ_data(handle->context, kdb, now, in kdb_put_entry()
/illumos-gate/usr/src/test/zfs-tests/tests/functional/inheritance/
H A Dstate023.cfg38 # the top levels (now default) values
41 # the middle levels (now default) values
/illumos-gate/usr/src/cmd/sendmail/util/
H A Dmailstats.c63 time_t now; variable
276 (void) time(&now);
278 (long) stats.stat_itime, (long) now);
/illumos-gate/usr/src/lib/libnisdb/
H A Ddb_mindex.cc440 struct timeval now; in first() local
441 (void) gettimeofday(&now, NULL); in first()
442 if (now.tv_sec >= table->mapping.enumExpire) { in first()
445 table->mapping.enumExpire = now.tv_sec + in first()
672 struct timeval now; in all() local
673 (void) gettimeofday(&now, NULL); in all()
674 if (now.tv_sec >= table->mapping.enumExpire) { in all()
/illumos-gate/usr/src/uts/intel/io/vmm/io/
H A Dvrtc.c971 const hrtime_t now = gethrtime(); in vrtc_rega_write() local
983 vrtc->base_clock = now - (NANOSEC / 2); in vrtc_rega_write()
1003 const hrtime_t since_last = now - vrtc->base_clock; in vrtc_rega_write()
1011 vrtc->last_period = now; in vrtc_rega_write()
1349 const hrtime_t now = gethrtime(); in vrtc_data_write() local
1350 if (base_clock > now || last_period > now) { in vrtc_data_write()
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dclnt_door.c89 struct timeval now; in clnt_door_create() local
127 (void) gettimeofday(&now, NULL); in clnt_door_create()
128 call_msg.rm_xid = getpid() ^ now.tv_sec ^ now.tv_usec; in clnt_door_create()
/illumos-gate/usr/src/cmd/intrstat/
H A Dintrstat.c368 hrtime_t last, now; in main() local
600 now = gethrtime(); in main()
601 g_interval = now - last; in main()
602 last = now; in main()
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_property/
H A Dzfs_written_property_001_pos.ksh197 log_must zfs snapshot -r $TESTPOOL/$TESTFS1@now
199 writtenat=$(get_prop written@now $ds)
204 writtenat=$(get_prop written@now $ds)
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dsyslog.c177 time_t now; in vsyslog() local
258 (void) time(&now); in vsyslog()
259 (void) sprintf(o, "%.15s ", ctime_r(&now, timestr, 26) + 4); in vsyslog()

12345678910>>...29