Lines Matching defs:tv_nsec
73 (tp)->tv_nsec = NS_PER_US * \
92 (tp)->tv_nsec = (long)(__ns_since_epoch % NS_PER_SEC); \
96 (tp)->tv_nsec += (long)(__ns_since_epoch % NS_PER_SEC); \
120 long tv_nsec; /* nanoseconds */
127 (vvp)->tv_nsec += (uvp)->tv_nsec; \
128 if ((vvp)->tv_nsec >= NS_PER_SEC) { \
130 (vvp)->tv_nsec -= NS_PER_SEC; \
136 (vvp)->tv_nsec -= (uvp)->tv_nsec; \
137 if ((vvp)->tv_nsec < 0) { \
139 (vvp)->tv_nsec += NS_PER_SEC; \
156 (tm).tv_nsec = __now.millitm * MS_PER_NS; \
163 (tm).tv_nsec = __tp.tv_usec * NS_PER_US; \
183 __secs = (tm).tv_sec + (double)(tm).tv_nsec / NS_PER_SEC; \