Lines Matching defs:futex
3 * Glibc independent futex library for testing kernel functionality.
14 #include <linux/futex.h>
17 * futex() - SYS_futex syscall wrapper
18 * @uaddr: address of first futex
19 * @op: futex op code
23 * @uaddr2: address of second futex for some ops\
27 * futex() is used by all the following futex op wrappers. It can also be
36 #define futex(uaddr, op, val, timeout, uaddr2, val3, opflags) \
46 return futex(uaddr, FUTEX_WAIT, val, timeout, NULL, 0, opflags);
56 return futex(uaddr, FUTEX_WAKE, nr_wake, NULL, NULL, 0, opflags);
65 return futex(uaddr, FUTEX_LOCK_PI, 0, timeout, NULL, 0, opflags);
74 return futex(uaddr, FUTEX_UNLOCK_PI, 0, NULL, NULL, 0, opflags);
86 return futex(uaddr, FUTEX_CMP_REQUEUE, nr_wake, nr_requeue, uaddr2,