Home
last modified time | relevance | path

Searched refs:atomic_try_cmpxchg_relaxed (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.10/include/linux/
Datomic-fallback.h1003 #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()
Drefcount.h157 } while (!atomic_try_cmpxchg_relaxed(&r->refs, &old, old + i)); in __refcount_add_not_zero()
/Linux-v5.10/kernel/locking/
Dqspinlock.c536 if (atomic_try_cmpxchg_relaxed(&lock->val, &val, _Q_LOCKED_VAL)) in queued_spin_lock_slowpath()
/Linux-v5.10/include/asm-generic/
Datomic-instrumented.h725 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
Datomic-long.h949 return atomic_try_cmpxchg_relaxed(v, (int *)old, new); in atomic_long_try_cmpxchg_relaxed()
/Linux-v5.10/fs/afs/
Dcell.c750 if (atomic_try_cmpxchg_relaxed(&cell->active, &active, 0)) { in afs_manage_cell()