Home
last modified time | relevance | path

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

123

/onnv-gate/usr/src/lib/libsip/common/
H A Dsip_miscdefs.h81 #define MILLISEC 1000 macro
104 (timer).sip_timeout_val.tv_sec = mtime / MILLISEC; \
105 mtime -= (timer).sip_timeout_val.tv_sec * MILLISEC; \
106 (timer).sip_timeout_val.tv_usec = mtime * MILLISEC; \
129 ((timer).sip_timeout_val.tv_sec * MILLISEC + \
130 (timer).sip_timeout_val.tv_usec / MILLISEC)
H A Dsip_timeout.c194 (hrtime_t)(timeout_time->tv_usec * MILLISEC) + now; in sip_timeout()
197 (hrtime_t)(timeout_time->tv_usec * MILLISEC) + gethrtime(); in sip_timeout()
319 to.tv_nsec = (hrtime_t)(tim.tv_usec * MILLISEC) + in sip_timer_thr()
/onnv-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 */
/onnv-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()
/onnv-gate/usr/src/lib/libinetutil/common/
H A Dtq.c98 node->iutn_abs_timeout = gethrtime() + (msec * (NANOSEC / MILLISEC)); in insert_timer()
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()
/onnv-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))
/onnv-gate/usr/src/lib/libpctx/common/
H A Dlibpctx.c491 tv->tv_sec += msec / MILLISEC; in msincr()
492 tv->tv_usec += (msec % MILLISEC) * MILLISEC; in msincr()
513 if (sdiff >= (INT_MAX / MILLISEC)) in msdiff()
515 return ((uint_t)(sdiff * MILLISEC + udiff / MILLISEC)); in msdiff()
619 if (Pstop(pctx->Pr, 5 * MILLISEC) == -1 || in pctx_run()
/onnv-gate/usr/src/cmd/cmd-inet/usr.lib/in.ndpd/
H A Dndp.c503 MILLISEC * router_lifetime); in incoming_ra()
507 dr->dr_lifetime = MILLISEC * router_lifetime; in incoming_ra()
665 if (validtime >= PREFIX_INFINITY / MILLISEC) in incoming_prefix_onlink_process()
668 pr->pr_OnLinkLifetime = validtime * MILLISEC; in incoming_prefix_onlink_process()
876 recorded_validtime = pr->pr_ValidLifetime / MILLISEC; in incoming_prefix_addrconf_process()
936 curtime = getcurrenttime() / MILLISEC; in incoming_prefix_addrconf_process()
1045 pr->pr_CreateTime = getcurrenttime() / MILLISEC; in incoming_prefix_addrconf_process()
1070 if (validtime >= PREFIX_INFINITY / MILLISEC) in incoming_prefix_addrconf_process()
1073 pr->pr_ValidLifetime = validtime * MILLISEC; in incoming_prefix_addrconf_process()
1074 if (preftime >= PREFIX_INFINITY / MILLISEC) in incoming_prefix_addrconf_process()
[all …]
/onnv-gate/usr/src/cmd/fm/fminject/common/
H A Dinj_string.c160 { "ms", NANOSEC / MILLISEC }, in inj_strtime()
161 { "msec", NANOSEC / MILLISEC }, in inj_strtime()
/onnv-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/
H A Dinit_reboot.c240 nowabs = gethrtime() / (NANOSEC / MILLISEC); in stop_init_reboot()
241 maxabs = dsmp->dsm_neg_hrtime / (NANOSEC / MILLISEC) + in stop_init_reboot()
H A Drenew.c547 dsmp->dsm_send_timeout < DHCP_REBIND_MIN * MILLISEC / 2) { in stop_extending()
549 "%d.%03d; stopping", dsmp->dsm_send_timeout / MILLISEC, in stop_extending()
550 dsmp->dsm_send_timeout % MILLISEC); in stop_extending()
H A Dpacket.c999 pkt_name, dsmp->dsm_send_timeout / MILLISEC); in send_pkt_internal()
1482 timeout_ms *= MILLISEC / 2; in next_retransmission()
1488 timeout_ms = 4 * MILLISEC; in next_retransmission()
1491 64 * MILLISEC); in next_retransmission()
1502 ((lrand48() % (2 * MILLISEC)) - MILLISEC); in next_retransmission()
/onnv-gate/usr/src/uts/common/conf/
H A Dparam.c683 tick_per_msec = hz / MILLISEC; in param_init()
684 msec_per_tick = MILLISEC / hz; in param_init()
698 time_res[TR_MICROSEC] = MILLISEC; in param_init()
/onnv-gate/usr/src/uts/sun4u/sys/
H A Denvctrl_ue250.h44 #define ENVCTRL_UE250_BLINK_TIMEOUT_USEC 500 * (MICROSEC / MILLISEC)
/onnv-gate/usr/src/cmd/truss/
H A Dmain.c902 (void) Lstop(Lwp, MILLISEC); in worker_thread()
908 uint_t tout = (iflag || req_flag)? 0 : MILLISEC; in worker_thread()
1400 (void) Lstop(Lwp, MILLISEC); in worker_thread()
1513 (void) Pstop(Proc, MILLISEC); in worker_thread()
1910 if (fraction >= (MILLISEC * 10)) { in timestamp()
1912 fraction -= (MILLISEC * 10); in timestamp()
1928 fraction += (MILLISEC * 10); in timestamp()
1943 if (fraction >= (MILLISEC * 10)) { in timestamp()
1945 fraction -= (MILLISEC * 10); in timestamp()
2460 (void) Pwait(Proc, MILLISEC); in control()
[all …]
/onnv-gate/usr/src/uts/common/dtrace/
H A Dprofile.c211 { "ms", NANOSEC / MILLISEC }, in profile_provide()
212 { "msec", NANOSEC / MILLISEC }, in profile_provide()
/onnv-gate/usr/src/cmd/cmd-inet/usr.sbin/ping/
H A Dping_aux.c995 triptime = (tv.tv_sec % (24LL * 60 * 60)) * MILLISEC + in check_reply()
996 (tv.tv_usec / (MICROSEC/MILLISEC)); in check_reply()
999 triptime += 24LL * 60 * 60 * MILLISEC; in check_reply()
1002 triptime *= (MICROSEC/MILLISEC); in check_reply()
/onnv-gate/usr/src/cmd/mdb/common/modules/svc.configd/
H A Dconfigd.c261 dursec, durnsec / (NANOSEC / MILLISEC)); in request_log()
285 dursec, durnsec / (NANOSEC / MILLISEC)); in request_log()
/onnv-gate/usr/src/lib/storage/libg_fc/common/
H A Dcmd.c104 random = ((random % 500) + 100) * MILLISEC; in wait_random_time()
/onnv-gate/usr/src/cmd/fm/fmstat/common/
H A Dfmstat.c173 { "ms", NANOSEC / MILLISEC }, in time2str()
352 mp->m_svc = ((avg_w + avg_d) * (double)MILLISEC) / (double)NANOSEC; in modstat_compute()
761 msec = getint("interval", argv[optind++]) * MILLISEC; in main()
/onnv-gate/usr/src/lib/libipmp/common/
H A Dipmp_mpathd.c226 timeleft = (endtp->tv_sec - curtime.tv_sec) * MILLISEC; in ipmp_read()
/onnv-gate/usr/src/psm/stand/cpr/sparcv9/sun4u/
H A Dmachdep.c295 cb_usec_wait(MILLISEC); in cb_mpsetup()
/onnv-gate/usr/src/lib/libldap4/common/
H A Dos-ip.c110 waittime.tv_sec = timeout / MILLISEC; in do_connect()
111 waittime.tv_usec = (timeout % MILLISEC) * 1000; in do_connect()
/onnv-gate/usr/src/lib/brand/solaris10/s10_brand/common/
H A Ds10_deleted.c184 ts.tv_sec = timeout / MILLISEC; in s10_poll()
185 ts.tv_nsec = (timeout % MILLISEC) * MICROSEC; in s10_poll()
/onnv-gate/usr/src/lib/libpcp/common/
H A Dlibpcp.c1390 if (poll(&pollfd, 1, glvc_timeout * MILLISEC) <= 0) { in vldc_write()
1426 if (poll(fds, 1, glvc_timeout * MILLISEC) <= 0) { in vldc_read()
1436 if ((poll(fds, 1, glvc_timeout * MILLISEC)) < 0) in vldc_read()

123