/illumos-gate/usr/src/lib/libsip/common/ |
H A D | sip_miscdefs.h | 79 #define MILLISEC 1000 macro 102 (timer).sip_timeout_val.tv_sec = mtime / MILLISEC; \ 103 mtime -= (timer).sip_timeout_val.tv_sec * MILLISEC; \ 104 (timer).sip_timeout_val.tv_usec = mtime * MILLISEC; \ 127 ((timer).sip_timeout_val.tv_sec * MILLISEC + \ 128 (timer).sip_timeout_val.tv_usec / MILLISEC)
|
H A D | sip_timeout.c | 192 (hrtime_t)(timeout_time->tv_usec * MILLISEC) + now; in sip_timeout() 195 (hrtime_t)(timeout_time->tv_usec * MILLISEC) + gethrtime(); in sip_timeout() 317 to.tv_nsec = (hrtime_t)(tim.tv_usec * MILLISEC) + in sip_timer_thr()
|
/illumos-gate/usr/src/uts/sun4v/os/ |
H A D | wdt.c | 46 #define WDT_DEFAULT_RESOLUTION (1 * MILLISEC) /* Default resolution = 1s */ 47 #define WDT_MIN_TIMEOUT (1 * MILLISEC) /* Minimum timeout = 1s */ 48 #define WDT_REGULAR_TIMEOUT (10 * MILLISEC) /* Default timeout = 10s */ 49 #define WDT_LONG_TIMEOUT (60 * MILLISEC) /* Long timeout = 60s */
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | poll.c | 50 ts.tv_sec = timeout / MILLISEC; in poll() 51 ts.tv_nsec = (timeout % MILLISEC) * MICROSEC; in poll()
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/smartpqi/ |
H A D | smartpqi_sis.c | 78 drv_usecwait(MICROSEC / MILLISEC); /* ---- Wait 1ms ---- */ in sis_reenable_mode() 95 drv_usecwait(MICROSEC / MILLISEC); /* ---- Wait 1ms ---- */ in sis_wait_for_ctrl_ready() 222 drv_usecwait(MICROSEC / MILLISEC); in sis_send_sync_cmd()
|
/illumos-gate/usr/src/test/libc-tests/tests/ |
H A D | c11_threads.c | 205 long stime = 10 * NANOSEC / MILLISEC; in cthr_test_sleep() 307 ts.tv_nsec = 1 * NANOSEC / MILLISEC; in cthr_test_cndtime() 326 ts.tv_nsec = 1 * NANOSEC / MILLISEC; in cthr_test_mtx_selftime() 341 ts.tv_nsec = 1 * NANOSEC / MILLISEC; in cthr_test_mtx_busy_thr()
|
/illumos-gate/usr/src/uts/common/inet/cc/ |
H A D | cc_cubic.h | 196 cwnd = (t - K * MILLISEC) / MILLISEC; in cubic_cwnd()
|
/illumos-gate/usr/src/uts/sun4u/sunfire/sys/ |
H A D | sysctrl.h | 308 #define PS_FAIL_TIMEOUT_USEC (500 * (MICROSEC / MILLISEC)) 311 #define BRD_INSERT_DELAY_USEC (500 * (MICROSEC / MILLISEC)) 314 #define BLINK_LED_TIMEOUT_USEC (300 * (MICROSEC / MILLISEC))
|
/illumos-gate/usr/src/lib/libpctx/common/ |
H A D | libpctx.c | 493 tv->tv_sec += msec / MILLISEC; in msincr() 494 tv->tv_usec += (msec % MILLISEC) * MILLISEC; in msincr() 515 if (sdiff >= (INT_MAX / MILLISEC)) in msdiff() 517 return ((uint_t)(sdiff * MILLISEC + udiff / MILLISEC)); in msdiff() 621 if (Pstop(pctx->Pr, 5 * MILLISEC) == -1 || in pctx_run()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ndpd/ |
H A D | ndp.c | 537 MILLISEC * router_lifetime); in incoming_ra() 541 dr->dr_lifetime = MILLISEC * router_lifetime; in incoming_ra() 699 if (validtime >= PREFIX_INFINITY / MILLISEC) in incoming_prefix_onlink_process() 702 pr->pr_OnLinkLifetime = validtime * MILLISEC; in incoming_prefix_onlink_process() 910 recorded_validtime = pr->pr_ValidLifetime / MILLISEC; in incoming_prefix_addrconf_process() 970 curtime = getcurrenttime() / MILLISEC; in incoming_prefix_addrconf_process() 1079 pr->pr_CreateTime = getcurrenttime() / MILLISEC; in incoming_prefix_addrconf_process() 1104 if (validtime >= PREFIX_INFINITY / MILLISEC) in incoming_prefix_addrconf_process() 1107 pr->pr_ValidLifetime = validtime * MILLISEC; in incoming_prefix_addrconf_process() 1108 if (preftime >= PREFIX_INFINITY / MILLISEC) in incoming_prefix_addrconf_process() [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/ |
H A D | renew.c | 549 dsmp->dsm_send_timeout < DHCP_REBIND_MIN * MILLISEC / 2) { in stop_extending() 551 "%d.%03d; stopping", dsmp->dsm_send_timeout / MILLISEC, in stop_extending() 552 dsmp->dsm_send_timeout % MILLISEC); in stop_extending()
|
H A D | packet.c | 1032 pkt_name, dsmp->dsm_send_timeout / MILLISEC); in send_pkt_internal() 1515 timeout_ms *= MILLISEC / 2; in next_retransmission() 1521 timeout_ms = 4 * MILLISEC; in next_retransmission() 1524 64 * MILLISEC); in next_retransmission() 1535 ((lrand48() % (2 * MILLISEC)) - MILLISEC); in next_retransmission()
|
/illumos-gate/usr/src/uts/common/conf/ |
H A D | param.c | 653 tick_per_msec = hz / MILLISEC; in param_init() 654 msec_per_tick = MILLISEC / hz; in param_init() 669 time_res[TR_MILLISEC] = NANOSEC / MILLISEC; in param_init()
|
/illumos-gate/usr/src/cmd/fm/fminject/common/ |
H A D | inj_string.c | 158 { "ms", NANOSEC / MILLISEC }, in inj_strtime() 159 { "msec", NANOSEC / MILLISEC }, in inj_strtime()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | time.h | 245 #define MILLISEC 1000 macro 249 #define MSEC2NSEC(m) ((hrtime_t)(m) * (NANOSEC / MILLISEC)) 250 #define NSEC2MSEC(n) ((n) / (NANOSEC / MILLISEC))
|
/illumos-gate/usr/src/uts/sun4u/sys/ |
H A D | envctrl_ue250.h | 44 #define ENVCTRL_UE250_BLINK_TIMEOUT_USEC 500 * (MICROSEC / MILLISEC)
|
/illumos-gate/usr/src/lib/libinetutil/common/ |
H A D | tq.c | 179 return (iu_schedule_timer_ms(tq, sec * MILLISEC, callback, arg)); in iu_schedule_timer() 264 insert_timer(tq, node, sec * MILLISEC); in iu_adjust_timer()
|
/illumos-gate/usr/src/test/os-tests/tests/ksensor/ |
H A D | ksensor_sread.c | 91 ts.tv_nsec = (ms % 1000) * (NANOSEC / MILLISEC); in main()
|
/illumos-gate/usr/src/test/os-tests/tests/xsave/ |
H A D | signal_restore.c | 48 ts.tv_nsec = 10 * MILLISEC; in signal_restore_siginfo()
|
/illumos-gate/usr/src/cmd/truss/ |
H A D | main.c | 907 (void) Lstop(Lwp, MILLISEC); in worker_thread() 913 uint_t tout = (iflag || req_flag)? 0 : MILLISEC; in worker_thread() 1406 (void) Lstop(Lwp, MILLISEC); in worker_thread() 1519 (void) Pstop(Proc, MILLISEC); in worker_thread() 1916 if (fraction >= (MILLISEC * 10)) { in timestamp() 1918 fraction -= (MILLISEC * 10); in timestamp() 1934 fraction += (MILLISEC * 10); in timestamp() 1949 if (fraction >= (MILLISEC * 10)) { in timestamp() 1951 fraction -= (MILLISEC * 10); in timestamp() 2466 (void) Pwait(Proc, MILLISEC); in control() [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ping/ |
H A D | ping_aux.c | 971 triptime = (tv.tv_sec % (24LL * 60 * 60)) * MILLISEC + in check_reply() 972 (tv.tv_usec / (MICROSEC/MILLISEC)); in check_reply() 975 triptime += 24LL * 60 * 60 * MILLISEC; in check_reply() 978 triptime *= (MICROSEC/MILLISEC); in check_reply()
|
/illumos-gate/usr/src/cmd/fm/fmstat/common/ |
H A D | fmstat.c | 177 { "ms", NANOSEC / MILLISEC }, in time2str() 356 mp->m_svc = ((avg_w + avg_d) * (double)MILLISEC) / (double)NANOSEC; in modstat_compute() 762 msec = getint("interval", argv[optind++]) * MILLISEC; in main()
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/lmrc/ |
H A D | lmrc.c | 375 clock_t max_wait = LMRC_IO_TIMEOUT * MILLISEC * 10; in lmrc_poll_for_reply() 677 drv_usectohz(MILLISEC), TR_MILLISEC); in lmrc_poll_mfi() 907 max_wait *= MILLISEC / 100; in lmrc_wait_for_reg() 910 delay(drv_usectohz(100 * MILLISEC)); in lmrc_wait_for_reg() 1007 max_wait = LMRC_IO_TIMEOUT * MILLISEC / 100; in lmrc_reset_ctrl() 1013 delay(drv_usectohz(100 * MILLISEC)); in lmrc_reset_ctrl() 1321 delay(drv_usectohz(MILLISEC)); in lmrc_transition_to_ready()
|
/illumos-gate/usr/src/uts/common/dtrace/ |
H A D | profile.c | 214 { "ms", NANOSEC / MILLISEC }, in profile_provide() 215 { "msec", NANOSEC / MILLISEC }, in profile_provide()
|
/illumos-gate/usr/src/lib/storage/libg_fc/common/ |
H A D | cmd.c | 104 random = ((random % 500) + 100) * MILLISEC; in wait_random_time()
|