Searched refs:tv_nsec (Results 1 – 5 of 5) sorted by relevance
280 _ts->tv_nsec = ((uint64_t)1000000000 * in bintime2timespec()290 _bt->frac = _ts->tv_nsec * (uint64_t)18446744073LL; in timespec2bintime()316 _ts.tv_nsec = sbttons((uint32_t)_sbt); in sbttots()324 return (((sbintime_t)_ts.tv_sec << 32) + nstosbt(_ts.tv_nsec)); in tstosbt()345 #define timespecclear(tvp) ((tvp)->tv_sec = (tvp)->tv_nsec = 0)346 #define timespecisset(tvp) ((tvp)->tv_sec || (tvp)->tv_nsec)349 ((tvp)->tv_nsec cmp (uvp)->tv_nsec) : \355 (vsp)->tv_nsec = (tsp)->tv_nsec + (usp)->tv_nsec; \356 if ((vsp)->tv_nsec >= 1000000000L) { \358 (vsp)->tv_nsec -= 1000000000L; \[all …]
44 (ts)->tv_nsec = (tv)->tv_usec * 1000; \49 (tv)->tv_usec = (ts)->tv_nsec / 1000; \
49 long tv_nsec; /* and nanoseconds */ member
15 ts.tv_nsec = 0; in sleep()
14 ts.tv_nsec = ((long int)useconds % 1000000) * 1000; in usleep()