Home
last modified time | relevance | path

Searched refs:NSEC_MAX (Results 1 – 3 of 3) sorted by relevance

/freebsd/sys/contrib/ck/src/
H A Dck_ec_timeutil.h10 #define NSEC_MAX ((1000L * 1000 * 1000) - 1) macro
42 .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()
H A Dck_ec.c83 new_deadline->tv_nsec = NSEC_MAX; in ck_ec_deadline_impl()
/freebsd/tools/regression/sockets/udp_pingpong/
H A Dudp_pingpong.c103 #define NSEC_MAX 1000000000L macro
114 static const struct timespec max_ts = {.tv_nsec = (NSEC_MAX / 100)};