Lines Matching refs:NANOSEC
355 min = MAX((int)(cyclic_getres() / (NANOSEC / MICROSEC)),
759 if (tv->tv_sec < 0 || tv->tv_nsec < 0 || tv->tv_nsec >= NANOSEC)
865 t1->tv_nsec += NANOSEC;
867 if (t1->tv_nsec >= NANOSEC) {
869 t1->tv_nsec -= NANOSEC;
912 nsec += NANOSEC;
913 } else if (nsec >= NANOSEC) {
915 nsec -= NANOSEC;
952 nsec += NANOSEC;
953 } else if (nsec >= NANOSEC) {
955 nsec -= NANOSEC;
981 * tsp->sec = hrt / NANOSEC;
982 * tsp->nsec = hrt % NANOSEC;
1161 * while (nsec >= NANOSEC) {
1162 * nsec -= NANOSEC;
1190 while (nsec >= NANOSEC) {
1191 nsec -= NANOSEC;
1203 * hrt = tsp->tv_sec * NANOSEC + tsp->tv_nsec;
1242 return ((hrtime_t)tvp->tv_sec * NANOSEC +
1243 (hrtime_t)tvp->tv_usec * (NANOSEC / MICROSEC));
1265 while (nsec >= NANOSEC) {
1266 nsec -= NANOSEC;
1308 rqtime.tv_nsec >= NANOSEC)