Home
last modified time | relevance | path

Searched refs:FUTEX_WAIT (Results 1 – 25 of 46) sorted by relevance

12

/external/strace/xlat/
Dfutexops.h6 #if defined(FUTEX_WAIT) || (defined(HAVE_DECL_FUTEX_WAIT) && HAVE_DECL_FUTEX_WAIT)
8 static_assert((FUTEX_WAIT) == (0), "FUTEX_WAIT != 0");
11 # define FUTEX_WAIT 0
99 static_assert((FUTEX_WAIT_PRIVATE) == ((FUTEX_WAIT | FUTEX_PRIVATE_FLAG)), "FUTEX_WAIT_PRIVATE != (…
102 # define FUTEX_WAIT_PRIVATE (FUTEX_WAIT | FUTEX_PRIVATE_FLAG)
192 XLAT(FUTEX_WAIT),
220 #if defined(FUTEX_WAIT) || (defined(HAVE_DECL_FUTEX_WAIT) && HAVE_DECL_FUTEX_WAIT)
221 XLAT(FUTEX_WAIT|FUTEX_CLOCK_REALTIME),
Dfutexops.in1 FUTEX_WAIT 0
14 FUTEX_WAIT_PRIVATE (FUTEX_WAIT | FUTEX_PRIVATE_FLAG)
27 FUTEX_WAIT|FUTEX_CLOCK_REALTIME
/external/strace/tests-mx32/
Dfutex.c107 bool valid_timeout = (cmd == FUTEX_WAIT) || (cmd == FUTEX_LOCK_PI) || in invalid_op()
199 CHECK_FUTEX(NULL, FUTEX_WAIT, VAL, tmout, uaddr2, VAL3, in main()
206 CHECK_FUTEX(uaddr + 1, FUTEX_WAIT, VAL, tmout, uaddr2, VAL3, in main()
213 CHECK_FUTEX(uaddr, FUTEX_WAIT, VAL, tmout + 1, uaddr2, VAL3, in main()
222 CHECK_FUTEX(uaddr, FUTEX_WAIT, VAL, tmout, uaddr2, VAL3, in main()
231 CHECK_FUTEX(uaddr, FUTEX_WAIT, VAL, tmout, uaddr2, VAL3, in main()
241 CHECK_FUTEX(uaddr, FUTEX_WAIT, VAL, tmout, uaddr2 + 1, VAL3, in main()
248 CHECK_FUTEX_ENOSYS(uaddr, FUTEX_PRIVATE_FLAG | FUTEX_WAIT, VAL, tmout, in main()
259 FUTEX_CLOCK_REALTIME | FUTEX_WAIT, in main()
267 FUTEX_CLOCK_REALTIME | FUTEX_PRIVATE_FLAG | FUTEX_WAIT, in main()
/external/strace/tests-m32/
Dfutex.c107 bool valid_timeout = (cmd == FUTEX_WAIT) || (cmd == FUTEX_LOCK_PI) || in invalid_op()
199 CHECK_FUTEX(NULL, FUTEX_WAIT, VAL, tmout, uaddr2, VAL3, in main()
206 CHECK_FUTEX(uaddr + 1, FUTEX_WAIT, VAL, tmout, uaddr2, VAL3, in main()
213 CHECK_FUTEX(uaddr, FUTEX_WAIT, VAL, tmout + 1, uaddr2, VAL3, in main()
222 CHECK_FUTEX(uaddr, FUTEX_WAIT, VAL, tmout, uaddr2, VAL3, in main()
231 CHECK_FUTEX(uaddr, FUTEX_WAIT, VAL, tmout, uaddr2, VAL3, in main()
241 CHECK_FUTEX(uaddr, FUTEX_WAIT, VAL, tmout, uaddr2 + 1, VAL3, in main()
248 CHECK_FUTEX_ENOSYS(uaddr, FUTEX_PRIVATE_FLAG | FUTEX_WAIT, VAL, tmout, in main()
259 FUTEX_CLOCK_REALTIME | FUTEX_WAIT, in main()
267 FUTEX_CLOCK_REALTIME | FUTEX_PRIVATE_FLAG | FUTEX_WAIT, in main()
/external/strace/tests/
Dfutex.c107 bool valid_timeout = (cmd == FUTEX_WAIT) || (cmd == FUTEX_LOCK_PI) || in invalid_op()
199 CHECK_FUTEX(NULL, FUTEX_WAIT, VAL, tmout, uaddr2, VAL3, in main()
206 CHECK_FUTEX(uaddr + 1, FUTEX_WAIT, VAL, tmout, uaddr2, VAL3, in main()
213 CHECK_FUTEX(uaddr, FUTEX_WAIT, VAL, tmout + 1, uaddr2, VAL3, in main()
222 CHECK_FUTEX(uaddr, FUTEX_WAIT, VAL, tmout, uaddr2, VAL3, in main()
231 CHECK_FUTEX(uaddr, FUTEX_WAIT, VAL, tmout, uaddr2, VAL3, in main()
241 CHECK_FUTEX(uaddr, FUTEX_WAIT, VAL, tmout, uaddr2 + 1, VAL3, in main()
248 CHECK_FUTEX_ENOSYS(uaddr, FUTEX_PRIVATE_FLAG | FUTEX_WAIT, VAL, tmout, in main()
259 FUTEX_CLOCK_REALTIME | FUTEX_WAIT, in main()
267 FUTEX_CLOCK_REALTIME | FUTEX_PRIVATE_FLAG | FUTEX_WAIT, in main()
/external/kernel-headers/original/uapi/linux/
Dfutex.h11 #define FUTEX_WAIT 0 macro
29 #define FUTEX_WAIT_PRIVATE (FUTEX_WAIT | FUTEX_PRIVATE_FLAG)
/external/mesa3d/src/util/
Dfutex.h106 return futex(addr, FUTEX_WAIT, value, NULL, NULL); in futex_wait()
113 return futex(addr, FUTEX_WAIT, value, &tsrel, NULL); in futex_wait()
/external/rust/crates/parking_lot_core/src/thread_parker/
Dredox.rs18 flag::{FUTEX_WAIT, FUTEX_WAKE},
99 FUTEX_WAIT, in futex_wait()
Dlinux.rs115 libc::FUTEX_WAIT | libc::FUTEX_PRIVATE_FLAG, in futex_wait()
/external/linux-kselftest/tools/testing/selftests/x86/
Dfsgsbase.c320 syscall(SYS_futex, &ftx, FUTEX_WAIT, 1, NULL, NULL, 0); in test_wrbase()
338 syscall(SYS_futex, &ftx, FUTEX_WAIT, 0, NULL, NULL, 0); in threadproc()
406 syscall(SYS_futex, &ftx, FUTEX_WAIT, 1, NULL, NULL, 0); in set_gs_and_switch_to()
432 syscall(SYS_futex, &ftx, FUTEX_WAIT, 1, NULL, NULL, 0); in test_unexpected_base()
/external/llvm-project/libc/src/threads/linux/
Dthrd_join.cpp31 __llvm_libc::syscall(SYS_futex, clear_tid_address, FUTEX_WAIT, in LLVM_LIBC_ENTRYPOINT()
/external/llvm-project/compiler-rt/lib/tsan/benchmarks/
Dmop.cpp27 syscall(SYS_futex, &turn, FUTEX_WAIT, t, 0, 0, 0); in thread()
/external/ltp/lib/
Dtst_checkpoint.c99 ret = syscall(SYS_futex, &tst_futexes[id], FUTEX_WAIT, in tst_checkpoint_wait()
/external/strace/
Dfutex.c65 case FUTEX_WAIT: in SYS_FUNC()
/external/openscreen/third_party/abseil/src/absl/synchronization/internal/
Dfutex.h105 FUTEX_WAIT | FUTEX_PRIVATE_FLAG, val, nullptr); in WaitUntil()
/external/angle/third_party/abseil-cpp/absl/synchronization/internal/
Dfutex.h105 FUTEX_WAIT | FUTEX_PRIVATE_FLAG, val, nullptr); in WaitUntil()
/external/linux-kselftest/tools/testing/selftests/futex/include/
Dfutextest.h80 return futex(uaddr, FUTEX_WAIT, val, timeout, NULL, 0, opflags); in futex_wait()
/external/ltp/testcases/kernel/syscalls/futex/
Dfutextest.h115 return futex(uaddr, FUTEX_WAIT, val, timeout, NULL, 0, opflags); in futex_wait()
/external/ltp/testcases/kernel/syscalls/clone/
Dclone08.c197 if (syscall(SYS_futex, &ctid, FUTEX_WAIT, -1, &timeout)) { in test_clone_thread()
/external/libchromeos-rs/src/sync/
Dblocking.rs18 const FUTEX_WAIT_PRIVATE: libc::c_int = libc::FUTEX_WAIT | libc::FUTEX_PRIVATE_FLAG;
/external/abseil-cpp/absl/base/internal/
Dspinlock_linux.inc58 syscall(SYS_futex, w, FUTEX_WAIT | FUTEX_PRIVATE_FLAG, value, &tm);
/external/angle/third_party/abseil-cpp/absl/base/internal/
Dspinlock_linux.inc66 syscall(SYS_futex, w, FUTEX_WAIT | FUTEX_PRIVATE_FLAG, value, &tm);
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/base/internal/
Dspinlock_linux.inc66 syscall(SYS_futex, w, FUTEX_WAIT | FUTEX_PRIVATE_FLAG, value, &tm);
/external/webrtc/third_party/abseil-cpp/absl/base/internal/
Dspinlock_linux.inc58 syscall(SYS_futex, w, FUTEX_WAIT | FUTEX_PRIVATE_FLAG, value, &tm);
/external/openscreen/third_party/abseil/src/absl/base/internal/
Dspinlock_linux.inc66 syscall(SYS_futex, w, FUTEX_WAIT | FUTEX_PRIVATE_FLAG, value, &tm);

12