/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/ |
H A D | RELEASE93 | 22 b. File name completion and expansion now quotes special 44 a. Most of the built-in commands and ksh itself are now 84 n. Whence -a now longer reports that a defined function 88 p. Here documents with an empty body now work. 122 h. The typeset builtin now accepts a first argument of 141 strings now works. 218 been returned by a previous wait, wait now 226 a. Empty command substitutions of the form $() now work. 323 r. The _ character is now considered as part of a word 425 b. Variables inside functions are now statically scoped. [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | main.c | 1571 struct timeval now; local 1574 if (gettimeofday(&now, NULL) >= 0) { 2777 struct timeval now; local 2779 (void) gettimeofday(&now, NULL); 2780 dt = (now.tv_sec - levelt.tv_sec 2781 + (now.tv_usec - levelt.tv_usec) / 1e6); 2785 levelt = now; 2902 struct timeval now; local 2905 (void) gettimeofday(&now, NULL); 2907 diff = (now.tv_sec - tp->tv_sec) * 10 + (now.tv_usec - tp->tv_usec); [all …]
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | fm.c | 414 hrtime_t now; in fm_banner() local 421 now = panic_hrtime; in fm_banner() 424 now = gethrtime_waitfree(); in fm_banner() 433 fm_msgid, tod.tv_sec, tod.tv_nsec, (u_longlong_t)now); in fm_banner() 467 hrtime_t now; in fm_ereport_dump() local 473 now = panic_hrtime; in fm_ereport_dump() 478 now = gethrtime_waitfree(); in fm_ereport_dump() 497 ed.ed_hrt_base = now; in fm_ereport_dump()
|
H A D | ddi.c | 294 time_t now; in drv_getparm() local 309 if ((now = gethrestime_sec()) == 0) { in drv_getparm() 316 *(time_t *)valuep = now; in drv_getparm() 1219 time_to_wait(clock_t *now, clock_t time) in time_to_wait() argument 1221 *now = ddi_get_lbolt() + time; in time_to_wait()
|
/illumos-gate/usr/src/lib/libresolv2/common/resolv/ |
H A D | res_send.c | 830 struct timespec now, timeout, finish; in send_dg() local 910 now = evNowTime(); in send_dg() 912 finish = evAddTime(now, timeout); in send_dg() 915 now = evNowTime(); in send_dg() 920 if (evCmpTime(finish, now) > 0) in send_dg() 921 timeout = evSubTime(finish, now); in send_dg() 926 timeout = evSubTime(finish, now); in send_dg()
|
/illumos-gate/usr/src/uts/sun4u/os/ |
H A D | memscrub.c | 526 time_t now = gethrestime_sec(); in memscrubber() local 528 if (now >= deadline) { in memscrubber() 530 MEMSCRUB_STAT_NINC(late_sec, now - deadline); in memscrubber() 536 deadline = now + memscrub_period_sec; in memscrubber() 542 interval_ticks = (deadline - now) * hz; in memscrubber() 544 MEMSCRUB_STAT_NINC(early_sec, deadline - now); in memscrubber()
|
/illumos-gate/usr/src/cmd/fm/modules/common/fabric-xlate/ |
H A D | fx_subr.c | 47 uint64_t *now; in fab_prep_basic_erpt() local 55 err |= nvlist_lookup_uint64_array(nvl, "__tod", &now, &nelem); in fab_prep_basic_erpt() 68 (void) nvlist_add_uint64_array(erpt, "__tod", now, nelem); in fab_prep_basic_erpt() 125 uint64_t *now; in fab_send_tgt_erpt() local 141 err |= nvlist_lookup_uint64_array(nvl, "__tod", &now, &nelem); in fab_send_tgt_erpt() 146 (void) nvlist_add_uint64_array(erpt, "__tod", now, nelem); in fab_send_tgt_erpt()
|
/illumos-gate/usr/src/lib/libipadm/common/ |
H A D | libipadm.c | 352 hrtime_t starttime, now; in i_ipadm_dad_wait() local 364 now = gethrtime(); in i_ipadm_dad_wait() 365 now = (now - starttime) / 1000000; in i_ipadm_dad_wait() 366 if (now >= DAD_WAIT_TIME) in i_ipadm_dad_wait() 368 if (poll(fds, 1, DAD_WAIT_TIME - (int)now) <= 0) in i_ipadm_dad_wait()
|
/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/ |
H A D | enm.c | 191 struct timeval now; in nwamd_enm_activate_deactivate_thread() local 223 (void) gettimeofday(&now, NULL); in nwamd_enm_activate_deactivate_thread() 224 object->nwamd_script_time = now; in nwamd_enm_activate_deactivate_thread() 247 if (object->nwamd_script_time.tv_sec != now.tv_sec || in nwamd_enm_activate_deactivate_thread() 248 object->nwamd_script_time.tv_usec != now.tv_usec) { in nwamd_enm_activate_deactivate_thread()
|
H A D | events.c | 559 struct timespec now; in in_past() local 561 (void) clock_gettime(CLOCK_REALTIME, &now); in in_past() 562 if (t.tv_sec < now.tv_sec) in in_past() 564 if (t.tv_sec > now.tv_sec) in in_past() 566 if (t.tv_nsec < now.tv_nsec) in in_past()
|
/illumos-gate/usr/src/cmd/luxadm/ |
H A D | fcalupdate.c | 569 hrtime_t now, then; in usec_delay() local 571 now = gethrtime(); in usec_delay() 572 then = now + s*1000; in usec_delay() 574 now = gethrtime(); in usec_delay() 575 } while (now < then); in usec_delay()
|
/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/uts/i86xpv/io/psm/ |
H A D | xpv_uppc.c | 380 hrtime_t now, timer_new, time_delta, xen_time; in xen_uppc_timer_reprogram() local 389 now = xpv_gethrtime(); in xen_uppc_timer_reprogram() 391 if (timer_req <= now) { in xen_uppc_timer_reprogram() 398 time_delta = timer_req - now; in xen_uppc_timer_reprogram()
|
/illumos-gate/usr/src/stand/lib/inet/ |
H A D | ibd.c | 308 uint32_t now; in ibd_input() local 460 (now = prom_gettime()) < timeout); in ibd_input() 468 arps, failures, tot_pr, tot_pc, now, timeout, in ibd_input() 469 (now < timeout) ? "TRUE" : "FALSE"); in ibd_input()
|
/illumos-gate/usr/src/ucblib/librpcsoc/ |
H A D | clnt_udp.c | 123 struct timeval now; local 144 (void) gettimeofday(&now, (struct timezone *)0); 162 call_msg.rm_xid = getpid() ^ now.tv_sec ^ now.tv_usec;
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/profile/ |
H A D | prof_file.c | 313 time_t now; in profile_update_file_data() local 322 now = time(0); in profile_update_file_data() 323 if (now == data->last_stat && data->root != NULL) { in profile_update_file_data() 332 data->last_stat = now; in profile_update_file_data()
|
/illumos-gate/usr/src/uts/common/fs/sharefs/ |
H A D | sharefs_vnops.c | 166 timestruc_t now; in sharefs_getattr() local 195 gethrestime(&now); in sharefs_getattr() 196 vap->va_atime = vap->va_ctime = now; in sharefs_getattr()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/pppoe/ |
H A D | pppoed.c | 188 time_t now; in handle_int() local 197 now = time(NULL); in handle_int() 198 (void) fprintf(fp, "pppoed running %s", ctime(&now)); in handle_int()
|
/illumos-gate/usr/src/cmd/filesync/ |
H A D | rules.c | 354 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/cmd-inet/usr.sbin/ |
H A D | in.comsat.c | 211 time_t now; in onalrm() local 213 (void) time(&now); in onalrm() 214 if ((ulong_t)now - (ulong_t)lastmsgtime >= MAXIDLE) in onalrm()
|
/illumos-gate/usr/src/lib/librstp/common/ |
H A D | ChangeLog | 27 - All management entities from 14.8.1 & 14.8.2 are now supported 47 - now readline (thanks to Michel Roshavsky)
|
/illumos-gate/usr/src/tools/scripts/ |
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/cmd/sendmail/src/ |
H A D | daemon.c | 215 time_t now; local 231 now = curtime(); 355 lastrun = now; 371 lastrun = now; 600 RAND_seed((void *) &now, sizeof(now)); 969 time_t now; local 971 now = curtime(); 972 if (now < NextDiskSpaceCheck) 1020 NextDiskSpaceCheck = now + 60; 3922 time_t now; local [all …]
|
/illumos-gate/usr/src/cmd/zdump/ |
H A D | zdump.c | 191 time_t now; local 248 (void) time(&now); 272 show(argv[i], now, FALSE); 282 show(argv[i], now, TRUE);
|
/illumos-gate/usr/src/uts/common/io/vuidmice/ |
H A D | vuidps2.c | 339 clock_t now; in VUID_QUEUE() local 344 now = ddi_get_lbolt(); in VUID_QUEUE() 345 elapsed = now - STATEP->last_event_lbolt; in VUID_QUEUE() 346 STATEP->last_event_lbolt = now; in VUID_QUEUE()
|