Searched refs:MAXTSLP (Results 1 – 7 of 7) sorted by relevance
/openbsd/sys/kern/ |
H A D | sys_futex.c | 243 nsecs = MAX(1, MIN(TIMESPEC_TO_NSEC(&ts), MAXTSLP)); in futex_wait()
|
H A D | sys_generic.c | 668 nsecs = MAX(1, MIN(TIMESPEC_TO_NSEC(timeout), MAXTSLP)); in dopselect() 965 nsecs = MAX(1, MIN(TIMESPEC_TO_NSEC(timeout), MAXTSLP)); in doppoll()
|
H A D | kern_synch.c | 729 nsecs = MIN(TIMESPEC_TO_NSEC(tsp), MAXTSLP); in thrsleep()
|
H A D | kern_time.c | 302 nsecs = MAX(1, MIN(TIMESPEC_TO_NSEC(&request), MAXTSLP)); in sys_nanosleep()
|
H A D | kern_event.c | 1451 nsecs = MIN(TIMESPEC_TO_NSEC(tsp), MAXTSLP); in kqueue_sleep()
|
/openbsd/sys/sys/ |
H A D | systm.h | 268 #define MAXTSLP (UINT64_MAX - 1) macro
|
/openbsd/sys/net/ |
H A D | bpf.c | 735 if (nsec > MAXTSLP) in bpf_set_wtimeout() 971 if (rtout > MAXTSLP) { in bpfioctl()
|