/external/strace/xlat/ |
D | futexops.h | 99 static_assert((FUTEX_WAIT_PRIVATE) == ((FUTEX_WAIT | FUTEX_PRIVATE_FLAG)), "FUTEX_WAIT_PRIVATE != (… 102 # define FUTEX_WAIT_PRIVATE (FUTEX_WAIT | FUTEX_PRIVATE_FLAG) 106 static_assert((FUTEX_WAKE_PRIVATE) == ((FUTEX_WAKE | FUTEX_PRIVATE_FLAG)), "FUTEX_WAKE_PRIVATE != (… 109 # define FUTEX_WAKE_PRIVATE (FUTEX_WAKE | FUTEX_PRIVATE_FLAG) 113 static_assert((FUTEX_REQUEUE_PRIVATE) == ((FUTEX_REQUEUE | FUTEX_PRIVATE_FLAG)), "FUTEX_REQUEUE_PRI… 116 # define FUTEX_REQUEUE_PRIVATE (FUTEX_REQUEUE | FUTEX_PRIVATE_FLAG) 120 static_assert((FUTEX_CMP_REQUEUE_PRIVATE) == ((FUTEX_CMP_REQUEUE | FUTEX_PRIVATE_FLAG)), "FUTEX_CMP… 123 # define FUTEX_CMP_REQUEUE_PRIVATE (FUTEX_CMP_REQUEUE | FUTEX_PRIVATE_FLAG) 127 static_assert((FUTEX_WAKE_OP_PRIVATE) == ((FUTEX_WAKE_OP | FUTEX_PRIVATE_FLAG)), "FUTEX_WAKE_OP_PRI… 130 # define FUTEX_WAKE_OP_PRIVATE (FUTEX_WAKE_OP | FUTEX_PRIVATE_FLAG) [all …]
|
D | futexops.in | 14 FUTEX_WAIT_PRIVATE (FUTEX_WAIT | FUTEX_PRIVATE_FLAG) 15 FUTEX_WAKE_PRIVATE (FUTEX_WAKE | FUTEX_PRIVATE_FLAG) 16 FUTEX_FD|FUTEX_PRIVATE_FLAG 17 FUTEX_REQUEUE_PRIVATE (FUTEX_REQUEUE | FUTEX_PRIVATE_FLAG) 18 FUTEX_CMP_REQUEUE_PRIVATE (FUTEX_CMP_REQUEUE | FUTEX_PRIVATE_FLAG) 19 FUTEX_WAKE_OP_PRIVATE (FUTEX_WAKE_OP | FUTEX_PRIVATE_FLAG) 20 FUTEX_LOCK_PI_PRIVATE (FUTEX_LOCK_PI | FUTEX_PRIVATE_FLAG) 21 FUTEX_UNLOCK_PI_PRIVATE (FUTEX_UNLOCK_PI | FUTEX_PRIVATE_FLAG) 22 FUTEX_TRYLOCK_PI_PRIVATE (FUTEX_TRYLOCK_PI | FUTEX_PRIVATE_FLAG) 23 FUTEX_WAIT_BITSET_PRIVATE (FUTEX_WAIT_BITSET | FUTEX_PRIVATE_FLAG) [all …]
|
/external/kernel-headers/original/uapi/linux/ |
D | futex.h | 25 #define FUTEX_PRIVATE_FLAG 128 macro 27 #define FUTEX_CMD_MASK ~(FUTEX_PRIVATE_FLAG | FUTEX_CLOCK_REALTIME) 29 #define FUTEX_WAIT_PRIVATE (FUTEX_WAIT | FUTEX_PRIVATE_FLAG) 30 #define FUTEX_WAKE_PRIVATE (FUTEX_WAKE | FUTEX_PRIVATE_FLAG) 31 #define FUTEX_REQUEUE_PRIVATE (FUTEX_REQUEUE | FUTEX_PRIVATE_FLAG) 32 #define FUTEX_CMP_REQUEUE_PRIVATE (FUTEX_CMP_REQUEUE | FUTEX_PRIVATE_FLAG) 33 #define FUTEX_WAKE_OP_PRIVATE (FUTEX_WAKE_OP | FUTEX_PRIVATE_FLAG) 34 #define FUTEX_LOCK_PI_PRIVATE (FUTEX_LOCK_PI | FUTEX_PRIVATE_FLAG) 35 #define FUTEX_UNLOCK_PI_PRIVATE (FUTEX_UNLOCK_PI | FUTEX_PRIVATE_FLAG) 36 #define FUTEX_TRYLOCK_PI_PRIVATE (FUTEX_TRYLOCK_PI | FUTEX_PRIVATE_FLAG) [all …]
|
/external/linux-kselftest/tools/testing/selftests/futex/functional/ |
D | futex_requeue_pi.c | 128 FUTEX_PRIVATE_FLAG); in waiterfn() 140 futex_lock_pi(&f2, NULL, 0, FUTEX_PRIVATE_FLAG); in waiterfn() 142 futex_unlock_pi(&f2, FUTEX_PRIVATE_FLAG); in waiterfn() 165 futex_lock_pi(&f2, NULL, 0, FUTEX_PRIVATE_FLAG); in broadcast_wakerfn() 170 FUTEX_PRIVATE_FLAG); in broadcast_wakerfn() 184 futex_wake(&wake_complete, 1, FUTEX_PRIVATE_FLAG); in broadcast_wakerfn() 187 futex_unlock_pi(&f2, FUTEX_PRIVATE_FLAG); in broadcast_wakerfn() 216 futex_lock_pi(&f2, NULL, 0, FUTEX_PRIVATE_FLAG); in signal_wakerfn() 223 FUTEX_PRIVATE_FLAG); in signal_wakerfn() 230 futex_unlock_pi(&f2, FUTEX_PRIVATE_FLAG); in signal_wakerfn() [all …]
|
D | futex_requeue_pi_signal_restart.c | 107 FUTEX_PRIVATE_FLAG); in waiterfn() 113 futex_unlock_pi(&f2, FUTEX_PRIVATE_FLAG); in waiterfn() 170 futex_lock_pi(&f2, 0, 0, FUTEX_PRIVATE_FLAG); in main() 186 FUTEX_PRIVATE_FLAG); in main() 216 futex_unlock_pi(&f2, FUTEX_PRIVATE_FLAG); in main()
|
D | futex_requeue_pi_mismatched_ops.c | 50 child_ret = futex_wait(&f1, f1, NULL, FUTEX_PRIVATE_FLAG); in blocking_child() 99 ret = futex_cmp_requeue_pi(&f1, f1, &f2, 1, 0, FUTEX_PRIVATE_FLAG); in main() 107 ret = futex_wake(&f1, 1, FUTEX_PRIVATE_FLAG); in main()
|
D | futex_wait_wouldblock.c | 72 res = futex_wait(&f1, f1+1, &to, FUTEX_PRIVATE_FLAG); in main()
|
D | futex_wait_timeout.c | 81 res = futex_wait(&f1, f1, &to, FUTEX_PRIVATE_FLAG); in main()
|
/external/strace/tests/ |
D | futex.c | 43 # ifndef FUTEX_PRIVATE_FLAG 44 # define FUTEX_PRIVATE_FLAG 128 macro 50 # define FUTEX_CMD_MASK ~(FUTEX_PRIVATE_FLAG | FUTEX_CLOCK_REALTIME) 149 invalid_op(uaddr, FUTEX_CLOCK_REALTIME | FUTEX_PRIVATE_FLAG | \ 248 CHECK_FUTEX_ENOSYS(uaddr, FUTEX_PRIVATE_FLAG | FUTEX_WAIT, VAL, tmout, in main() 267 FUTEX_CLOCK_REALTIME | FUTEX_PRIVATE_FLAG | FUTEX_WAIT, in main() 310 CHECK_FUTEX_ENOSYS(uaddr, FUTEX_PRIVATE_FLAG | FUTEX_WAIT_BITSET, VAL, in main() 336 CHECK_FUTEX_ENOSYS(uaddr, FUTEX_CLOCK_REALTIME | FUTEX_PRIVATE_FLAG | in main() 364 CHECK_FUTEX_ENOSYS(uaddr, FUTEX_PRIVATE_FLAG | FUTEX_WAKE, 10, NULL, in main() 401 CHECK_FUTEX_ENOSYS(uaddr, FUTEX_PRIVATE_FLAG | FUTEX_WAKE_BITSET, 10, in main() [all …]
|
/external/strace/tests-mx32/ |
D | futex.c | 43 # ifndef FUTEX_PRIVATE_FLAG 44 # define FUTEX_PRIVATE_FLAG 128 macro 50 # define FUTEX_CMD_MASK ~(FUTEX_PRIVATE_FLAG | FUTEX_CLOCK_REALTIME) 149 invalid_op(uaddr, FUTEX_CLOCK_REALTIME | FUTEX_PRIVATE_FLAG | \ 248 CHECK_FUTEX_ENOSYS(uaddr, FUTEX_PRIVATE_FLAG | FUTEX_WAIT, VAL, tmout, in main() 267 FUTEX_CLOCK_REALTIME | FUTEX_PRIVATE_FLAG | FUTEX_WAIT, in main() 310 CHECK_FUTEX_ENOSYS(uaddr, FUTEX_PRIVATE_FLAG | FUTEX_WAIT_BITSET, VAL, in main() 336 CHECK_FUTEX_ENOSYS(uaddr, FUTEX_CLOCK_REALTIME | FUTEX_PRIVATE_FLAG | in main() 364 CHECK_FUTEX_ENOSYS(uaddr, FUTEX_PRIVATE_FLAG | FUTEX_WAKE, 10, NULL, in main() 401 CHECK_FUTEX_ENOSYS(uaddr, FUTEX_PRIVATE_FLAG | FUTEX_WAKE_BITSET, 10, in main() [all …]
|
/external/strace/tests-m32/ |
D | futex.c | 43 # ifndef FUTEX_PRIVATE_FLAG 44 # define FUTEX_PRIVATE_FLAG 128 macro 50 # define FUTEX_CMD_MASK ~(FUTEX_PRIVATE_FLAG | FUTEX_CLOCK_REALTIME) 149 invalid_op(uaddr, FUTEX_CLOCK_REALTIME | FUTEX_PRIVATE_FLAG | \ 248 CHECK_FUTEX_ENOSYS(uaddr, FUTEX_PRIVATE_FLAG | FUTEX_WAIT, VAL, tmout, in main() 267 FUTEX_CLOCK_REALTIME | FUTEX_PRIVATE_FLAG | FUTEX_WAIT, in main() 310 CHECK_FUTEX_ENOSYS(uaddr, FUTEX_PRIVATE_FLAG | FUTEX_WAIT_BITSET, VAL, in main() 336 CHECK_FUTEX_ENOSYS(uaddr, FUTEX_CLOCK_REALTIME | FUTEX_PRIVATE_FLAG | in main() 364 CHECK_FUTEX_ENOSYS(uaddr, FUTEX_PRIVATE_FLAG | FUTEX_WAKE, 10, NULL, in main() 401 CHECK_FUTEX_ENOSYS(uaddr, FUTEX_PRIVATE_FLAG | FUTEX_WAKE_BITSET, 10, in main() [all …]
|
/external/ltp/testcases/kernel/syscalls/futex/ |
D | futex_wake01.c | 42 {&futex, 0, FUTEX_PRIVATE_FLAG}, 44 {&futex, 1, FUTEX_PRIVATE_FLAG}, 46 {&futex, INT_MAX, FUTEX_PRIVATE_FLAG},
|
D | futextest.h | 69 #ifndef FUTEX_PRIVATE_FLAG 70 # define FUTEX_PRIVATE_FLAG 128 macro 74 FUTEX_PRIVATE_FLAG) 78 FUTEX_PRIVATE_FLAG)
|
D | futex_wake02.c | 63 futex_wait(&futex, futex, NULL, FUTEX_PRIVATE_FLAG); in threaded() 88 res = futex_wake(&futex, i, FUTEX_PRIVATE_FLAG); in do_child() 111 res = futex_wake(&futex, 1, FUTEX_PRIVATE_FLAG); in do_child()
|
D | futex_wait03.c | 42 ret = futex_wake(&futex, 1, FUTEX_PRIVATE_FLAG); in threaded() 59 res = futex_wait(&futex, futex, NULL, FUTEX_PRIVATE_FLAG); in verify_futex_wait()
|
D | futex_wait01.c | 49 {&futex, FUTEX_INITIALIZER, FUTEX_PRIVATE_FLAG, ETIMEDOUT}, 50 {&futex, FUTEX_INITIALIZER+1, FUTEX_PRIVATE_FLAG, EWOULDBLOCK},
|
/external/strace/ |
D | futex.c | 34 #ifndef FUTEX_PRIVATE_FLAG 35 # define FUTEX_PRIVATE_FLAG 128 macro
|
D | ChangeLog | 38312 FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME flags ... 53040 (FUTEX_PRIVATE_FLAG, FUTEX_CLOCK_REALTIME): Define.
|
/external/linux-kselftest/tools/testing/selftests/futex/include/ |
D | futextest.h | 47 FUTEX_PRIVATE_FLAG) 51 FUTEX_PRIVATE_FLAG)
|
/external/linux-kselftest/tools/testing/selftests/powerpc/benchmarks/ |
D | context_switch.c | 279 flags |= FUTEX_PRIVATE_FLAG; in mutex_lock() 300 flags |= FUTEX_PRIVATE_FLAG; in mutex_unlock()
|
/external/google-breakpad/src/third_party/lss/ |
D | linux_syscall_support.h | 681 #ifndef FUTEX_PRIVATE_FLAG 682 #define FUTEX_PRIVATE_FLAG 128 macro 685 #define FUTEX_CMD_MASK ~FUTEX_PRIVATE_FLAG 688 #define FUTEX_WAIT_PRIVATE (FUTEX_WAIT | FUTEX_PRIVATE_FLAG) 691 #define FUTEX_WAKE_PRIVATE (FUTEX_WAKE | FUTEX_PRIVATE_FLAG) 694 #define FUTEX_REQUEUE_PRIVATE (FUTEX_REQUEUE | FUTEX_PRIVATE_FLAG) 697 #define FUTEX_CMP_REQUEUE_PRIVATE (FUTEX_CMP_REQUEUE | FUTEX_PRIVATE_FLAG) 700 #define FUTEX_WAKE_OP_PRIVATE (FUTEX_WAKE_OP | FUTEX_PRIVATE_FLAG) 703 #define FUTEX_LOCK_PI_PRIVATE (FUTEX_LOCK_PI | FUTEX_PRIVATE_FLAG) 706 #define FUTEX_UNLOCK_PI_PRIVATE (FUTEX_UNLOCK_PI | FUTEX_PRIVATE_FLAG) [all …]
|