Lines Matching refs:NANOSEC
355 min = MAX((int)(cyclic_getres() / (NANOSEC / MICROSEC)), in xsetitimer()
759 if (tv->tv_sec < 0 || tv->tv_nsec < 0 || tv->tv_nsec >= NANOSEC) in itimerspecfix()
865 t1->tv_nsec += NANOSEC; in timespecfix()
867 if (t1->tv_nsec >= NANOSEC) { in timespecfix()
869 t1->tv_nsec -= NANOSEC; in timespecfix()
912 nsec += NANOSEC; in timespectohz()
913 } else if (nsec >= NANOSEC) { in timespectohz()
915 nsec -= NANOSEC; in timespectohz()
952 nsec += NANOSEC; in timespectohz64()
953 } else if (nsec >= NANOSEC) { in timespectohz64()
955 nsec -= NANOSEC; in timespectohz64()
1190 while (nsec >= NANOSEC) { in hrt2ts()
1191 nsec -= NANOSEC; in hrt2ts()
1242 return ((hrtime_t)tvp->tv_sec * NANOSEC + in tv2hrt()
1243 (hrtime_t)tvp->tv_usec * (NANOSEC / MICROSEC)); in tv2hrt()
1265 while (nsec >= NANOSEC) { in hrt2tv()
1266 nsec -= NANOSEC; in hrt2tv()
1308 rqtime.tv_nsec >= NANOSEC) in nanosleep()