Searched refs:atomic_try_cmpxchg_relaxed (Results 1 – 4 of 4) sorted by relevance
/Linux-v4.19/lib/ |
D | refcount.c | 76 } while (!atomic_try_cmpxchg_relaxed(&r->refs, &val, new)); in refcount_add_not_zero_checked() 131 } while (!atomic_try_cmpxchg_relaxed(&r->refs, &val, new)); in refcount_inc_not_zero_checked()
|
/Linux-v4.19/kernel/locking/ |
D | qspinlock.c | 485 atomic_try_cmpxchg_relaxed(&lock->val, &val, _Q_LOCKED_VAL)) in queued_spin_lock_slowpath()
|
/Linux-v4.19/include/linux/ |
D | atomic.h | 484 #define atomic_try_cmpxchg_relaxed(_p, _po, _n) __atomic_try_cmpxchg(_relaxed, _p, _po, _n) macro 489 #define atomic_try_cmpxchg_relaxed atomic_try_cmpxchg macro
|
/Linux-v4.19/fs/afs/ |
D | cell.c | 598 deleted = atomic_try_cmpxchg_relaxed(&cell->usage, &usage, 0); in afs_manage_cell()
|