Lines Matching refs:lock
68 #define __lll_trylock(lock) \ argument
69 __glibc_unlikely (atomic_compare_and_exchange_bool_acq ((lock), 1, 0))
70 #define lll_trylock(lock) \ argument
71 __lll_trylock (&(lock))
76 #define lll_cond_trylock(lock) \ argument
77 __glibc_unlikely (atomic_compare_and_exchange_bool_acq (&(lock), 2, 0))
195 extern int __lll_unlock_elision (int *lock, short *adapt_count, int private);
197 extern int __lll_unlock_elision (int *lock, int private);
201 extern int __lll_trylock_elision (int *lock, short *adapt_count);
267 # define lll_lock_elision(lock, try_lock, private) \
268 ({ lll_lock (lock, private); 0; })