Searched refs:atomic_try_cmpxchg_relaxed (Results 1 – 6 of 6) sorted by relevance
| /Linux-v5.4/lib/ |
| D | refcount.c | 79 } while (!atomic_try_cmpxchg_relaxed(&r->refs, &val, new)); in refcount_add_not_zero_checked() 134 } while (!atomic_try_cmpxchg_relaxed(&r->refs, &val, new)); in refcount_inc_not_zero_checked()
|
| /Linux-v5.4/include/linux/ |
| D | atomic-fallback.h | 906 #ifndef atomic_try_cmpxchg_relaxed 910 #define atomic_try_cmpxchg_relaxed atomic_try_cmpxchg macro 952 #ifndef atomic_try_cmpxchg_relaxed 954 atomic_try_cmpxchg_relaxed(atomic_t *v, int *old, int new) in atomic_try_cmpxchg_relaxed() function 962 #define atomic_try_cmpxchg_relaxed atomic_try_cmpxchg_relaxed macro 971 bool ret = atomic_try_cmpxchg_relaxed(v, old, new); in atomic_try_cmpxchg_acquire() 983 return atomic_try_cmpxchg_relaxed(v, old, new); in atomic_try_cmpxchg_release() 994 ret = atomic_try_cmpxchg_relaxed(v, old, new); in atomic_try_cmpxchg()
|
| /Linux-v5.4/kernel/locking/ |
| D | qspinlock.c | 535 if (atomic_try_cmpxchg_relaxed(&lock->val, &val, _Q_LOCKED_VAL)) in queued_spin_lock_slowpath()
|
| /Linux-v5.4/include/asm-generic/ |
| D | atomic-instrumented.h | 724 atomic_try_cmpxchg_relaxed(atomic_t *v, int *old, int new) in atomic_try_cmpxchg_relaxed() function 730 #define atomic_try_cmpxchg_relaxed atomic_try_cmpxchg_relaxed macro
|
| D | atomic-long.h | 948 return atomic_try_cmpxchg_relaxed(v, (int *)old, new); in atomic_long_try_cmpxchg_relaxed()
|
| /Linux-v5.4/fs/afs/ |
| D | cell.c | 655 deleted = atomic_try_cmpxchg_relaxed(&cell->usage, &usage, 0); in afs_manage_cell()
|