/external/rust/crates/parking_lot_core/src/thread_parker/ |
D | redox.rs | 15 call::futex, 26 futex: AtomicI32, field 37 futex: AtomicI32::new(UNPARKED), in new() 43 self.futex.store(PARKED, Ordering::Relaxed); in prepare_park() 48 self.futex.load(Ordering::Relaxed) != UNPARKED in timed_out() 53 while self.futex.load(Ordering::Acquire) != UNPARKED { in park() 60 while self.futex.load(Ordering::Acquire) != UNPARKED { in park_until() 83 self.futex.store(UNPARKED, Ordering::Release); in unpark_lock() 85 UnparkHandle { futex: self.ptr() } in unpark_lock() 97 futex( in futex_wait() [all …]
|
D | linux.rs | 38 futex: AtomicI32, field 49 futex: AtomicI32::new(0), in new() 55 self.futex.store(1, Ordering::Relaxed); in prepare_park() 60 self.futex.load(Ordering::Relaxed) != 0 in timed_out() 65 while self.futex.load(Ordering::Acquire) != 0 { in park() 72 while self.futex.load(Ordering::Acquire) != 0 { in park_until() 98 self.futex.store(0, Ordering::Release); in unpark_lock() 100 UnparkHandle { futex: &self.futex } in unpark_lock() 114 &self.futex, in futex_wait() 132 futex: *const AtomicI32, field [all …]
|
/external/linux-kselftest/tools/testing/selftests/futex/include/ |
D | futextest.h | 70 #define futex(uaddr, op, val, timeout, uaddr2, val3, opflags) \ macro 80 return futex(uaddr, FUTEX_WAIT, val, timeout, NULL, 0, opflags); in futex_wait() 90 return futex(uaddr, FUTEX_WAKE, nr_wake, NULL, NULL, 0, opflags); in futex_wake() 101 return futex(uaddr, FUTEX_WAIT_BITSET, val, timeout, NULL, bitset, in futex_wait_bitset() 112 return futex(uaddr, FUTEX_WAKE_BITSET, nr_wake, NULL, NULL, bitset, in futex_wake_bitset() 124 return futex(uaddr, FUTEX_LOCK_PI, detect, timeout, NULL, 0, opflags); in futex_lock_pi() 133 return futex(uaddr, FUTEX_UNLOCK_PI, 0, NULL, NULL, 0, opflags); in futex_unlock_pi() 143 return futex(uaddr, FUTEX_WAKE_OP, nr_wake, nr_wake2, uaddr2, wake_op, in futex_wake_op() 159 return futex(uaddr, FUTEX_REQUEUE, nr_wake, nr_requeue, uaddr2, 0, in futex_requeue() 172 return futex(uaddr, FUTEX_CMP_REQUEUE, nr_wake, nr_requeue, uaddr2, in futex_cmp_requeue() [all …]
|
/external/ltp/testcases/kernel/syscalls/futex/ |
D | futextest.h | 105 #define futex(uaddr, op, val, timeout, uaddr2, val3, opflags) \ macro 115 return futex(uaddr, FUTEX_WAIT, val, timeout, NULL, 0, opflags); in futex_wait() 125 return futex(uaddr, FUTEX_WAKE, nr_wake, NULL, NULL, 0, opflags); in futex_wake() 136 return futex(uaddr, FUTEX_WAIT_BITSET, val, timeout, NULL, bitset, in futex_wait_bitset() 147 return futex(uaddr, FUTEX_WAKE_BITSET, nr_wake, NULL, NULL, bitset, in futex_wake_bitset() 159 return futex(uaddr, FUTEX_LOCK_PI, detect, timeout, NULL, 0, opflags); in futex_lock_pi() 168 return futex(uaddr, FUTEX_UNLOCK_PI, 0, NULL, NULL, 0, opflags); in futex_unlock_pi() 178 return futex(uaddr, FUTEX_WAKE_OP, nr_wake, nr_wake2, uaddr2, wake_op, in futex_wake_op() 194 return futex(uaddr, FUTEX_REQUEUE, nr_wake, nr_requeue, uaddr2, 0, in futex_requeue() 207 return futex(uaddr, FUTEX_CMP_REQUEUE, nr_wake, nr_requeue, uaddr2, in futex_cmp_requeue() [all …]
|
D | futex_wake01.c | 37 static futex_t futex = FUTEX_INITIALIZER; variable 41 {&futex, 0, 0}, 42 {&futex, 0, FUTEX_PRIVATE_FLAG}, 43 {&futex, 1, 0}, 44 {&futex, 1, FUTEX_PRIVATE_FLAG}, 45 {&futex, INT_MAX, 0}, 46 {&futex, INT_MAX, FUTEX_PRIVATE_FLAG},
|
D | futex_wake03.c | 34 static futex_t *futex; variable 38 futex_wait(futex, *futex, NULL, 0); in do_child() 46 res = futex_wake(futex, nr_children, 0); in do_wake() 97 res = futex_wake(futex, 1, 0); in verify_futex_wake() 109 futex = SAFE_MMAP(NULL, NULL, sizeof(*futex), PROT_READ | PROT_WRITE, in setup() 112 *futex = FUTEX_INITIALIZER; in setup()
|
D | futex_wait02.c | 36 static futex_t *futex; variable 44 ret = futex_wake(futex, 1, 0); in do_child() 70 res = futex_wait(futex, *futex, NULL, 0); in verify_futex_wait() 87 futex = SAFE_MMAP(NULL, NULL, sizeof(*futex), PROT_READ | PROT_WRITE, in setup() 90 *futex = FUTEX_INITIALIZER; in setup()
|
D | futex_wait01.c | 43 static futex_t futex = FUTEX_INITIALIZER; variable 47 {&futex, FUTEX_INITIALIZER, 0, ETIMEDOUT}, 48 {&futex, FUTEX_INITIALIZER+1, 0, EWOULDBLOCK}, 49 {&futex, FUTEX_INITIALIZER, FUTEX_PRIVATE_FLAG, ETIMEDOUT}, 50 {&futex, FUTEX_INITIALIZER+1, FUTEX_PRIVATE_FLAG, EWOULDBLOCK},
|
D | futex_wake02.c | 34 static futex_t futex = FUTEX_INITIALIZER; variable 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 | 34 static futex_t futex = FUTEX_INITIALIZER; variable 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_wait05.c | 32 futex_t futex = FUTEX_INITIALIZER; in sample_fn() local 35 TEST(futex_wait(&futex, futex, &to, 0)); in sample_fn()
|
D | futex_wait_bitset.h | 12 futex_t futex = FUTEX_INITIALIZER; in verify_futex_wait_bitset() local 22 TEST(futex_wait_bitset(&futex, futex, &to, bitset, flags)); in verify_futex_wait_bitset()
|
/external/linux-kselftest/android/patches/ |
D | 0015-selftests-futex-report-success-failure-to-environmen.patch | 4 Subject: [PATCH] selftests/futex: report success/failure to environment 14 tools/testing/selftests/futex/functional/run.sh | 63 +++++++++++++++---------- 17 diff --git a/tools/testing/selftests/futex/functional/run.sh b/tools/testing/selftests/futex/functi… 19 --- a/tools/testing/selftests/futex/functional/run.sh 20 +++ b/tools/testing/selftests/futex/functional/run.sh
|
/external/mesa3d/src/util/ |
D | futex.h | 98 return futex(addr, FUTEX_WAKE, count, NULL, NULL); in futex_wake() 106 return futex(addr, FUTEX_WAIT, value, NULL, NULL); in futex_wait() 113 return futex(addr, FUTEX_WAIT, value, &tsrel, NULL); in futex_wait()
|
/external/linux-kselftest/tools/testing/selftests/powerpc/benchmarks/ |
D | futex_bench.c | 18 #define futex(A, B, C, D, E, F) syscall(__NR_futex, A, B, C, D, E, F) macro 29 futex(&addr, FUTEX_WAKE, 1, NULL, NULL, 0); in test_futex()
|
/external/abseil-cpp/absl/base/internal/ |
D | spinlock_linux.inc | 17 #include <linux/futex.h> 36 "SpinLock lockword has the wrong size for a futex"); 39 // support these futex operations.
|
/external/angle/third_party/abseil-cpp/absl/base/internal/ |
D | spinlock_linux.inc | 17 #include <linux/futex.h> 36 "SpinLock lockword has the wrong size for a futex"); 39 // support these futex operations.
|
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/base/internal/ |
D | spinlock_linux.inc | 17 #include <linux/futex.h> 36 "SpinLock lockword has the wrong size for a futex"); 39 // support these futex operations.
|
/external/webrtc/third_party/abseil-cpp/absl/base/internal/ |
D | spinlock_linux.inc | 17 #include <linux/futex.h> 36 "SpinLock lockword has the wrong size for a futex"); 39 // support these futex operations.
|
/external/openscreen/third_party/abseil/src/absl/base/internal/ |
D | spinlock_linux.inc | 17 #include <linux/futex.h> 36 "SpinLock lockword has the wrong size for a futex"); 39 // support these futex operations.
|
/external/libtextclassifier/abseil-cpp/absl/base/internal/ |
D | spinlock_linux.inc | 17 #include <linux/futex.h> 36 "SpinLock lockword has the wrong size for a futex"); 39 // support these futex operations.
|
/external/linux-kselftest/tools/testing/selftests/futex/ |
D | README | 3 Futex Test is intended to thoroughly test the Linux kernel futex system call 6 Functional tests shall test the documented behavior of the futex operation 54 based on the primary futex operation they test. Eventually this will become a
|
/external/llvm-project/openmp/runtime/src/ |
D | kmp_csupport.cpp | 1026 &(ftx->lk.poll), KMP_LOCK_FREE(futex), \ 1027 KMP_LOCK_BUSY(gtid_code, futex))) != KMP_LOCK_FREE(futex)) { \ 1032 KMP_LOCK_BUSY(1, futex))) { \ 1035 poll_val |= KMP_LOCK_BUSY(1, futex); \ 1051 if (KMP_COMPARE_AND_STORE_ACQ32(&(ftx->lk.poll), KMP_LOCK_FREE(futex), \ 1052 KMP_LOCK_BUSY(gtid + 1 << 1, futex))) { \ 1067 KMP_XCHG_FIXED32(&(ftx->lk.poll), KMP_LOCK_FREE(futex)); \ 1070 KMP_LOCK_BUSY(1, futex), NULL, NULL, 0); \ 1167 (sizeof(lck->futex.lk.poll) <= OMP_CRITICAL_SIZE)) { in __kmpc_critical() 1545 (sizeof(lck->futex.lk.poll) <= OMP_CRITICAL_SIZE)) { in __kmpc_end_critical() [all …]
|
/external/linux-kselftest/ |
D | Android.bp | 275 relative_install_path: "linux-kselftest/futex/functional", 277 "tools/testing/selftests/futex/functional/futex_requeue_pi.c", 278 "tools/testing/selftests/futex/functional/futex_requeue_pi_mismatched_ops.c", 279 "tools/testing/selftests/futex/functional/futex_requeue_pi_signal_restart.c", 280 "tools/testing/selftests/futex/functional/futex_wait_private_mapped_file.c", 281 "tools/testing/selftests/futex/functional/futex_wait_timeout.c", 282 "tools/testing/selftests/futex/functional/futex_wait_uninitialized_heap.c", 283 "tools/testing/selftests/futex/functional/futex_wait_wouldblock.c", 286 "tools/testing/selftests/futex/include", 298 sub_dir: "linux-kselftest/futex/functional", [all …]
|
/external/minijail/rust/minijail/src/ |
D | test_filter.policy | 3 futex: 1
|