Home
last modified time | relevance | path

Searched refs:SYS_futex (Results 1 – 25 of 70) sorted by relevance

123

/external/openscreen/third_party/abseil/src/absl/synchronization/internal/
Dfutex.h61 #ifndef SYS_futex
62 #define SYS_futex __NR_futex macro
82 #if defined(SYS_futex_time64) && !defined(SYS_futex)
83 #define SYS_futex SYS_futex_time64 macro
98 SYS_futex, reinterpret_cast<int32_t *>(v), in WaitUntil()
104 err = syscall(SYS_futex, reinterpret_cast<int32_t *>(v), in WaitUntil()
116 int err = syscall(SYS_futex, reinterpret_cast<int32_t *>(v), in WaitBitsetAbsoluteTimeout()
126 int err = syscall(SYS_futex, reinterpret_cast<int32_t *>(v), in Wake()
136 int err = syscall(SYS_futex, reinterpret_cast<int32_t *>(v), in WakeBitset()
/external/angle/third_party/abseil-cpp/absl/synchronization/internal/
Dfutex.h61 #ifndef SYS_futex
62 #define SYS_futex __NR_futex macro
82 #if defined(SYS_futex_time64) && !defined(SYS_futex)
83 #define SYS_futex SYS_futex_time64 macro
98 SYS_futex, reinterpret_cast<int32_t *>(v), in WaitUntil()
104 err = syscall(SYS_futex, reinterpret_cast<int32_t *>(v), in WaitUntil()
116 int err = syscall(SYS_futex, reinterpret_cast<int32_t *>(v), in WaitBitsetAbsoluteTimeout()
126 int err = syscall(SYS_futex, reinterpret_cast<int32_t *>(v), in Wake()
136 int err = syscall(SYS_futex, reinterpret_cast<int32_t *>(v), in WakeBitset()
/external/angle/third_party/abseil-cpp/absl/base/internal/
Dspinlock_linux.inc31 // by SYS_futex. We also assume that reads/writes done to the lockword
32 // by SYS_futex have rational semantics with regard to the
41 #ifndef SYS_futex
42 #define SYS_futex __NR_futex
53 #if defined(SYS_futex_time64) && !defined(SYS_futex)
54 #define SYS_futex SYS_futex_time64
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/
Dspinlock_linux.inc31 // by SYS_futex. We also assume that reads/writes done to the lockword
32 // by SYS_futex have rational semantics with regard to the
41 #ifndef SYS_futex
42 #define SYS_futex __NR_futex
53 #if defined(SYS_futex_time64) && !defined(SYS_futex)
54 #define SYS_futex SYS_futex_time64
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/openscreen/third_party/abseil/src/absl/base/internal/
Dspinlock_linux.inc31 // by SYS_futex. We also assume that reads/writes done to the lockword
32 // by SYS_futex have rational semantics with regard to the
41 #ifndef SYS_futex
42 #define SYS_futex __NR_futex
53 #if defined(SYS_futex_time64) && !defined(SYS_futex)
54 #define SYS_futex SYS_futex_time64
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/
Dspinlock_linux.inc31 // by SYS_futex. We also assume that reads/writes done to the lockword
32 // by SYS_futex have rational semantics with regard to the
41 #ifndef SYS_futex
42 #define SYS_futex __NR_futex
53 #if defined(SYS_futex_time64) && !defined(SYS_futex)
54 #define SYS_futex SYS_futex_time64
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/abseil-cpp/absl/base/internal/
Dspinlock_linux.inc31 // by SYS_futex. We also assume that reads/writes done to the lockword
32 // by SYS_futex have rational semantics with regard to the
41 #ifndef SYS_futex
42 #define SYS_futex __NR_futex
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/webrtc/third_party/abseil-cpp/absl/base/internal/
Dspinlock_linux.inc31 // by SYS_futex. We also assume that reads/writes done to the lockword
32 // by SYS_futex have rational semantics with regard to the
41 #ifndef SYS_futex
42 #define SYS_futex __NR_futex
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/linux-kselftest/tools/testing/selftests/x86/
Dfsgsbase.c318 syscall(SYS_futex, &ftx, FUTEX_WAKE, 0, NULL, NULL, 0); in test_wrbase()
320 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()
357 syscall(SYS_futex, &ftx, FUTEX_WAKE, 0, NULL, NULL, 0); in threadproc()
404 syscall(SYS_futex, &ftx, FUTEX_WAKE, 0, NULL, NULL, 0); in set_gs_and_switch_to()
406 syscall(SYS_futex, &ftx, FUTEX_WAIT, 1, NULL, NULL, 0); in set_gs_and_switch_to()
430 syscall(SYS_futex, &ftx, FUTEX_WAKE, 0, NULL, NULL, 0); in test_unexpected_base()
432 syscall(SYS_futex, &ftx, FUTEX_WAIT, 1, NULL, NULL, 0); in test_unexpected_base()
584 syscall(SYS_futex, &ftx, FUTEX_WAKE, 0, NULL, NULL, 0); in main()
/external/libtextclassifier/abseil-cpp/absl/synchronization/internal/
Dwaiter.cc72 #ifndef SYS_futex
73 #define SYS_futex __NR_futex macro
93 #if defined(SYS_futex_time64) && !defined(SYS_futex)
94 #define SYS_futex SYS_futex_time64 macro
109 SYS_futex, reinterpret_cast<int32_t *>(v), in WaitUntil()
115 err = syscall(SYS_futex, reinterpret_cast<int32_t *>(v), in WaitUntil()
125 int err = syscall(SYS_futex, reinterpret_cast<int32_t *>(v), in Wake()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/synchronization/internal/
Dwaiter.cc72 #ifndef SYS_futex
73 #define SYS_futex __NR_futex macro
93 #if defined(SYS_futex_time64) && !defined(SYS_futex)
94 #define SYS_futex SYS_futex_time64 macro
109 SYS_futex, reinterpret_cast<int32_t *>(v), in WaitUntil()
115 err = syscall(SYS_futex, reinterpret_cast<int32_t *>(v), in WaitUntil()
125 int err = syscall(SYS_futex, reinterpret_cast<int32_t *>(v), in Wake()
/external/llvm-project/libc/src/threads/linux/
Dmtx_lock.cpp35 __llvm_libc::syscall(SYS_futex, futex_data, FUTEX_WAIT_PRIVATE, in LLVM_LIBC_ENTRYPOINT()
47 __llvm_libc::syscall(SYS_futex, futex_data, FUTEX_WAIT_PRIVATE, in LLVM_LIBC_ENTRYPOINT()
Dcall_once.cpp42 __llvm_libc::syscall(SYS_futex, futex_word, FUTEX_WAKE_PRIVATE, in LLVM_LIBC_ENTRYPOINT()
52 __llvm_libc::syscall(SYS_futex, futex_word, FUTEX_WAIT_PRIVATE, in LLVM_LIBC_ENTRYPOINT()
Dmtx_unlock.cpp27 __llvm_libc::syscall(SYS_futex, futex_word, FUTEX_WAKE_PRIVATE, 1, 0, 0, in LLVM_LIBC_ENTRYPOINT()
/external/webrtc/third_party/abseil-cpp/absl/synchronization/internal/
Dwaiter.cc72 #ifndef SYS_futex
73 #define SYS_futex __NR_futex macro
101 SYS_futex, reinterpret_cast<int32_t *>(v), in WaitUntil()
107 err = syscall(SYS_futex, reinterpret_cast<int32_t *>(v), in WaitUntil()
117 int err = syscall(SYS_futex, reinterpret_cast<int32_t *>(v), in Wake()
/external/abseil-cpp/absl/synchronization/internal/
Dwaiter.cc72 #ifndef SYS_futex
73 #define SYS_futex __NR_futex macro
101 SYS_futex, reinterpret_cast<int32_t *>(v), in WaitUntil()
107 err = syscall(SYS_futex, reinterpret_cast<int32_t *>(v), in WaitUntil()
117 int err = syscall(SYS_futex, reinterpret_cast<int32_t *>(v), in Wake()
/external/llvm-project/compiler-rt/lib/tsan/benchmarks/
Dmop.cpp27 syscall(SYS_futex, &turn, FUTEX_WAIT, t, 0, 0, 0); in thread()
41 syscall(SYS_futex, &turn, FUTEX_WAKE, 0, 0, 0, 0); in thread()
/external/ltp/lib/
Dtst_checkpoint.c99 ret = syscall(SYS_futex, &tst_futexes[id], FUTEX_WAIT, in tst_checkpoint_wait()
117 waked += syscall(SYS_futex, &tst_futexes[id], FUTEX_WAKE, in tst_checkpoint_wake()
/external/pthreadpool/src/
Dpthreads.c23 #ifndef SYS_futex
24 #define SYS_futex __NR_futex macro
61 return syscall(SYS_futex, address, FUTEX_WAIT | FUTEX_PRIVATE_FLAG, value, NULL); in futex_wait()
65 return syscall(SYS_futex, address, FUTEX_WAKE | FUTEX_PRIVATE_FLAG, INT_MAX); in futex_wake_all()
/external/rust/crates/parking_lot_core/src/thread_parker/
Dlinux.rs113 libc::SYS_futex, in futex_wait()
141 libc::SYS_futex, in unpark()
/external/llvm-project/libcxx/src/
Datomic.cpp36 syscall(SYS_futex, __ptr, FUTEX_WAIT_PRIVATE, __val, &__timeout, 0, 0); in __libcpp_platform_wait_on_address()
42 syscall(SYS_futex, __ptr, FUTEX_WAKE_PRIVATE, __notify_one ? 1 : INT_MAX, 0, 0, 0); in __libcpp_platform_wake_by_address()
/external/libchromeos-rs/src/sync/
Dblocking.rs40 libc::SYS_futex, in wake_by_ref()
80 libc::SYS_futex, in block_on()
/external/webrtc/sdk/android/native_api/stacktrace/
Dstacktrace.cc65 int res = syscall(SYS_futex, &futex_, FUTEX_WAIT | FUTEX_PRIVATE_FLAG, 0, in Wait()
76 syscall(SYS_futex, &futex_, FUTEX_WAKE | FUTEX_PRIVATE_FLAG, 1, nullptr, in Signal()
/external/crosvm/cros_async/src/sync/
Dblocking.rs40 libc::SYS_futex, in wake_by_ref()
80 libc::SYS_futex, in block_on()
/external/llvm-project/compiler-rt/lib/scudo/standalone/
Dlinux.cpp112 syscall(SYS_futex, reinterpret_cast<uptr>(&M), FUTEX_WAIT_PRIVATE, Sleeping, in lockSlow()
121 syscall(SYS_futex, reinterpret_cast<uptr>(&M), FUTEX_WAKE_PRIVATE, 1, in unlock()

123