Home
last modified time | relevance | path

Searched refs:ftx (Results 1 – 3 of 3) sorted by relevance

/bionic/libc/private/
Dbionic_futex.h41 static inline __always_inline int __futex(volatile void* ftx, int op, int value, in __futex() argument
45 int result = syscall(__NR_futex, ftx, op, value, timeout, NULL, bitset); in __futex()
53 static inline int __futex_wake(volatile void* ftx, int count) { in __futex_wake() argument
54 return __futex(ftx, FUTEX_WAKE, count, nullptr, 0); in __futex_wake()
57 static inline int __futex_wake_ex(volatile void* ftx, bool shared, int count) { in __futex_wake_ex() argument
58 return __futex(ftx, shared ? FUTEX_WAKE : FUTEX_WAKE_PRIVATE, count, nullptr, 0); in __futex_wake_ex()
61 static inline int __futex_wait(volatile void* ftx, int value, const timespec* timeout) { in __futex_wait() argument
62 return __futex(ftx, FUTEX_WAIT, value, timeout, 0); in __futex_wait()
65 static inline int __futex_wait_ex(volatile void* ftx, bool shared, int value) { in __futex_wait_ex() argument
66 return __futex(ftx, (shared ? FUTEX_WAIT_BITSET : FUTEX_WAIT_BITSET_PRIVATE), value, nullptr, in __futex_wait_ex()
[all …]
/bionic/libc/bionic/
Dbionic_futex.cpp35 static inline __always_inline int FutexWithTimeout(volatile void* ftx, int op, int value, in FutexWithTimeout() argument
58 return __futex(ftx, op, value, futex_abs_timeout, bitset); in FutexWithTimeout()
61 int __futex_wait_ex(volatile void* ftx, bool shared, int value, bool use_realtime_clock, in __futex_wait_ex() argument
63 return FutexWithTimeout(ftx, (shared ? FUTEX_WAIT_BITSET : FUTEX_WAIT_BITSET_PRIVATE), value, in __futex_wait_ex()
67 int __futex_pi_lock_ex(volatile void* ftx, bool shared, bool use_realtime_clock, in __futex_pi_lock_ex() argument
69 return FutexWithTimeout(ftx, (shared ? FUTEX_LOCK_PI : FUTEX_LOCK_PI_PRIVATE), 0, in __futex_pi_lock_ex()
Dndk_cruft.cpp223 int __futex_wake(volatile void* ftx, int count) { in __futex_wake() argument
224 return __real_futex_wake(ftx, count); in __futex_wake()
228 int __futex_wait(volatile void* ftx, int value, const struct timespec* timeout) { in __futex_wait() argument
229 return __real_futex_wait(ftx, value, timeout); in __futex_wait()