Searched refs:atomic_try_cmpxchg_release (Results 1 – 4 of 4) sorted by relevance
/linux/lib/ |
H A D | refcount.c | 59 return atomic_try_cmpxchg_release(&r->refs, &val, 0); in refcount_dec_if_one() 91 } while (!atomic_try_cmpxchg_release(&r->refs, &val, new)); in refcount_dec_not_one()
|
H A D | rcuref.c | 250 if (!atomic_try_cmpxchg_release(&ref->refcnt, &cnt, RCUREF_DEAD)) in rcuref_put_slowpath()
|
/linux/kernel/locking/ |
H A D | osq_lock.c | 218 if (atomic_try_cmpxchg_release(&lock->tail, &curr, OSQ_UNLOCKED_VAL)) in osq_unlock()
|
/linux/include/linux/atomic/ |
H A D | atomic-instrumented.h | 1306 * atomic_try_cmpxchg_release() - atomic compare and exchange with release ordering 1320 atomic_try_cmpxchg_release(atomic_t *v, int *old, int new) in atomic_try_cmpxchg_release() function
|