Home
last modified time | relevance | path

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

/bionic/libc/private/
Dbionic_futex.h43 static inline __always_inline int __futex(volatile void* ftx, int op, int value, const struct times… in __futex() argument
46 int result = syscall(__NR_futex, ftx, op, value, timeout); in __futex()
54 static inline int __futex_wake(volatile void* ftx, int count) { in __futex_wake() argument
55 return __futex(ftx, FUTEX_WAKE, count, NULL); in __futex_wake()
58 static inline int __futex_wake_ex(volatile void* ftx, bool shared, int count) { in __futex_wake_ex() argument
59 return __futex(ftx, shared ? FUTEX_WAKE : FUTEX_WAKE_PRIVATE, count, NULL); in __futex_wake_ex()
62 static inline int __futex_wait(volatile void* ftx, int value, const struct timespec* timeout) { in __futex_wait() argument
63 return __futex(ftx, FUTEX_WAIT, value, timeout); in __futex_wait()
66 static inline int __futex_wait_ex(volatile void* ftx, bool shared, int value, const struct timespec… in __futex_wait_ex() argument
67 return __futex(ftx, shared ? FUTEX_WAIT : FUTEX_WAIT_PRIVATE, value, timeout); in __futex_wait_ex()
/bionic/libc/bionic/
Dndk_cruft.cpp219 extern "C" int __futex_wake(volatile void* ftx, int count) { in __futex_wake() argument
220 return __real_futex_wake(ftx, count); in __futex_wake()
224 extern "C" int __futex_wait(volatile void* ftx, int value, const struct timespec* timeout) { in __futex_wait() argument
225 return __real_futex_wait(ftx, value, timeout); in __futex_wait()