/illumos-gate/usr/src/cmd/krb5/klist/ |
H A D | klist.c | 72 krb5_int32 now; variable 257 now = time(0); 261 if (!krb5_timestamp_to_sfstring(now, tmp, 20, (char *) NULL) || 262 !krb5_timestamp_to_sfstring(now, tmp, sizeof(tmp), 489 creds.times.endtime > now)
|
/illumos-gate/usr/src/cmd/krb5/kinit/ |
H A D | kinit.c | 865 krb5_timestamp now; local 888 if ((code = krb5_timeofday(k5->ctx, &now))) { 892 krb5_max_duration = KRB5_KDB_EXPIRATION - now - 60*60;
|
/illumos-gate/usr/src/cmd/krb5/kadmin/dbutil/ |
H A D | kdb5_util.c | 602 krb5_timestamp now; local 678 ret = krb5_timeofday(util_context, &now); 685 ret = krb5_dbe_update_last_pwd_change(util_context, &dbent, now);
|
H A D | kdb5_create.c | 471 krb5_timestamp now; local 487 if ((retval = krb5_timeofday(context, &now))) 491 now, &db_create_princ)))
|
/illumos-gate/usr/src/cmd/krb5/kadmin/cli/ |
H A D | kadmin.c | 948 time_t now; local 956 time(&now); 1043 oprinc->max_life = date - now; 1062 oprinc->max_renewable_life = date - now; 1695 time_t now; local 1698 time(&now); 1712 policy->pw_max_life = date - now; 1727 policy->pw_min_life = date - now;
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | auth.c | 1337 long now = time(NULL) / 86400L; local 1339 if ((spwd->sp_expire > 0 && now >= spwd->sp_expire) 1342 && now >= spwd->sp_lstchg + spwd->sp_max)) {
|
/illumos-gate/usr/src/boot/i386/pmbr/ |
H A D | pmbr.s | 105 jc err_rd # need lba mode for now
|
/illumos-gate/usr/src/boot/i386/libi386/ |
H A D | time.c | 73 time_t now, check; in time() local 79 now = check; in time() 81 if (check != now) in time() 85 if (now < lasttime) in time() 86 now += 24 * 3600; in time() 87 lasttime = now; in time() 90 *t = now; in time() 91 return(now); in time()
|
/illumos-gate/usr/src/cmd/sgs/libelf/common/ |
H A D | xlate64.m4 | 793 * Right now - the only 64bit binaries I know 1380 * location now. 1444 * next location now.
|
H A D | xlate.m4 | 1389 * location now. 1453 * next location now.
|
/illumos-gate/usr/src/uts/common/dtrace/ |
H A D | dtrace.c | 6697 hrtime_t now; in dtrace_action_chill() local 6706 now = dtrace_gethrtime(); in dtrace_action_chill() 6712 cpu->cpu_dtrace_chillmark = now; in dtrace_action_chill() 6935 hrtime_t now, end; in dtrace_probe() local 6980 now = dtrace_gethrtime(); in dtrace_probe() 11560 hrtime_t now; in dtrace_buffer_switch() local 11566 now = dtrace_gethrtime(); in dtrace_buffer_switch() 11578 buf->dtb_switched = now; in dtrace_buffer_switch() 13747 hrtime_t now; in dtrace_state_deadman() local 13751 now = dtrace_gethrtime(); in dtrace_state_deadman() [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop.c | 900 volatile time_t now; in snoop_alarm() local 913 now = time(NULL); in snoop_alarm() 916 sh->s_time = now + s_sec; in snoop_alarm() 959 now + 1; in snoop_alarm() 971 (void) alarm(nalarm - now); in snoop_alarm() 1022 volatile time_t now; in snoop_sigrecover() local 1034 now = time(NULL); in snoop_sigrecover() 1038 if ((hp->s_time - now) > 0) { in snoop_sigrecover() 1040 nalarm = now < hp->s_time ? in snoop_sigrecover() 1041 hp->s_time : now + 1; in snoop_sigrecover() [all …]
|
/illumos-gate/usr/src/uts/common/fs/proc/ |
H A D | prvnops.c | 3022 timestruc_t now; in prgetattr() local 3110 gethrestime(&now); in prgetattr() 3111 vap->va_atime = vap->va_mtime = vap->va_ctime = now; in prgetattr() 3124 gethrestime(&now); in prgetattr() 3125 vap->va_atime = vap->va_mtime = vap->va_ctime = now; in prgetattr()
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | sunddi.c | 5243 time_t now; in ddi_get_time() local 5245 if ((now = gethrestime_sec()) == 0) { in ddi_get_time() 5252 return (now); in ddi_get_time()
|
H A D | sunpm.c | 1196 time_t *timestamp, idletime, now, thresh; in pm_scan_dev() local 1247 now = gethrestime_sec(); in pm_scan_dev() 1287 idletime = now - timestamp[i]; /* idle time */ in pm_scan_dev() 6589 time_t now, service_seconds, tdiff; in pm_trans_check() local 6688 now = gethrestime_sec(); in pm_trans_check() 6693 now = ((now + DC_SPD -1) / DC_SPD) * DC_SPD; in pm_trans_check() 6694 if (service_seconds > now) { in pm_trans_check() 6696 "than now (%ld)!\n", pmf, service_seconds, now)) in pm_trans_check() 6700 tdiff = now - service_seconds; in pm_trans_check() 6770 *intervalp = (when_allowed - now); in pm_trans_check()
|
/illumos-gate/usr/src/uts/common/inet/ |
H A D | squeue.c | 335 hrtime_t now; in squeue_enter() local 467 now = gethrtime(); in squeue_enter() 469 sqp->sq_drain(sqp, SQS_ENTER, now + squeue_drain_ns); in squeue_enter() 606 hrtime_t now; in squeue_drain() local 727 now = gethrtime(); in squeue_drain() 728 if ((now < expire) || (proc_type == SQS_WORKER)) { in squeue_drain() 996 hrtime_t now; in squeue_polling_thread() local 998 now = gethrtime(); in squeue_polling_thread() 1000 sqp->sq_drain(sqp, SQS_POLL_PROC, now + in squeue_polling_thread() 1186 hrtime_t now; in squeue_worker() local [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ping/ |
H A D | ping.c | 2595 hrtime_t now; in ns_warning_thr() local 2598 now = gethrtime(); in ns_warning_thr() 2601 now - ns_starttime >= ns_warntime * NANOSEC) { in ns_warning_thr()
|
/illumos-gate/usr/src/uts/common/io/comstar/stmf/ |
H A D | stmf.c | 7833 clock_t start, now, deadline; in stmf_wait_ilu_tasks_finish() local 7835 start = now = ddi_get_lbolt(); in stmf_wait_ilu_tasks_finish() 7841 now = ddi_get_lbolt(); in stmf_wait_ilu_tasks_finish() 7842 if (now > deadline) { in stmf_wait_ilu_tasks_finish() 7849 deadline = now + drv_usectohz(stmf_io_deadman * in stmf_wait_ilu_tasks_finish() 7855 DTRACE_PROBE1(deadman__timeout__wait, clock_t, now - start); in stmf_wait_ilu_tasks_finish()
|
/illumos-gate/usr/src/lib/fm/topo/modules/common/ses/ |
H A D | ses.c | 956 hrtime_t now; in ses_node_lock() local 972 now = gethrtime(); in ses_node_lock() 1007 } else if (now - tp->set_snaptime > (ses_snap_freq * 1000 * 1000) && in ses_node_lock()
|
/illumos-gate/usr/src/tools/scripts/ |
H A D | nightly | 825 now=$(LC_ALL=C date +%Y-%b-%d) 826 DEV_CM_TAIL="development build: $LOGNAME $now [$basews]"
|
H A D | bldenv | 260 now=$(LC_ALL=C date +%Y-%b-%d) 261 DEV_CM_TAIL="development build: $LOGNAME $now [$basews]"
|
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_common_open.c | 797 hrtime_t now = gethrtime(); in smb_common_open() local 798 if (now < t1) { in smb_common_open() 799 delay(NSEC_TO_TICK_ROUNDUP(t1 - now)); in smb_common_open()
|
/illumos-gate/usr/src/cmd/sgs/rtld/common/ |
H A D | analyze.c | 286 relocate_so(Lm_list *lml, Rt_map *lmp, int *relocated, int now, int *in_nfavl) in relocate_so() argument 301 if ((LM_RELOC(lmp)(lmp, now, in_nfavl, &textrel) == 0) && in relocate_so()
|
/illumos-gate/usr/src/uts/sun4u/opl/io/ |
H A D | drmach.c | 3104 volatile uint64_t now; \ 3107 now = start; \ 3108 while ((now - start) <= nstick) { \ 3110 now = drmach_get_stick_il(); \ 3255 uint64_t last, now; in drmach_copy_rename_prog__relocatable() local 3294 now = prog->stat->nbytes[i]; in drmach_copy_rename_prog__relocatable() 3295 if (now <= last) { in drmach_copy_rename_prog__relocatable() 4125 uint64_t last, now; in drmach_copy_rename() local 4147 now = prog->stat->nbytes[cpuid]; in drmach_copy_rename() 4148 if (now <= last) { in drmach_copy_rename() [all …]
|
/illumos-gate/usr/src/lib/libadutils/common/ |
H A D | addisc.c | 1055 time_t now = time(NULL); in ad_disc_done() local 1057 ctx->expires_not_before = now + MINIMUM_TTL; in ad_disc_done() 1058 ctx->expires_not_after = now + MAXIMUM_TTL; in ad_disc_done()
|