Searched refs:atomic_try_cmpxchg_acquire (Results 1 – 5 of 5) sorted by relevance
/Linux-v5.10/include/asm-generic/ |
D | qspinlock.h | 68 return likely(atomic_try_cmpxchg_acquire(&lock->val, &val, _Q_LOCKED_VAL)); in queued_spin_trylock() 82 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 | 703 atomic_try_cmpxchg_acquire(atomic_t *v, int *old, int new) in atomic_try_cmpxchg_acquire() function 709 #define atomic_try_cmpxchg_acquire atomic_try_cmpxchg_acquire macro
|
D | atomic-long.h | 937 return atomic_try_cmpxchg_acquire(v, (int *)old, new); in atomic_long_try_cmpxchg_acquire()
|
/Linux-v5.10/include/linux/ |
D | atomic-fallback.h | 1001 #define arch_atomic_try_cmpxchg_acquire atomic_try_cmpxchg_acquire 1007 #define atomic_try_cmpxchg_acquire atomic_try_cmpxchg macro 1025 #ifndef atomic_try_cmpxchg_acquire 1027 atomic_try_cmpxchg_acquire(atomic_t *v, int *old, int new) in atomic_try_cmpxchg_acquire() function 1035 #define atomic_try_cmpxchg_acquire atomic_try_cmpxchg_acquire macro 1066 #ifndef atomic_try_cmpxchg_acquire 1068 atomic_try_cmpxchg_acquire(atomic_t *v, int *old, int new) in atomic_try_cmpxchg_acquire() function 1074 #define atomic_try_cmpxchg_acquire atomic_try_cmpxchg_acquire macro
|