Lines Matching refs:hrtime_t
41 hrtime_t sip_timeout_val;
178 hrtime_t future_time;
182 hrtime_t now;
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 +
194 (hrtime_t)(timeout_time->tv_usec * MILLISEC) + now;
196 future_time = (hrtime_t)timeout_time->tv_sec * (hrtime_t)NANOSEC +
197 (hrtime_t)(timeout_time->tv_usec * MILLISEC) + gethrtime();
239 static hrtime_t
245 hrtime_t current_time;
255 return ((hrtime_t)LONG_SLEEP_TIME + current_time);
256 current_time = (hrtime_t)tspec.tv_sec * (hrtime_t)NANOSEC +
262 return ((hrtime_t)LONG_SLEEP_TIME + current_time);
296 return ((hrtime_t)LONG_SLEEP_TIME + current_time);
307 hrtime_t current_time;
308 hrtime_t next_timeout;
309 hrtime_t delta;
314 delta = (hrtime_t)5 * NANOSEC;
319 to.tv_nsec = (hrtime_t)(tim.tv_usec * MILLISEC) +
336 current_time = (hrtime_t)tspec.tv_sec * (hrtime_t)NANOSEC +