Lines Matching refs:tv_nsec
20 (res)->tv_nsec = (a)->tv_nsec + (b)->tv_nsec; \
21 if ((res)->tv_nsec >= 1000000000L) { \
22 (res)->tv_nsec -= 1000000000L; \
29 (res)->tv_nsec = (a)->tv_nsec - (b)->tv_nsec; \
30 if ((res)->tv_nsec < 0) { \
31 (res)->tv_nsec += 1000000000L; \
35 #define timespecclear(a) ((a)->tv_sec = (a)->tv_nsec = 0)
36 #define timespecisset(a) ((a)->tv_sec != 0 || (a)->tv_nsec != 0)
38 ? ((a)->tv_nsec cmp (b)->tv_nsec) : ((a)->tv_sec cmp (b)->tv_sec))
40 && (a)->tv_nsec >= 0 && (&)->tv_nsec < 1000000000L)