Searched refs:time_to_sleep (Results 1 – 5 of 5) sorted by relevance
| /freebsd-14-stable/lib/libc/gen/ |
| HD | usleep.c | 46 struct timespec time_to_sleep; in __usleep() local 48 time_to_sleep.tv_nsec = (useconds % 1000000) * 1000; in __usleep() 49 time_to_sleep.tv_sec = useconds / 1000000; in __usleep() 51 __libc_interposing[INTERPOS_nanosleep])(&time_to_sleep, NULL)); in __usleep()
|
| HD | sleep.c | 48 struct timespec time_to_sleep; in __sleep() local 58 time_to_sleep.tv_sec = seconds; in __sleep() 59 time_to_sleep.tv_nsec = 0; in __sleep() 62 &time_to_sleep, &time_remaining) != -1) in __sleep()
|
| /freebsd-14-stable/lib/libthr/thread/ |
| HD | thr_syscalls.c | 263 const struct timespec *time_to_sleep, struct timespec *time_remaining) in __thr_clock_nanosleep() argument 270 ret = __sys_clock_nanosleep(clock_id, flags, time_to_sleep, in __thr_clock_nanosleep() 278 __thr_nanosleep(const struct timespec *time_to_sleep, in __thr_nanosleep() argument 286 ret = __sys_nanosleep(time_to_sleep, time_remaining); in __thr_nanosleep()
|
| /freebsd-14-stable/lib/libc/net/ |
| HD | rcmd.c | 193 struct timespec time_to_sleep, time_remaining; in rcmd_af() local 195 time_to_sleep.tv_sec = timo; in rcmd_af() 196 time_to_sleep.tv_nsec = 0; in rcmd_af() 197 (void)_nanosleep(&time_to_sleep, &time_remaining); in rcmd_af()
|
| /freebsd-14-stable/lib/libc/yp/ |
| HD | yplib.c | 480 struct timespec time_to_sleep, time_remaining; in _yp_dobind() local 485 time_to_sleep.tv_sec = _yplib_timeout/2; in _yp_dobind() 486 time_to_sleep.tv_nsec = 0; in _yp_dobind() 487 _nanosleep(&time_to_sleep, in _yp_dobind()
|