Lines Matching defs:nanosecs
165 uint32_t *nanosecs)
174 *nanosecs = (now * NSEC_PER_SEC) / divisor;
220 uint64_t nanosecs = (uint64_t)interval * scale_factor;
224 *result = (t64 = nanosecs / NSEC_PER_SEC) *
226 nanosecs -= (t64 * NSEC_PER_SEC);
227 *result += (nanosecs * divisor) / NSEC_PER_SEC;
248 uint32_t *nanosecs)
255 *nanosecs = (abstime * NSEC_PER_SEC) / divisor;
261 uint32_t nanosecs,
267 ((uint64_t)nanosecs * divisor) / NSEC_PER_SEC;
285 uint64_t nanosecs,
291 *result = (t64 = nanosecs / NSEC_PER_SEC) *
293 nanosecs -= (t64 * NSEC_PER_SEC);
294 *result += (nanosecs * divisor) / NSEC_PER_SEC;