Searched refs:atomic_try_cmpxchg_relaxed (Results 1 – 10 of 10) sorted by relevance
| /linux-6.15/kernel/bpf/ |
| H A D | rqspinlock.h | 43 } while (!atomic_try_cmpxchg_relaxed(&lock->val, &old, new)); in try_cmpxchg_tail()
|
| H A D | rqspinlock.c | 629 if (atomic_try_cmpxchg_relaxed(&lock->val, &val, _Q_LOCKED_VAL)) in resilient_queued_spin_lock_slowpath()
|
| /linux-6.15/tools/testing/selftests/bpf/ |
| H A D | bpf_arena_spin_lock.h | 155 } while (!atomic_try_cmpxchg_relaxed(&lock->val, &old, new)); in xchg_tail() 420 if (atomic_try_cmpxchg_relaxed(&lock->val, &val, _Q_LOCKED_VAL)) in arena_spin_lock_slowpath()
|
| H A D | bpf_atomic.h | 134 #define atomic_try_cmpxchg_relaxed(p, pold, new) \ macro
|
| /linux-6.15/kernel/locking/ |
| H A D | qspinlock.h | 170 } while (!atomic_try_cmpxchg_relaxed(&lock->val, &old, new)); in xchg_tail()
|
| H A D | qspinlock.c | 353 if (atomic_try_cmpxchg_relaxed(&lock->val, &val, _Q_LOCKED_VAL)) in queued_spin_lock_slowpath()
|
| /linux-6.15/include/linux/ |
| H A D | refcount.h | 181 } while (!atomic_try_cmpxchg_relaxed(&r->refs, &old, old + i)); in __refcount_add_not_zero()
|
| /linux-6.15/mm/ |
| H A D | page_owner.c | 212 if (atomic_try_cmpxchg_relaxed(&stack_record->count.refs, &old, 1)) in inc_stack_record_count()
|
| /linux-6.15/drivers/misc/keba/ |
| H A D | cp500.c | 715 if (!atomic_try_cmpxchg_relaxed(&cp500->nvmem_notified, ¬ified, 1)) { in cp500_nvmem()
|
| /linux-6.15/include/linux/atomic/ |
| H A D | atomic-instrumented.h | 1343 atomic_try_cmpxchg_relaxed(atomic_t *v, int *old, int new) in atomic_try_cmpxchg_relaxed() function
|