Lines Matching refs:NANOSEC
54 * LONG_SLEEP_TIME = (24 * 60 * 60 * NANOSEC)
192 now = (hrtime_t)tspec.tv_sec * (hrtime_t)NANOSEC + tspec.tv_nsec;
193 future_time = (hrtime_t)timeout_time->tv_sec * (hrtime_t)NANOSEC +
196 future_time = (hrtime_t)timeout_time->tv_sec * (hrtime_t)NANOSEC +
256 current_time = (hrtime_t)tspec.tv_sec * (hrtime_t)NANOSEC +
314 delta = (hrtime_t)5 * NANOSEC;
318 to.tv_sec = tim.tv_sec + (delta / NANOSEC);
320 (delta % NANOSEC);
321 if (to.tv_nsec > NANOSEC) {
322 to.tv_sec += (to.tv_nsec / NANOSEC);
323 to.tv_nsec %= NANOSEC;
336 current_time = (hrtime_t)tspec.tv_sec * (hrtime_t)NANOSEC +