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