Lines Matching defs:timeout
21 * @timeout: typically an absolute struct timespec (except where noted
30 * some of the types over overloaded (timeout is used for nr_requeue for
36 #define futex(uaddr, op, val, timeout, uaddr2, val3, opflags) \
37 syscall(SYS_futex, uaddr, op | opflags, val, timeout, uaddr2, val3)
40 * futex_wait() - block on uaddr with optional timeout
41 * @timeout: relative timeout
44 futex_wait(u_int32_t *uaddr, u_int32_t val, struct timespec *timeout, int opflags)
46 return futex(uaddr, FUTEX_WAIT, val, timeout, NULL, 0, opflags);
63 futex_lock_pi(u_int32_t *uaddr, struct timespec *timeout, int opflags)
65 return futex(uaddr, FUTEX_LOCK_PI, 0, timeout, NULL, 0, opflags);