Home
last modified time | relevance | path

Searched refs:now (Results 101 – 125 of 720) sorted by relevance

12345678910>>...29

/illumos-gate/usr/src/uts/common/io/scsi/adapters/smrt/
H A Dsmrt_ciss_simple.c26 hrtime_t now = gethrtime(); in smrt_isr_hw_simple() local
31 smrt->smrt_last_interrupt_unclaimed = now; in smrt_isr_hw_simple()
46 smrt->smrt_last_interrupt_unclaimed = now; in smrt_isr_hw_simple()
59 smrt->smrt_last_interrupt_claimed = now; in smrt_isr_hw_simple()
/illumos-gate/usr/src/grub/grub-0.97/
H A DNEWS66 * Support for booting Linux is rewritten, so GRUB now supports
271 * The command "install" can now patch a Stage 2 with a different
317 * The address argument for the command "install" is now optional.
378 * GRUB now correctly points ES:SI at a partition descriptor when
416 MPS 1.4 standard, GRUB now checks for a pointer in the EBDA.
424 * "Extended" partitions now work (still cannot make an extended
427 * The build environment is greatly simplified, now using an
456 * Block-list and FAT filesystems now work as documented (in
458 "0+1,512" now work correctly).
533 * Stage 1.5 works now. Default setup is now for working with a BSD
[all …]
/illumos-gate/usr/src/uts/i86pc/os/
H A Dmemscrub.c296 time_t now = gethrestime_sec(); in memscrubber() local
298 if (now >= deadline) { in memscrubber()
300 memscrub_late_sec += (now - deadline); in memscrubber()
306 deadline = now + memscrub_period_sec; in memscrubber()
312 interval_sec = deadline - now; in memscrubber()
/illumos-gate/usr/src/uts/common/os/
H A Dclock_highres.c269 hrtime_t diff, now = gethrtime(); in clock_highres_timer_gettime() local
284 if (start > now) { in clock_highres_timer_gettime()
288 diff = start - now; in clock_highres_timer_gettime()
302 diff = (now - start) % interval; in clock_highres_timer_gettime()
308 if (now - diff > last) { in clock_highres_timer_gettime()
H A Dmsacct.c246 hrtime_t now; in mstate_thread_onproc_time() local
266 now = gethrtime_unscaled(); in mstate_thread_onproc_time()
275 waitrq = now; in mstate_thread_onproc_time()
305 hrtime_t now; in mstate_systhread_times() local
326 now = gethrtime_unscaled(); in mstate_systhread_times()
330 waitrq = now; in mstate_systhread_times()
336 if (waitrq < now) in mstate_systhread_times()
337 aggr_run += now - waitrq; in mstate_systhread_times()
H A Dcondvar.c231 clock_t now = ddi_get_lbolt(); in cv_timedwait() local
233 if (tim <= now) in cv_timedwait()
236 hrtim = TICK_TO_NSEC(tim - now); in cv_timedwait()
769 timestruc_t now; in cv_waituntil_sig() local
777 gethrestime(&now); in cv_waituntil_sig()
779 timespecsub(&delta, &now); in cv_waituntil_sig()
812 gethrestime(&now); in cv_waituntil_sig()
814 timespecsub(&delta, &now); in cv_waituntil_sig()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/bltins/
H A Dalarm.c190 double now; in putval() local
194 now = tmp.tv_sec + 1.e-6*tmp.tv_usec; in putval()
196 now = (double)time(NIL(time_t*)); in putval()
202 double x = d + now; in putval()
206 d -= now; in putval()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/tm/
H A Dtmxfmt.c118 Time_t now; in tmxfmt() local
396 now = tmxgettime(); in tmxfmt()
397 if (warped(t, now)) in tmxfmt()
491 now = tmxgettime(); in tmxfmt()
492 p = warped(t, now) ? (char*)0 : (char*)format; in tmxfmt()
519 now = t; in tmxfmt()
527 cp += sfsprintf(cp, ep - cp, fmt, tmxsec(now)); in tmxfmt()
530 n = sfsprintf(cp, ep - cp, ".%09I*u", sizeof(Tmxnsec_t), tmxnsec(now)); in tmxfmt()
/illumos-gate/usr/src/cmd/w/
H A Dw.c124 static time_t now; /* current time of day */ variable
286 (void) time(&now); /* get current time */ in main()
289 prtat(&now); in main()
295 uptime = now - ut->ut_xtime; in main()
472 (void) time(&now); /* get current time */ in main()
615 if (now - *time <= 18 * HR) { in prtat()
621 } else if (now - *time <= 7 * DAY) { in prtat()
650 diff = now - lastaction; in findidle()
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/
H A Dstatus.c94 time_t now; in load_pstatus() local
102 (void) time(&now); in load_pstatus()
223 pps->dis_date = now; in load_pstatus()
258 PStatus[i]->dis_date = now; in load_pstatus()
259 PStatus[i]->rej_date = now; in load_pstatus()
348 time_t now; in load_cstatus() local
353 (void) time(&now); in load_cstatus()
446 CStatus[i]->rej_date = now; in load_cstatus()
/illumos-gate/usr/src/lib/libbsm/common/
H A Dau_open.c143 struct timeval now; /* current time */ in au_close() local
235 (void) gettimeofday(&now, NULL); in au_close()
250 adr_int64(&adr, (int64_t *)&now, 2); in au_close()
252 adr_int32(&adr, (int32_t *)&now, 2); in au_close()
/illumos-gate/usr/src/uts/common/fs/specfs/
H A Dspecsubr.c228 time_t now; in makespecvp() local
233 now = gethrestime_sec(); in makespecvp()
245 sp->s_atime = now; in makespecvp()
246 sp->s_mtime = now; in makespecvp()
247 sp->s_ctime = now; in makespecvp()
715 time_t now = gethrestime_sec(); in smark() local
720 ((flag & SACC) && (sp->s_atime != now)) || in smark()
721 ((flag & SUPD) && (sp->s_mtime != now)) || in smark()
727 sp->s_atime = now; in smark()
729 sp->s_mtime = now; in smark()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ripngd/
H A Dtimer.c135 (void) gettimeofday(&now, (struct timezone *)NULL); in timer()
136 lastmcast = now; in timer()
137 lastfullupdate = now; in timer()
/illumos-gate/usr/src/lib/krb5/kadm5/srv/
H A Dsvr_principal.c212 krb5_int32 now; in kadm5_create_principal_3() local
1335 krb5_int32 now; in kadm5_chpass_principal_3() local
1409 if ((now - last_pwd) < pol.pw_min_life && in kadm5_chpass_principal_3()
1451 kdb.pw_expiration = now + pol.pw_max_life; in kadm5_chpass_principal_3()
1559 krb5_int32 now; in kadm5_randkey_principal_3() local
1614 if((now - last_pwd) < pol.pw_min_life && in kadm5_randkey_principal_3()
1701 krb5_int32 now;
1799 if((now - last_pwd) < pol.pw_min_life &&
1877 krb5_int32 now; in kadm5_setkey_principal_3() local
2030 if((now - last_pwd) < pol.pw_min_life && in kadm5_setkey_principal_3()
[all …]
/illumos-gate/usr/src/uts/common/fs/dev/
H A Dsdev_netops.c79 timestruc_t now; in devnet_create_rvp() local
98 gethrestime(&now); in devnet_create_rvp()
99 vap->va_atime = now; in devnet_create_rvp()
100 vap->va_mtime = now; in devnet_create_rvp()
101 vap->va_ctime = now; in devnet_create_rvp()
H A Dsdev_zvolops.c497 timestruc_t now; in devzvol_create_dir() local
505 gethrestime(&now); in devzvol_create_dir()
506 vap->va_atime = now; in devzvol_create_dir()
507 vap->va_mtime = now; in devzvol_create_dir()
508 vap->va_ctime = now; in devzvol_create_dir()
606 timestruc_t now; in devzvol_mk_ngz_node() local
614 gethrestime(&now); in devzvol_mk_ngz_node()
619 vattr.va_atime = now; in devzvol_mk_ngz_node()
620 vattr.va_mtime = now; in devzvol_mk_ngz_node()
621 vattr.va_ctime = now; in devzvol_mk_ngz_node()
/illumos-gate/usr/src/lib/pam_modules/krb5/
H A Dkrb5_acct_mgmt.c174 krb5_timestamp now, days, expiration; in exp_warn() local
204 if (code = krb5_timeofday(kmd->kcontext, &now)) { in exp_warn()
238 now, in exp_warn()
240 ? ((expiration - now) / DAY) in exp_warn()
245 days = (expiration - now) / DAY; in exp_warn()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Drdisc.c377 sec = (now.tv_sec - drp->dr_life + in rdisc_age()
407 new.rts_time = now.tv_sec; in rdisc_age()
426 new.rts_time = now.tv_sec; in rdisc_age()
497 ifp->int_rdisc_timer.tv_sec = now.tv_sec + in if_ok_rdisc()
718 new.rts_time = now.tv_sec; in rdisc_sort()
852 new.rts_time = now.tv_sec; in rdisc_sort()
966 new_drp->dr_ts = now.tv_sec; in parse_ad()
1134 rdisc_timer.tv_sec = now.tv_sec + NEVER; in rdisc_adv()
1159 timevaladd(&ifp->int_rdisc_timer, &now); in rdisc_adv()
1178 rdisc_timer.tv_sec = now.tv_sec + NEVER; in rdisc_sol()
[all …]
/illumos-gate/usr/src/cmd/nscd/
H A Dcache.c605 print_entry(nscdb, now, entry); in avl_dump()
1077 time_t now; in nsc_dump() local
1097 now = time(NULL); in nsc_dump()
1113 (void) queue_dump(nscdb, now); in nsc_dump()
1114 (void) hash_dump(nscdb, now); in nsc_dump()
1115 (void) avl_dump(nscdb, now); in nsc_dump()
1329 char *whoami, time_t now) in check_db_file() argument
1339 ctx->file_chktime = now; in check_db_file()
2297 time_t now; in reap_cache() local
2308 now = time(NULL); in reap_cache()
[all …]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dint-proto.h57 #define in_clock_skew(date, now) (labs((date)-(now)) < context->clockskew) argument
H A Dstr_conv.c162 time_t now, ret_time; in krb5_string_to_timestamp() local
183 now = time((time_t *) NULL); in krb5_string_to_timestamp()
190 (void) localtime_r(&now, &timebuf); in krb5_string_to_timestamp()
192 memcpy(&timebuf, localtime(&now), sizeof(timebuf)); in krb5_string_to_timestamp()
/illumos-gate/usr/src/uts/common/fs/bootfs/
H A Dbootfs_construct.c113 timestruc_t now; in bootfs_node_init() local
135 gethrestime(&now); in bootfs_node_init()
136 bnp->bvn_attr.va_atime = now; in bootfs_node_init()
137 bnp->bvn_attr.va_ctime = now; in bootfs_node_init()
138 bnp->bvn_attr.va_mtime = now; in bootfs_node_init()
/illumos-gate/usr/src/cmd/krb5/kwarn/
H A Dkwarndtest.c138 time_t now; in _kwarnd_add_warning() local
152 time(&now); in _kwarnd_add_warning()
154 exptime = now + exptime; in _kwarnd_add_warning()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/sfio/
H A Dsfreserve.c38 reg ssize_t n, now, sz, iosz; local
104 if((n = now = f->endb - f->next) < 0)
127 now = n;
157 if(n == now || sferror(f) || sfeof(f)) /* no progress */
/illumos-gate/usr/src/lib/pam_modules/krb5_migrate/
H A Dkrb5_migrate_authenticate.c56 time_t now; in pam_sm_authenticate() local
277 (void) time(&now); in pam_sm_authenticate()
284 now -= context->clockskew; in pam_sm_authenticate()
285 kadm5_userprinc.pw_expiration = now; in pam_sm_authenticate()

12345678910>>...29