Home
last modified time | relevance | path

Searched refs:MILLISEC (Results 1 – 25 of 79) sorted by relevance

1234

/illumos-gate/usr/src/lib/libsip/common/
H A Dsip_miscdefs.h79 #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 Dsip_timeout.c192 (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 Dwdt.c46 #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 Dpoll.c50 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 Dsmartpqi_sis.c78 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 Dc11_threads.c205 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 Dcc_cubic.h196 cwnd = (t - K * MILLISEC) / MILLISEC; in cubic_cwnd()
/illumos-gate/usr/src/uts/sun4u/sunfire/sys/
H A Dsysctrl.h308 #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 Dlibpctx.c493 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 Dndp.c537 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 Drenew.c549 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 Dpacket.c1032 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 Dparam.c653 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 Dinj_string.c158 { "ms", NANOSEC / MILLISEC }, in inj_strtime()
159 { "msec", NANOSEC / MILLISEC }, in inj_strtime()
/illumos-gate/usr/src/uts/common/sys/
H A Dtime.h245 #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 Denvctrl_ue250.h44 #define ENVCTRL_UE250_BLINK_TIMEOUT_USEC 500 * (MICROSEC / MILLISEC)
/illumos-gate/usr/src/lib/libinetutil/common/
H A Dtq.c179 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 Dksensor_sread.c91 ts.tv_nsec = (ms % 1000) * (NANOSEC / MILLISEC); in main()
/illumos-gate/usr/src/test/os-tests/tests/xsave/
H A Dsignal_restore.c48 ts.tv_nsec = 10 * MILLISEC; in signal_restore_siginfo()
/illumos-gate/usr/src/cmd/truss/
H A Dmain.c907 (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 Dping_aux.c998 triptime = (tv.tv_sec % (24LL * 60 * 60)) * MILLISEC + in check_reply()
999 (tv.tv_usec / (MICROSEC/MILLISEC)); in check_reply()
1002 triptime += 24LL * 60 * 60 * MILLISEC; in check_reply()
1005 triptime *= (MICROSEC/MILLISEC); in check_reply()
/illumos-gate/usr/src/uts/common/io/scsi/adapters/lmrc/
H A Dlmrc.c371 clock_t max_wait = LMRC_IO_TIMEOUT * MILLISEC * 10; in lmrc_poll_for_reply()
673 drv_usectohz(MILLISEC), TR_MILLISEC); in lmrc_poll_mfi()
903 max_wait *= MILLISEC / 100; in lmrc_wait_for_reg()
906 delay(drv_usectohz(100 * MILLISEC)); in lmrc_wait_for_reg()
1003 max_wait = LMRC_IO_TIMEOUT * MILLISEC / 100; in lmrc_reset_ctrl()
1009 delay(drv_usectohz(100 * MILLISEC)); in lmrc_reset_ctrl()
1317 delay(drv_usectohz(MILLISEC)); in lmrc_transition_to_ready()
/illumos-gate/usr/src/uts/common/dtrace/
H A Dprofile.c214 { "ms", NANOSEC / MILLISEC }, in profile_provide()
215 { "msec", NANOSEC / MILLISEC }, in profile_provide()
/illumos-gate/usr/src/cmd/fm/fmstat/common/
H A Dfmstat.c177 { "ms", NANOSEC / MILLISEC }, in time2str()
356 mp->m_svc = ((avg_w + avg_d) * (double)MILLISEC) / (double)NANOSEC; in modstat_compute()
763 msec = getint("interval", argv[optind++]) * MILLISEC; in main()
/illumos-gate/usr/src/lib/storage/libg_fc/common/
H A Dcmd.c104 random = ((random % 500) + 100) * MILLISEC; in wait_random_time()

1234