Searched refs:atomic_try_cmpxchg_acquire (Results 1 – 5 of 5) sorted by relevance
/Linux-v5.4/include/asm-generic/ |
D | qspinlock.h | 65 return likely(atomic_try_cmpxchg_acquire(&lock->val, &val, _Q_LOCKED_VAL)); in queued_spin_trylock() 78 if (likely(atomic_try_cmpxchg_acquire(&lock->val, &val, _Q_LOCKED_VAL))) in queued_spin_lock()
|
D | qrwlock.h | 65 return likely(atomic_try_cmpxchg_acquire(&lock->cnts, &cnts, in queued_write_trylock() 92 if (likely(atomic_try_cmpxchg_acquire(&lock->cnts, &cnts, _QW_LOCKED))) in queued_write_lock()
|
D | atomic-instrumented.h | 702 atomic_try_cmpxchg_acquire(atomic_t *v, int *old, int new) in atomic_try_cmpxchg_acquire() function 708 #define atomic_try_cmpxchg_acquire atomic_try_cmpxchg_acquire macro
|
D | atomic-long.h | 936 return atomic_try_cmpxchg_acquire(v, (int *)old, new); in atomic_long_try_cmpxchg_acquire()
|
/Linux-v5.4/include/linux/ |
D | atomic-fallback.h | 908 #define atomic_try_cmpxchg_acquire atomic_try_cmpxchg macro 926 #ifndef atomic_try_cmpxchg_acquire 928 atomic_try_cmpxchg_acquire(atomic_t *v, int *old, int new) in atomic_try_cmpxchg_acquire() function 936 #define atomic_try_cmpxchg_acquire atomic_try_cmpxchg_acquire macro 967 #ifndef atomic_try_cmpxchg_acquire 969 atomic_try_cmpxchg_acquire(atomic_t *v, int *old, int new) in atomic_try_cmpxchg_acquire() function 975 #define atomic_try_cmpxchg_acquire atomic_try_cmpxchg_acquire macro
|