/titanic_41/usr/src/lib/libsip/common/ |
H A D | sip_miscdefs.h | 81 #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 D | sip_timeout.c | 194 (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()
|
/titanic_41/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 */
|
/titanic_41/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()
|
/titanic_41/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))
|
/titanic_41/usr/src/lib/libpctx/common/ |
H A D | libpctx.c | 491 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()
|
/titanic_41/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 …]
|
/titanic_41/usr/src/cmd/fm/fminject/common/ |
H A D | inj_string.c | 160 { "ms", NANOSEC / MILLISEC }, in inj_strtime() 161 { "msec", NANOSEC / MILLISEC }, in inj_strtime()
|
/titanic_41/usr/src/uts/common/sys/ |
H A D | time.h | 239 #define MILLISEC 1000 macro 243 #define MSEC2NSEC(m) ((hrtime_t)(m) * (NANOSEC / MILLISEC)) 244 #define NSEC2MSEC(n) ((n) / (NANOSEC / MILLISEC))
|
/titanic_41/usr/src/uts/common/conf/ |
H A D | param.c | 674 tick_per_msec = hz / MILLISEC; in param_init() 675 msec_per_tick = MILLISEC / hz; in param_init() 690 time_res[TR_MILLISEC] = NANOSEC / MILLISEC; in param_init()
|
/titanic_41/usr/src/cmd/cmd-inet/sbin/dhcpagent/ |
H A D | renew.c | 547 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 D | packet.c | 999 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()
|
/titanic_41/usr/src/uts/sun4u/sys/ |
H A D | envctrl_ue250.h | 44 #define ENVCTRL_UE250_BLINK_TIMEOUT_USEC 500 * (MICROSEC / MILLISEC)
|
H A D | envctrl_ue450.h | 44 #define BLINK_TIMEOUT_USEC 500 * (MICROSEC / MILLISEC)
|
/titanic_41/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()
|
/titanic_41/usr/src/cmd/truss/ |
H A D | main.c | 902 (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 …]
|
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/ping/ |
H A D | ping_aux.c | 995 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()
|
/titanic_41/usr/src/uts/common/dtrace/ |
H A D | profile.c | 214 { "ms", NANOSEC / MILLISEC }, in profile_provide() 215 { "msec", NANOSEC / MILLISEC }, in profile_provide()
|
/titanic_41/usr/src/cmd/fm/fmstat/common/ |
H A D | fmstat.c | 173 { "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()
|
/titanic_41/usr/src/lib/storage/libg_fc/common/ |
H A D | cmd.c | 104 random = ((random % 500) + 100) * MILLISEC; in wait_random_time()
|
/titanic_41/usr/src/lib/libipmp/common/ |
H A D | ipmp_mpathd.c | 226 timeleft = (endtp->tv_sec - curtime.tv_sec) * MILLISEC; in ipmp_read()
|
/titanic_41/usr/src/psm/stand/cpr/sparcv9/sun4u/ |
H A D | machdep.c | 295 cb_usec_wait(MILLISEC); in cb_mpsetup()
|
/titanic_41/usr/src/lib/brand/solaris10/s10_brand/common/ |
H A D | s10_deleted.c | 184 ts.tv_sec = timeout / MILLISEC; in s10_poll() 185 ts.tv_nsec = (timeout % MILLISEC) * MICROSEC; in s10_poll()
|
/titanic_41/usr/src/lib/libpcp/common/ |
H A D | libpcp.c | 1390 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()
|
/titanic_41/usr/src/cmd/powertop/common/ |
H A D | powertop.c | 292 (int)(interval * MILLISEC)) > 0) in main()
|