Home
last modified time | relevance | path

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

1234

/external/webrtc/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()
117 long err = syscall(SYS_futex, reinterpret_cast<int32_t*>(v), in WaitBitsetAbsoluteTimeout()
128 long err = syscall(SYS_futex, reinterpret_cast<int32_t*>(v), in Wake()
139 long err = syscall(SYS_futex, reinterpret_cast<int32_t*>(v), in WakeBitset()
/external/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/rust/crates/grpcio-sys/grpc/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/tensorflow/third_party/absl/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/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/cronet/third_party/abseil-cpp/absl/synchronization/internal/
Dfutex.h59 #ifndef SYS_futex
60 #define SYS_futex __NR_futex macro
80 #if defined(SYS_futex_time64) && !defined(SYS_futex)
81 #define SYS_futex SYS_futex_time64 macro
99 syscall(SYS_futex, reinterpret_cast<int32_t*>(v), in WaitAbsoluteTimeout()
114 auto err = syscall(SYS_futex, reinterpret_cast<int32_t*>(v), in WaitRelativeTimeout()
124 auto err = syscall(SYS_futex, reinterpret_cast<int32_t*>(v), in Wake()
/external/angle/third_party/abseil-cpp/absl/synchronization/internal/
Dfutex.h60 #ifndef SYS_futex
61 #define SYS_futex __NR_futex macro
81 #if defined(SYS_futex_time64) && !defined(SYS_futex)
82 #define SYS_futex SYS_futex_time64 macro
113 SYS_futex, reinterpret_cast<int32_t*>(v), in WaitAbsoluteTimeout()
130 syscall(SYS_futex, reinterpret_cast<int32_t*>(v), FUTEX_PRIVATE_FLAG, in WaitRelativeTimeout()
140 auto err = syscall(SYS_futex, reinterpret_cast<int32_t*>(v), in Wake()
/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
63 syscall(SYS_futex, w, FUTEX_WAIT | FUTEX_PRIVATE_FLAG, value, nullptr);
68 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
53 #if defined(SYS_futex_time64) && !defined(SYS_futex)
54 #define SYS_futex SYS_futex_time64
63 syscall(SYS_futex, w, FUTEX_WAIT | FUTEX_PRIVATE_FLAG, value, nullptr);
68 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/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
63 syscall(SYS_futex, w, FUTEX_WAIT | FUTEX_PRIVATE_FLAG, value, nullptr);
68 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/tensorflow/third_party/absl/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
63 syscall(SYS_futex, w, FUTEX_WAIT | FUTEX_PRIVATE_FLAG, value, nullptr);
68 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/cronet/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
63 syscall(SYS_futex, w, FUTEX_WAIT | FUTEX_PRIVATE_FLAG, value, nullptr);
68 syscall(SYS_futex, w, FUTEX_WAKE | FUTEX_PRIVATE_FLAG, all ? INT_MAX : 1, 0);
/external/linux-kselftest/tools/testing/selftests/x86/
Dfsgsbase.c319 syscall(SYS_futex, &ftx, FUTEX_WAKE, 0, NULL, NULL, 0); in test_wrbase()
321 syscall(SYS_futex, &ftx, FUTEX_WAIT, 1, NULL, NULL, 0); in test_wrbase()
339 syscall(SYS_futex, &ftx, FUTEX_WAIT, 0, NULL, NULL, 0); in threadproc()
358 syscall(SYS_futex, &ftx, FUTEX_WAKE, 0, NULL, NULL, 0); in threadproc()
405 syscall(SYS_futex, &ftx, FUTEX_WAKE, 0, NULL, NULL, 0); in set_gs_and_switch_to()
407 syscall(SYS_futex, &ftx, FUTEX_WAIT, 1, NULL, NULL, 0); in set_gs_and_switch_to()
439 syscall(SYS_futex, &ftx, FUTEX_WAKE, 0, NULL, NULL, 0); in test_unexpected_base()
441 syscall(SYS_futex, &ftx, FUTEX_WAIT, 1, NULL, NULL, 0); in test_unexpected_base()
678 syscall(SYS_futex, &ftx, FUTEX_WAKE, 0, NULL, NULL, 0); in main()
/external/musl/src/thread/
D__timedwait.c18 if (SYS_futex == SYS_futex_time64 || !IS32BIT(s)) in __futex4_cp()
21 if (SYS_futex == SYS_futex_time64 || r!=-ENOSYS) return r; in __futex4_cp()
24 r = __syscall_cp(SYS_futex, addr, op, val, to); in __futex4_cp()
26 return __syscall_cp(SYS_futex, addr, op & ~FUTEX_PRIVATE, val, to); in __futex4_cp()
Dpthread_mutex_timedlock.c12 if (SYS_futex == SYS_futex_time64 || !IS32BIT(s)) in __futex4()
15 if (SYS_futex == SYS_futex_time64 || r!=-ENOSYS) return r; in __futex4()
18 return __syscall(SYS_futex, addr, op, val, to); in __futex4()
39 __syscall(SYS_futex, &m->_m_lock, FUTEX_UNLOCK_PI|priv); in pthread_mutex_timedlock_pi()
D__wait.c13 __syscall(SYS_futex, addr, FUTEX_WAIT|priv, val, 0) != -ENOSYS in __wait()
14 || __syscall(SYS_futex, addr, FUTEX_WAIT, val, 0); in __wait()
/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/cronet/buildtools/third_party/libc++/trunk/src/
Datomic.cpp25 #if !defined(SYS_futex) && defined(SYS_futex_time64)
26 # define SYS_futex SYS_futex_time64 macro
48 syscall(SYS_futex, __ptr, FUTEX_WAIT_PRIVATE, __val, &__timeout, 0, 0); in __libcpp_platform_wait_on_address()
54 syscall(SYS_futex, __ptr, FUTEX_WAKE_PRIVATE, __notify_one ? 1 : INT_MAX, 0, 0, 0); in __libcpp_platform_wake_by_address()
/external/liburing/test/
D35fa71a030ca.c30 #if !defined(SYS_futex) && defined(SYS_futex_time64)
31 # define SYS_futex SYS_futex_time64 macro
87 syscall(SYS_futex, &ev->state, FUTEX_WAKE | FUTEX_PRIVATE_FLAG); in event_set()
93 syscall(SYS_futex, &ev->state, FUTEX_WAIT | FUTEX_PRIVATE_FLAG, 0, 0); in event_wait()
110 syscall(SYS_futex, &ev->state, FUTEX_WAIT | FUTEX_PRIVATE_FLAG, 0, &ts); in event_timedwait()
/external/musl/src/internal/
Dpthread_impl.h172 __syscall(SYS_futex, addr, FUTEX_WAKE|priv, cnt) != -ENOSYS || in __wake()
173 __syscall(SYS_futex, addr, FUTEX_WAKE, cnt); in __wake()
178 __syscall(SYS_futex, addr, FUTEX_WAIT|priv, val, 0) != -ENOSYS || in __futexwait()
179 __syscall(SYS_futex, addr, FUTEX_WAIT, val, 0); in __futexwait()
/external/ltp/include/lapi/
Dfutex.h15 #if !defined(SYS_futex) && defined(SYS_futex_time64)
16 #define SYS_futex SYS_futex_time64 macro
/external/cronet/base/allocator/partition_allocator/
Dspinning_mutex.cc111 int err = syscall(SYS_futex, &state_, FUTEX_WAIT | FUTEX_PRIVATE_FLAG, in FutexWait()
124 long retval = syscall(SYS_futex, &state_, FUTEX_WAKE | FUTEX_PRIVATE_FLAG, in FutexWake()

1234