Searched refs:atomic_try_cmpxchg_relaxed (Results 1 – 6 of 6) sorted by relevance
| /Linux-v5.10/include/linux/ |
| D | atomic-fallback.h | 1003 #define arch_atomic_try_cmpxchg_relaxed atomic_try_cmpxchg_relaxed 1005 #ifndef atomic_try_cmpxchg_relaxed 1009 #define atomic_try_cmpxchg_relaxed atomic_try_cmpxchg macro 1051 #ifndef atomic_try_cmpxchg_relaxed 1053 atomic_try_cmpxchg_relaxed(atomic_t *v, int *old, int new) in atomic_try_cmpxchg_relaxed() function 1061 #define atomic_try_cmpxchg_relaxed atomic_try_cmpxchg_relaxed macro 1070 bool ret = atomic_try_cmpxchg_relaxed(v, old, new); in atomic_try_cmpxchg_acquire() 1082 return atomic_try_cmpxchg_relaxed(v, old, new); in atomic_try_cmpxchg_release() 1093 ret = atomic_try_cmpxchg_relaxed(v, old, new); in atomic_try_cmpxchg()
|
| D | refcount.h | 157 } while (!atomic_try_cmpxchg_relaxed(&r->refs, &old, old + i)); in __refcount_add_not_zero()
|
| /Linux-v5.10/kernel/locking/ |
| D | qspinlock.c | 536 if (atomic_try_cmpxchg_relaxed(&lock->val, &val, _Q_LOCKED_VAL)) in queued_spin_lock_slowpath()
|
| /Linux-v5.10/include/asm-generic/ |
| D | atomic-instrumented.h | 725 atomic_try_cmpxchg_relaxed(atomic_t *v, int *old, int new) in atomic_try_cmpxchg_relaxed() function 731 #define atomic_try_cmpxchg_relaxed atomic_try_cmpxchg_relaxed macro
|
| D | atomic-long.h | 949 return atomic_try_cmpxchg_relaxed(v, (int *)old, new); in atomic_long_try_cmpxchg_relaxed()
|
| /Linux-v5.10/fs/afs/ |
| D | cell.c | 750 if (atomic_try_cmpxchg_relaxed(&cell->active, &active, 0)) { in afs_manage_cell()
|