Searched refs:ftx (Results 1 – 2 of 2) sorted by relevance
/bionic/libc/private/ |
D | bionic_futex.h | 43 static inline __always_inline int __futex(volatile void* ftx, int op, int value, in __futex() argument 48 int result = syscall(__NR_futex, ftx, op, value, timeout, NULL, bitset); in __futex() 56 static inline int __futex_wake(volatile void* ftx, int count) { in __futex_wake() argument 57 return __futex(ftx, FUTEX_WAKE, count, NULL, 0); in __futex_wake() 60 static inline int __futex_wake_ex(volatile void* ftx, bool shared, int count) { in __futex_wake_ex() argument 61 return __futex(ftx, shared ? FUTEX_WAKE : FUTEX_WAKE_PRIVATE, count, NULL, 0); in __futex_wake_ex() 64 static inline int __futex_wait(volatile void* ftx, int value, const struct timespec* timeout) { in __futex_wait() argument 65 return __futex(ftx, FUTEX_WAIT, value, timeout, 0); in __futex_wait() 68 static inline int __futex_wait_ex(volatile void* ftx, bool shared, int value, in __futex_wait_ex() argument 70 return __futex(ftx, (shared ? FUTEX_WAIT_BITSET : FUTEX_WAIT_BITSET_PRIVATE) | in __futex_wait_ex()
|
/bionic/libc/bionic/ |
D | ndk_cruft.cpp | 222 int __futex_wake(volatile void* ftx, int count) { in __futex_wake() argument 223 return __real_futex_wake(ftx, count); in __futex_wake() 227 int __futex_wait(volatile void* ftx, int value, const struct timespec* timeout) { in __futex_wait() argument 228 return __real_futex_wait(ftx, value, timeout); in __futex_wait()
|