Home
last modified time | relevance | path

Searched refs:now (Results 251 – 275 of 720) sorted by last modified time

1...<<11121314151617181920>>...29

/illumos-gate/usr/src/cmd/krb5/kadmin/ktutil/
H A Dktutil_funcs.c110 krb5_timestamp now; local
132 retval = krb5_timeofday(context, &now);
226 lp->entry->timestamp = now;
/illumos-gate/usr/src/cmd/krb5/kadmin/cli/
H A Dgetdate.y701 time_t now; local
703 now = Start;
704 tm = localtime(&now);
705 now += SECSPERDAY * ((DayNumber - tm->tm_wday + 7) % 7);
707 return DSTcorrect(Start, now);
923 struct my_timeb *now = NULL; local
931 if (now == NULL) {
932 now = &ftz;
942 tm = localtime(&now->time);
946 yyTimezone = now->timezone;
[all …]
/illumos-gate/usr/src/cmd/ipcs/
H A Dipcs.c115 time_t now; /* date */ in main() local
198 now = time(NULL); in main()
199 (void) strftime(tbuf, sizeof (tbuf), dfmt, localtime(&now)); in main()
/illumos-gate/usr/src/cmd/fs.d/pcfs/fsck/
H A Ddir.c828 time_t now; in getNow() local
838 (void) time(&now); in getNow()
839 (void) localtime_r(&now, &tm); in getNow()
/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_timerq.c49 hrtime_t now = fmd_time_gethrtime(); in fmd_timerq_install() local
50 hrtime_t base = ep ? fmd_event_hrtime(ep) : now; in fmd_timerq_install()
181 hrtime_t now; in fmd_timerq_exec() local
204 for (now = fmd_time_gethrtime(); (tp = fmd_list_next( in fmd_timerq_exec()
205 &tmq->tmq_list)) != NULL; now = fmd_time_gethrtime()) { in fmd_timerq_exec()
207 if (now == INT64_MAX || tp->tmr_hrt > now) in fmd_timerq_exec()
232 fmd_time_waithrtime(tp->tmr_hrt - now); in fmd_timerq_exec()
/illumos-gate/usr/src/cmd/find/
H A Dfind.c236 static time_t now; variable
273 if (time(&now) == (time_t)(-1)) { in main()
967 l = (now-t)/A_DAY; in execute()
979 l = (now-t)/A_MIN; in execute()
1693 time_t now; in list() local
1699 (void) time(&now); in list()
1701 sixmonthsago = now - 6L*30L*24L*60L*60L; in list()
1824 if (stp->st_mtime < sixmonthsago || stp->st_mtime > now) in list()
/illumos-gate/usr/src/cmd/filesync/
H A Drules.c354 time_t now; in rw_header() local
358 (void) time(&now); in rw_header()
359 local = localtime(&now); in rw_header()
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/vars/
H A Dtst.walltimestamp.d29 uint64_t now; variable
33 now = 18252813184; /* Jan 1, 2004 00:00:00 */
44 /walltimestamp < now/
46 printf("%d (%Y) is before %Y", walltimestamp, walltimestamp, now);
/illumos-gate/usr/src/cmd/dtrace/test/cmd/badioctl/
H A Dbadioctl.c62 hrtime_t now, last = 0, end; in badioctl() local
74 if ((now = gethrtime()) - last > NANOSEC) { in badioctl()
94 last = now; in badioctl()
/illumos-gate/usr/src/cmd/drd/
H A Ddrd_log.c62 struct timeval now; in drd_timestamp() local
69 if (gettimeofday(&now, NULL) != 0) { in drd_timestamp()
75 if (localtime_r(&now.tv_sec, &ltime) == NULL) { in drd_timestamp()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.rwhod.c372 time_t now = time(0); in onalrm() local
432 we->we_idle = htonl(now - stb.st_atime); in onalrm()
/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 …]
H A Drtquery.c374 struct timeval now, delay; in query_loop() local
501 if (gettimeofday(&now, 0) < 0) { in query_loop()
505 if (sent.tv_sec + wtime <= now.tv_sec) in query_loop()
H A Dif.c90 (last_ifscan.tv_sec == now.tv_sec && \
91 last_ifscan.tv_usec == now.tv_usec && \
92 timercmp(&ifscan_timer, &now, > /* */))
1050 last_ifscan = now; in ifscan()
1051 ifscan_timer.tv_sec = now.tv_sec + in ifscan()
1421 now.tv_sec - in ifscan()
1438 now.tv_sec < phyi->phyi_data.ts + in ifscan()
1511 ifp->int_act_time = now.tv_sec; in ifscan()
1852 new.rts_time = now.tv_sec; in addrouteforif()
1931 if (phyi->phyi_data.ts == now.tv_sec) { in get_if_kstats()
[all …]
H A Doutput.c687 RT->rt_poison_time = now.tv_sec; in walk_supply()
920 timevaladd(&no_flash, &now); in rip_bcast()
1050 ifp->int_query_time = now.tv_sec+SUPPLY_INTERVAL; in rip_query()
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/wpad/
H A Deloop.c239 struct timeval tv, now; in eloop_run() local
245 (void) gettimeofday(&now, NULL); in eloop_run()
246 if (timercmp(&now, &eloop.timeout->time, < /* */)) in eloop_run()
247 timersub(&eloop.timeout->time, &now, &tv); in eloop_run()
268 (void) gettimeofday(&now, NULL); in eloop_run()
269 if (!timercmp(&now, &eloop.timeout->time, < /* */)) { in eloop_run()
H A DREADME179 is called Wi-Fi Protected Access<TM> (WPA). This has now become a
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/pppoe/
H A Dlogging.c124 time_t now = time(NULL); in vlogat() local
132 "%Z: ", localtime(&now)); in vlogat()
/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()
H A Ddefs.h139 extern struct timeval now;
H A Dinput.c510 if (now.tv_sec - lastfullupdate.tv_sec >= in dynamic_update()
514 if (now.tv_sec - lastmcast.tv_sec >= MIN_WAIT_TIME && in dynamic_update()
516 timercmp(&nextmcast, &now, <)) { in dynamic_update()
521 lastmcast = now; in dynamic_update()
541 timevaladd(&nextmcast, &now); in dynamic_update()
H A Dmain.c47 struct timeval now; /* current idea of time */ variable
203 (void) gettimeofday(&now, (struct timezone *)NULL); in main()
227 timevalsub(&waittime, &now); in main()
258 (void) gettimeofday(&now, in main()
262 lastmcast = now; in main()
270 (void) gettimeofday(&now, (struct timezone *)NULL); in main()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/
H A Druptime.c63 static time_t now; variable
67 #define down(h) (now - (h)->hs_wd->wd_recvtime > 11 * 60)
184 (void) time(&now); in main()
194 interval((int)(now - hsp->hs_wd->wd_recvtime), in main()
291 (down(h2) ? h2->hs_wd->wd_recvtime - now : in tcmp()
294 (down(h1) ? h1->hs_wd->wd_recvtime - now : in tcmp()
H A Drwho.c69 #define down(w, now) ((now) - (w)->wd_recvtime > 11 * 60) argument
71 static time_t now; variable
91 (void) time(&now); in main()
115 if (down(w, now)) { in main()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/netstat/
H A Dnetstat.c395 hrtime_t now; in ns_warning_thr() local
398 now = gethrtime(); in ns_warning_thr()
400 if (ns_active && now - ns_starttime >= ns_warntime * NANOSEC) { in ns_warning_thr()

1...<<11121314151617181920>>...29