Lines Matching refs:NANOSEC
103 ftv->ftv_nsec = todbase.tv_usec * (NANOSEC / MICROSEC);
135 while (nsec >= NANOSEC) {
136 nsec -= NANOSEC;
154 fmd_time_hrt2ftv(tod_base->ftv_sec * NANOSEC +
167 hrtime_t tod_hrt = tod_base->ftv_sec * NANOSEC + tod_base->ftv_nsec;
168 hrtime_t ftv_hrt = ftv->ftv_sec * NANOSEC + ftv->ftv_nsec;
233 fts->fts_tod = (hrtime_t)tv.tv_sec * NANOSEC +
234 (hrtime_t)tv.tv_usec * (NANOSEC / MICROSEC);
266 sec = tod / NANOSEC + hrt / NANOSEC;
267 rem = tod % NANOSEC + hrt % NANOSEC;
269 tvp->tv_sec = sec + rem / NANOSEC;
270 tvp->tv_usec = (rem % NANOSEC) / (NANOSEC / MICROSEC);
357 tv.tv_sec = delta / NANOSEC;
358 tv.tv_nsec = delta % NANOSEC;