Searched refs:NSEC_MAX (Results 1 – 3 of 3) sorted by relevance
10 #define NSEC_MAX ((1000L * 1000 * 1000) - 1) macro42 .tv_nsec = NSEC_MAX in timespec_add_ns()47 if (ns > (uint32_t)NSEC_MAX) { in timespec_add_ns()59 if (sum_ns > NSEC_MAX) { in timespec_add_ns()65 sum_ns -= (NSEC_MAX + 1); in timespec_add_ns()84 .tv_nsec = NSEC_MAX in timespec_add()90 if (inc.tv_sec < 0 || inc.tv_nsec < 0 || inc.tv_nsec > NSEC_MAX) { in timespec_add()103 if (nsec > NSEC_MAX) { in timespec_add()109 nsec -= (NSEC_MAX + 1); in timespec_add()
83 new_deadline->tv_nsec = NSEC_MAX; in ck_ec_deadline_impl()
103 #define NSEC_MAX 1000000000L macro114 static const struct timespec max_ts = {.tv_nsec = (NSEC_MAX / 100)};