Lines Matching refs:ftv
78 fmd_time_sync(fmd_timeval_t *ftv, hrtime_t *hrp, uint_t samples) in fmd_time_sync() argument
101 if (ftv != NULL) { in fmd_time_sync()
102 ftv->ftv_sec = todbase.tv_sec; in fmd_time_sync()
103 ftv->ftv_nsec = todbase.tv_usec * (NANOSEC / MICROSEC); in fmd_time_sync()
117 fmd_time_hrt2ftv(hrtime_t hrt, fmd_timeval_t *ftv) in fmd_time_hrt2ftv() argument
140 ftv->ftv_sec = sec; in fmd_time_hrt2ftv()
141 ftv->ftv_nsec = nsec; in fmd_time_hrt2ftv()
152 hrtime_t hrt, fmd_timeval_t *ftv) in fmd_time_hrt2tod() argument
155 tod_base->ftv_nsec + (hrt - hrt_base), ftv); in fmd_time_hrt2tod()
165 const fmd_timeval_t *ftv, hrtime_t *hrtp) in fmd_time_tod2hrt() argument
168 hrtime_t ftv_hrt = ftv->ftv_sec * NANOSEC + ftv->ftv_nsec; in fmd_time_tod2hrt()