/external/strace/xlat/ |
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 …]
|
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 …]
|
/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 | 124 FUTEX_PRIVATE_FLAG); in waiterfn() 136 futex_lock_pi(&f2, NULL, 0, FUTEX_PRIVATE_FLAG); in waiterfn() 138 futex_unlock_pi(&f2, FUTEX_PRIVATE_FLAG); in waiterfn() 161 futex_lock_pi(&f2, NULL, 0, FUTEX_PRIVATE_FLAG); in broadcast_wakerfn() 166 FUTEX_PRIVATE_FLAG); in broadcast_wakerfn() 180 futex_wake(&wake_complete, 1, FUTEX_PRIVATE_FLAG); in broadcast_wakerfn() 183 futex_unlock_pi(&f2, FUTEX_PRIVATE_FLAG); in broadcast_wakerfn() 212 futex_lock_pi(&f2, NULL, 0, FUTEX_PRIVATE_FLAG); in signal_wakerfn() 219 FUTEX_PRIVATE_FLAG); in signal_wakerfn() 226 futex_unlock_pi(&f2, FUTEX_PRIVATE_FLAG); in signal_wakerfn() [all …]
|
D | futex_requeue_pi_signal_restart.c | 103 FUTEX_PRIVATE_FLAG); in waiterfn() 109 futex_unlock_pi(&f2, FUTEX_PRIVATE_FLAG); in waiterfn() 167 futex_lock_pi(&f2, 0, 0, FUTEX_PRIVATE_FLAG); in main() 183 FUTEX_PRIVATE_FLAG); in main() 213 futex_unlock_pi(&f2, FUTEX_PRIVATE_FLAG); in main()
|
D | futex_requeue_pi_mismatched_ops.c | 46 child_ret = futex_wait(&f1, f1, NULL, FUTEX_PRIVATE_FLAG); in blocking_child() 96 ret = futex_cmp_requeue_pi(&f1, f1, &f2, 1, 0, FUTEX_PRIVATE_FLAG); in main() 104 ret = futex_wake(&f1, 1, FUTEX_PRIVATE_FLAG); in main()
|
/external/openscreen/third_party/abseil/src/absl/synchronization/internal/ |
D | futex.h | 67 #ifndef FUTEX_PRIVATE_FLAG 68 #define FUTEX_PRIVATE_FLAG 128 macro 99 FUTEX_WAIT_BITSET | FUTEX_PRIVATE_FLAG | FUTEX_CLOCK_REALTIME, val, in WaitUntil() 105 FUTEX_WAIT | FUTEX_PRIVATE_FLAG, val, nullptr); in WaitUntil() 117 FUTEX_WAIT_BITSET | FUTEX_PRIVATE_FLAG, val, abstime, in WaitBitsetAbsoluteTimeout() 127 FUTEX_WAKE | FUTEX_PRIVATE_FLAG, count); in Wake() 137 FUTEX_WAKE_BITSET | FUTEX_PRIVATE_FLAG, count, nullptr, in WakeBitset()
|
/external/angle/third_party/abseil-cpp/absl/synchronization/internal/ |
D | futex.h | 67 #ifndef FUTEX_PRIVATE_FLAG 68 #define FUTEX_PRIVATE_FLAG 128 macro 99 FUTEX_WAIT_BITSET | FUTEX_PRIVATE_FLAG | FUTEX_CLOCK_REALTIME, val, in WaitUntil() 105 FUTEX_WAIT | FUTEX_PRIVATE_FLAG, val, nullptr); in WaitUntil() 117 FUTEX_WAIT_BITSET | FUTEX_PRIVATE_FLAG, val, abstime, in WaitBitsetAbsoluteTimeout() 127 FUTEX_WAKE | FUTEX_PRIVATE_FLAG, count); in Wake() 137 FUTEX_WAKE_BITSET | FUTEX_PRIVATE_FLAG, count, nullptr, in WakeBitset()
|
/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/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/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()
|
/external/abseil-cpp/absl/base/internal/ |
D | spinlock_linux.inc | 44 #ifndef FUTEX_PRIVATE_FLAG 45 #define FUTEX_PRIVATE_FLAG 128 58 syscall(SYS_futex, w, FUTEX_WAIT | FUTEX_PRIVATE_FLAG, value, &tm); 63 syscall(SYS_futex, w, FUTEX_WAKE | FUTEX_PRIVATE_FLAG, all ? INT_MAX : 1, 0);
|
/external/angle/third_party/abseil-cpp/absl/base/internal/ |
D | spinlock_linux.inc | 44 #ifndef FUTEX_PRIVATE_FLAG 45 #define FUTEX_PRIVATE_FLAG 128 66 syscall(SYS_futex, w, FUTEX_WAIT | FUTEX_PRIVATE_FLAG, value, &tm); 71 syscall(SYS_futex, w, FUTEX_WAKE | FUTEX_PRIVATE_FLAG, all ? INT_MAX : 1, 0);
|
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/base/internal/ |
D | spinlock_linux.inc | 44 #ifndef FUTEX_PRIVATE_FLAG 45 #define FUTEX_PRIVATE_FLAG 128 66 syscall(SYS_futex, w, FUTEX_WAIT | FUTEX_PRIVATE_FLAG, value, &tm); 71 syscall(SYS_futex, w, FUTEX_WAKE | FUTEX_PRIVATE_FLAG, all ? INT_MAX : 1, 0);
|
/external/webrtc/third_party/abseil-cpp/absl/base/internal/ |
D | spinlock_linux.inc | 44 #ifndef FUTEX_PRIVATE_FLAG 45 #define FUTEX_PRIVATE_FLAG 128 58 syscall(SYS_futex, w, FUTEX_WAIT | FUTEX_PRIVATE_FLAG, value, &tm); 63 syscall(SYS_futex, w, FUTEX_WAKE | FUTEX_PRIVATE_FLAG, all ? INT_MAX : 1, 0);
|
/external/openscreen/third_party/abseil/src/absl/base/internal/ |
D | spinlock_linux.inc | 44 #ifndef FUTEX_PRIVATE_FLAG 45 #define FUTEX_PRIVATE_FLAG 128 66 syscall(SYS_futex, w, FUTEX_WAIT | FUTEX_PRIVATE_FLAG, value, &tm); 71 syscall(SYS_futex, w, FUTEX_WAKE | FUTEX_PRIVATE_FLAG, all ? INT_MAX : 1, 0);
|
/external/libtextclassifier/abseil-cpp/absl/base/internal/ |
D | spinlock_linux.inc | 44 #ifndef FUTEX_PRIVATE_FLAG 45 #define FUTEX_PRIVATE_FLAG 128 66 syscall(SYS_futex, w, FUTEX_WAIT | FUTEX_PRIVATE_FLAG, value, &tm); 71 syscall(SYS_futex, w, FUTEX_WAKE | FUTEX_PRIVATE_FLAG, all ? INT_MAX : 1, 0);
|
/external/libtextclassifier/abseil-cpp/absl/synchronization/internal/ |
D | waiter.cc | 78 #ifndef FUTEX_PRIVATE_FLAG 79 #define FUTEX_PRIVATE_FLAG 128 macro 110 FUTEX_WAIT_BITSET | FUTEX_PRIVATE_FLAG | FUTEX_CLOCK_REALTIME, val, in WaitUntil() 116 FUTEX_WAIT | FUTEX_PRIVATE_FLAG, val, nullptr); in WaitUntil() 126 FUTEX_WAKE | FUTEX_PRIVATE_FLAG, count); in Wake()
|
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/synchronization/internal/ |
D | waiter.cc | 78 #ifndef FUTEX_PRIVATE_FLAG 79 #define FUTEX_PRIVATE_FLAG 128 macro 110 FUTEX_WAIT_BITSET | FUTEX_PRIVATE_FLAG | FUTEX_CLOCK_REALTIME, val, in WaitUntil() 116 FUTEX_WAIT | FUTEX_PRIVATE_FLAG, val, nullptr); in WaitUntil() 126 FUTEX_WAKE | FUTEX_PRIVATE_FLAG, count); in Wake()
|
/external/webrtc/third_party/abseil-cpp/absl/synchronization/internal/ |
D | waiter.cc | 78 #ifndef FUTEX_PRIVATE_FLAG 79 #define FUTEX_PRIVATE_FLAG 128 macro 102 FUTEX_WAIT_BITSET | FUTEX_PRIVATE_FLAG | FUTEX_CLOCK_REALTIME, val, in WaitUntil() 108 FUTEX_WAIT | FUTEX_PRIVATE_FLAG, val, nullptr); in WaitUntil() 118 FUTEX_WAKE | FUTEX_PRIVATE_FLAG, count); in Wake()
|
/external/abseil-cpp/absl/synchronization/internal/ |
D | waiter.cc | 78 #ifndef FUTEX_PRIVATE_FLAG 79 #define FUTEX_PRIVATE_FLAG 128 macro 102 FUTEX_WAIT_BITSET | FUTEX_PRIVATE_FLAG | FUTEX_CLOCK_REALTIME, val, in WaitUntil() 108 FUTEX_WAIT | FUTEX_PRIVATE_FLAG, val, nullptr); in WaitUntil() 118 FUTEX_WAKE | FUTEX_PRIVATE_FLAG, count); in Wake()
|