MSEC2NSEC
MSEC2NSEC(mevp->me_msecs % MILLISEC);
hrtime_t endtime = gethrtime() + MSEC2NSEC(waitms);
rqtp.tv_nsec = MSEC2NSEC(delay);
*delay = MSEC2NSEC(scan_delay);
rqtp.tv_nsec = MSEC2NSEC(10);
MSEC2NSEC(zfs_deadman_synctime_ms);
#define FLETCHER_4_BENCH_NS (MSEC2NSEC(1)) /* 1ms */
node->iutn_abs_timeout = gethrtime() + MSEC2NSEC(msec);
tv_time = MSEC2NSEC(msec);
const struct timespec clock_to_100ms = { 0, MSEC2NSEC(100) };
sleep.tv_nsec = MSEC2NSEC(10);
sleep.tv_nsec = MSEC2NSEC(10);
sleep.tv_nsec = MSEC2NSEC(10);
t.tv_nsec = MSEC2NSEC(10);
ts.tv_nsec = MSEC2NSEC(10);
static hrtime_t tt_sock_to = MSEC2NSEC(100); /* ms in ns */
.tv_nsec = MSEC2NSEC(1),
static hrtime_t sock_to = MSEC2NSEC(100); /* ms in ns */
hrtime_t dtrace_chill_max = MSEC2NSEC(500); /* 500 ms */
of->dh_timeout_offset = MSEC2NSEC(msto);
of->dh_timeout_offset = MSEC2NSEC(timeout);
of->dh_timeout_offset = MSEC2NSEC(smb2_persist_timeout);
&dbuf_evict_lock, SEC2NSEC(1), MSEC2NSEC(1), 0);
hrtime_t zfs_delay_max_ns = MSEC2NSEC(100);
MSEC2NSEC(10), MSEC2NSEC(10));
(uint64_t)MSEC2NSEC(metaslab_unload_delay_ms)) {
mmp->mmp_delay = MSEC2NSEC(MMP_INTERVAL_OK(zfs_multihost_interval));
MSEC2NSEC(MMP_INTERVAL_OK(zfs_multihost_interval)) /
if (lock_acquire_time > (MSEC2NSEC(MMP_MIN_INTERVAL) / 10))
uint64_t mmp_interval = MSEC2NSEC(MMP_INTERVAL_OK(
MSEC2NSEC(MMP_DEFAULT_INTERVAL);
mmp_interval = MSEC2NSEC(MMP_INTERVAL_OK(
next_time = gethrtime() + MSEC2NSEC(MMP_MIN_INTERVAL) /
uint64_t multihost_interval = MSEC2NSEC(
import_delay = MMP_FAIL_INT(ub) * MSEC2NSEC(MMP_INTERVAL(ub)) *
import_delay = MAX(import_delay, (MSEC2NSEC(MMP_INTERVAL(ub)) +
spa->spa_deadman_synctime = MSEC2NSEC(zfs_deadman_synctime_ms);
when.cyt_interval = MSEC2NSEC(zfs_deadman_checktime_ms);
#define BENCH_NS MSEC2NSEC(1) /* 1ms */
if (zio->io_delay >= MSEC2NSEC(zio_slow_io_ms)) {
MSEC2NSEC(1), 0);
if ((end - begin) > MSEC2NSEC(interval)) {
} else if ((end - begin) <= (MSEC2NSEC(interval) / 2) &&
MSEC2NSEC(ipst->ips_ipsec_policy_log_interval) <= current) {
tcp->tcp_rtt_sa = MSEC2NSEC(tcp->tcp_rto_initial) << 2;
tcp->tcp_rtt_sd = MSEC2NSEC(tcp->tcp_rto_initial) >> 1;
tcp->tcp_rtt_sa = MSEC2NSEC(uinfo.iulp_rtt);
tcp->tcp_rtt_sd = MSEC2NSEC(uinfo.iulp_rtt_sd);
tcp->tcp_rtt_sa = MSEC2NSEC(tcp->tcp_rto_initial) << 2;
tcp->tcp_rtt_sd = MSEC2NSEC(tcp->tcp_rto_initial) >> 1;
deadline = MSEC2NSEC(deadline);
cmd_timeout = MSEC2NSEC(ENAHW_CAPS_ADMIN_CMD_TIMEOUT(rval) * 100);
timeout = MSEC2NSEC(ENAHW_CAPS_RESET_TIMEOUT(rval) * 100);
#define ENA_ADMIN_CMD_DEF_TIMEOUT_NS MSEC2NSEC(500)
#define ENA_WATCHDOG_INTERVAL_NS MSEC2NSEC(1000)
#define ENA_DEVICE_KEEPALIVE_TIMEOUT_NS MSEC2NSEC(6000)
#define ENA_BASIC_STATS_MINIMUM_INTERVAL_NS MSEC2NSEC(10);
gs->gs_period = ddi_periodic_add(gpio_sim_periodic, gs, MSEC2NSEC(500),
static hrtime_t power_button_debounce = MSEC2NSEC(10);
hrtime_t hrtmax = MSEC2NSEC(DUMP_HELPER_MAX_WAIT);
static hrtime_t power_button_debounce = MSEC2NSEC(10);