Searched refs:atomic_cmpxchg_relaxed (Results 1 - 6 of 6) sorted by relevance

/linux-master/tools/include/linux/
H A Datomic.h9 /* atomic_cmpxchg_relaxed */
10 #ifndef atomic_cmpxchg_relaxed
11 #define atomic_cmpxchg_relaxed atomic_cmpxchg macro
13 #endif /* atomic_cmpxchg_relaxed */
H A Drefcount.h89 old = atomic_cmpxchg_relaxed(&r->refs, val, new);
/linux-master/kernel/locking/
H A Dqspinlock.c232 old = atomic_cmpxchg_relaxed(&lock->val, val, new);
506 * atomic_cmpxchg_relaxed() calls will be safe.
/linux-master/include/linux/atomic/
H A Datomic-instrumented.h1241 * atomic_cmpxchg_relaxed() - atomic compare and exchange with relaxed ordering
1254 atomic_cmpxchg_relaxed(atomic_t *v, int old, int new) function
/linux-master/drivers/iommu/arm/arm-smmu-v3/
H A Darm-smmu-v3.c464 } while (atomic_cmpxchg_relaxed(&cmdq->lock, val, val + 1) != val);
485 __ret = !atomic_cmpxchg_relaxed(&cmdq->lock, 0, INT_MIN); \
/linux-master/kernel/
H A Dworkqueue.c1719 tmp = atomic_cmpxchg_relaxed(&nna->nr, old, old + 1);

Completed in 192 milliseconds