Home
last modified time | relevance | path

Searched refs:nstosbt (Results 1 – 10 of 10) sorted by relevance

/freebsd/sys/compat/linuxkpi/common/src/
H A Dlinux_hrtimer.c47 nstosbt(hrtimer->expires), nstosbt(hrtimer->precision), 0); in hrtimer_call_handler()
128 callout_reset_sbt(&hrtimer->callout, nstosbt(ktime_to_ns(time)), in linux_hrtimer_start_range_ns()
129 nstosbt(nsec), hrtimer_call_handler, hrtimer, 0); in linux_hrtimer_start_range_ns()
138 callout_reset_sbt(&hrtimer->callout, nstosbt(ktime_to_ns(interval)), in linux_hrtimer_forward_now()
139 nstosbt(hrtimer->precision), hrtimer_call_handler, hrtimer, 0); in linux_hrtimer_forward_now()
/freebsd/tests/sys/sys/
H A Dtime_test.c41 sbintime_t actual = nstosbt(ns); in atf_check_nstosbt()
48 ATF_TC_WITHOUT_HEAD(nstosbt);
49 ATF_TC_BODY(nstosbt, tc) in ATF_TC_BODY() argument
214 ATF_TP_ADD_TC(tp, nstosbt); in ATF_TP_ADD_TCS()
/freebsd/sys/cddl/compat/opensolaris/sys/
H A Dkcondvar.h65 return (cv_timedwait_sbt(cvp, mp, nstosbt(tim), nstosbt(res), 0)); in cv_timedwait_hires()
/freebsd/sys/dev/iicbus/adc/
H A Dads111x.c225 err = pause_sbt("ads111x", nstosbt(waitns), 0, C_PREL(2)); in ads111x_sample_voltage()
248 pause_sbt("ads111x", nstosbt(waitns / 20), 0, C_PREL(2)); in ads111x_sample_voltage()
/freebsd/sys/kern/
H A Dsubr_rtc.c391 sbt = nstosbt(waitns); in resettodr()
H A Dkern_umtx.c4704 td->td_proc->p_umtx_min_timeout = nstosbt(uap->val); in __umtx_op_set_min_timeout()
/freebsd/sys/arm/arm/
H A Dmpcore_timer.c350 sc->et.et_min_period = nstosbt(20); in attach_et()
/freebsd/sys/dev/wg/
H A Dwg_cookie.c306 return (now > (timer + sec * SBT_1S + nstosbt(nsec))) ? ETIMEDOUT : 0; in timer_expired()
H A Dwg_noise.c1399 return (now > (timer + sec * SBT_1S + nstosbt(nsec))) ? ETIMEDOUT : 0; in noise_timer_expired()
/freebsd/sys/sys/
H A Dtime.h352 return (((sbintime_t)_ts.tv_sec << 32) + nstosbt(_ts.tv_nsec)); in tstosbt()