HomeSort by relevance Sort by last modified time
    Searched refs:ftx (Results 1 - 6 of 6) sorted by null

  /bionic/libc/private/
bionic_futex.h 41 static inline __always_inline int __futex(volatile void* ftx, int op, int value,
45 int result = syscall(__NR_futex, ftx, op, value, timeout, NULL, bitset);
53 static inline int __futex_wake(volatile void* ftx, int count) {
54 return __futex(ftx, FUTEX_WAKE, count, NULL, 0);
57 static inline int __futex_wake_ex(volatile void* ftx, bool shared, int count) {
58 return __futex(ftx, shared ? FUTEX_WAKE : FUTEX_WAKE_PRIVATE, count, NULL, 0);
61 static inline int __futex_wait(volatile void* ftx, int value, const timespec* timeout) {
62 return __futex(ftx, FUTEX_WAIT, value, timeout, 0);
65 static inline int __futex_wait_ex(volatile void* ftx, bool shared, int value) {
66 return __futex(ftx, (shared ? FUTEX_WAIT_BITSET : FUTEX_WAIT_BITSET_PRIVATE), value, nullptr
    [all...]
  /bionic/libc/bionic/
bionic_futex.cpp 35 static inline __always_inline int FutexWithTimeout(volatile void* ftx, int op, int value,
58 return __futex(ftx, op, value, futex_abs_timeout, bitset);
61 int __futex_wait_ex(volatile void* ftx, bool shared, int value, bool use_realtime_clock,
63 return FutexWithTimeout(ftx, (shared ? FUTEX_WAIT_BITSET : FUTEX_WAIT_BITSET_PRIVATE), value,
67 int __futex_pi_lock_ex(volatile void* ftx, bool shared, bool use_realtime_clock,
69 return FutexWithTimeout(ftx, (shared ? FUTEX_LOCK_PI : FUTEX_LOCK_PI_PRIVATE), 0,
ndk_cruft.cpp 222 int __futex_wake(volatile void* ftx, int count) {
223 return __real_futex_wake(ftx, count);
227 int __futex_wait(volatile void* ftx, int value, const struct timespec* timeout) {
228 return __real_futex_wait(ftx, value, timeout);
  /external/linux-kselftest/tools/testing/selftests/x86/
fsgsbase.c 173 static volatile unsigned int ftx; variable
271 while (ftx == 0)
272 syscall(SYS_futex, &ftx, FUTEX_WAIT, 0, NULL, NULL, 0);
273 if (ftx == 3)
276 if (ftx == 1)
278 else if (ftx == 2)
283 ftx = 0;
284 syscall(SYS_futex, &ftx, FUTEX_WAKE, 0, NULL, NULL, 0);
330 ftx = 1;
331 syscall(SYS_futex, &ftx, FUTEX_WAKE, 0, NULL, NULL, 0)
    [all...]
ldt_gdt.c 433 static volatile unsigned int ftx; variable
444 syscall(SYS_futex, &ftx, FUTEX_WAIT, 0, NULL, NULL, 0);
445 while (ftx != 2) {
446 if (ftx >= 3)
455 /* If ftx == 2, set it to zero. If ftx == 100, quit. */
457 asm volatile ("lock xaddl %[x], %[ftx]" :
458 [x] "+r" (x), [ftx] "+m" (ftx));
569 while (ftx != 0
    [all...]
  /system/core/debuggerd/handler/
debuggerd_handler.cpp 85 static inline void futex_wait(volatile void* ftx, int value) {
86 syscall(__NR_futex, ftx, FUTEX_WAIT, value, nullptr, nullptr, 0);

Completed in 496 milliseconds