Lines Matching refs:futex

79 extern void __lll_lock_wait_private (int *futex);
81 extern void __lll_lock_wait (int *futex, int private);
94 #define __lll_lock(futex, private) \ argument
97 int *__futex = (futex); \
107 #define lll_lock(futex, private) \ argument
108 __lll_lock (&(futex), private)
118 #define __lll_cond_lock(futex, private) \ argument
121 int *__futex = (futex); \
125 #define lll_cond_lock(futex, private) __lll_cond_lock (&(futex), private) argument
128 extern void __lll_lock_wake_private (int *futex);
130 extern void __lll_lock_wake (int *futex, int private);
145 #define __lll_unlock(futex, private) \ argument
148 int *__futex = (futex); \
159 #define lll_unlock(futex, private) \ argument
160 __lll_unlock (&(futex), private)
163 #define lll_islocked(futex) \ argument
164 ((futex) != LLL_LOCK_INITIALIZER)
185 extern int __lll_clocklock_elision (int *futex, short *adapt_count,
191 extern int __lll_lock_elision (int *futex, short *adapt_count, int private);
204 # define lll_clocklock_elision(futex, adapt_count, clockid, timeout, private) \ argument
205 __lll_clocklock_elision (&(futex), &(adapt_count), clockid, timeout, private)
206 # define lll_lock_elision(futex, adapt_count, private) \ argument
207 __lll_lock_elision (&(futex), &(adapt_count), private)
208 # define lll_trylock_elision(futex, adapt_count) \ argument
209 __lll_trylock_elision (&(futex), &(adapt_count))
211 # define lll_unlock_elision(futex, adapt_count, private) \ argument
212 __lll_unlock_elision (&(futex), &(adapt_count), private)
214 # define lll_unlock_elision(futex, adapt_count, private) \
215 __lll_unlock_elision (&(futex), private)
265 # define lll_clocklock_elision(futex, adapt_count, clockid, abstime, private) \
266 __futex_clocklock64 (&(futex), clockid, abstime, private)