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