Searched refs:atomic_xchg_acquire (Results 1 – 4 of 4) sorted by relevance
34 if (likely(atomic_xchg_acquire(count, -1) != 1)) in __mutex_fastpath_lock()49 if (unlikely(atomic_xchg_acquire(count, 0) != 1)) in __mutex_fastpath_lock_retval()94 int prev = atomic_xchg_acquire(count, 0); in __mutex_fastpath_trylock()108 prev = atomic_xchg_acquire(count, prev); in __mutex_fastpath_trylock()
159 #define atomic_xchg_acquire atomic_xchg macro164 #ifndef atomic_xchg_acquire165 #define atomic_xchg_acquire(...) \ macro
80 #define atomic_xchg_acquire(v, new) xchg_acquire(&((v)->counter), (new)) macro129 #define atomic64_xchg_acquire atomic_xchg_acquire
533 (atomic_xchg_acquire(&lock->count, 0) == 1)) in __mutex_lock_common()557 (atomic_xchg_acquire(&lock->count, -1) == 1)) in __mutex_lock_common()871 prev = atomic_xchg_acquire(&lock->count, -1); in __mutex_trylock_slowpath()