Lines Matching refs:opflags
36 #define futex(uaddr, op, val, timeout, uaddr2, val3, opflags) \ argument
37 syscall(SYS_futex, uaddr, op | opflags, val, timeout, uaddr2, val3)
44 futex_wait(u_int32_t *uaddr, u_int32_t val, struct timespec *timeout, int opflags) in futex_wait() argument
46 return futex(uaddr, FUTEX_WAIT, val, timeout, NULL, 0, opflags); in futex_wait()
54 futex_wake(u_int32_t *uaddr, int nr_wake, int opflags) in futex_wake() argument
56 return futex(uaddr, FUTEX_WAKE, nr_wake, NULL, NULL, 0, opflags); in futex_wake()
63 futex_lock_pi(u_int32_t *uaddr, struct timespec *timeout, int opflags) in futex_lock_pi() argument
65 return futex(uaddr, FUTEX_LOCK_PI, 0, timeout, NULL, 0, opflags); in futex_lock_pi()
72 futex_unlock_pi(u_int32_t *uaddr, int opflags) in futex_unlock_pi() argument
74 return futex(uaddr, FUTEX_UNLOCK_PI, 0, NULL, NULL, 0, opflags); in futex_unlock_pi()
84 int nr_requeue, int opflags) in futex_cmp_requeue() argument
87 val, opflags); in futex_cmp_requeue()