Searched refs:ftx (Results 1 – 2 of 2) sorted by relevance
/bionic/libc/private/ |
D | bionic_futex.h | 42 static inline __always_inline int __futex(volatile void* ftx, int op, int value, const struct times… in __futex() argument 45 int result = syscall(__NR_futex, ftx, op, value, timeout); in __futex() 53 static inline int __futex_wake(volatile void* ftx, int count) { in __futex_wake() argument 54 return __futex(ftx, FUTEX_WAKE, count, NULL); 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, NULL); in __futex_wake_ex() 61 static inline int __futex_wait(volatile void* ftx, int value, const struct timespec* timeout) { in __futex_wait() argument 62 return __futex(ftx, FUTEX_WAIT, value, timeout); in __futex_wait() 65 static inline int __futex_wait_ex(volatile void* ftx, bool shared, int value, const struct timespec… in __futex_wait_ex() argument 66 return __futex(ftx, shared ? FUTEX_WAIT : FUTEX_WAIT_PRIVATE, value, timeout); in __futex_wait_ex()
|
/bionic/libc/bionic/ |
D | ndk_cruft.cpp | 214 extern "C" int __futex_wake(volatile void* ftx, int count) { in __futex_wake() argument 215 return __real_futex_wake(ftx, count); in __futex_wake() 219 extern "C" int __futex_wait(volatile void* ftx, int value, const struct timespec* timeout) { in __futex_wait() argument 220 return __real_futex_wait(ftx, value, timeout); in __futex_wait()
|