Searched refs:atomic_cmpxchg_relaxed (Results 1 - 6 of 6) sorted by relevance
/linux-master/tools/include/linux/ |
H A D | atomic.h | 9 /* atomic_cmpxchg_relaxed */ 10 #ifndef atomic_cmpxchg_relaxed 11 #define atomic_cmpxchg_relaxed atomic_cmpxchg macro 13 #endif /* atomic_cmpxchg_relaxed */
|
H A D | refcount.h | 89 old = atomic_cmpxchg_relaxed(&r->refs, val, new);
|
/linux-master/kernel/locking/ |
H A D | qspinlock.c | 232 old = atomic_cmpxchg_relaxed(&lock->val, val, new); 506 * atomic_cmpxchg_relaxed() calls will be safe.
|
/linux-master/include/linux/atomic/ |
H A D | atomic-instrumented.h | 1241 * 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 D | arm-smmu-v3.c | 464 } 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 D | workqueue.c | 1719 tmp = atomic_cmpxchg_relaxed(&nna->nr, old, old + 1);
|
Completed in 192 milliseconds