Home
last modified time | relevance | path

Searched refs:atomic_try_cmpxchg_relaxed (Results 1 – 10 of 10) sorted by relevance

/linux-6.15/kernel/bpf/
H A Drqspinlock.h43 } while (!atomic_try_cmpxchg_relaxed(&lock->val, &old, new)); in try_cmpxchg_tail()
H A Drqspinlock.c629 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 Dbpf_arena_spin_lock.h155 } 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 Dbpf_atomic.h134 #define atomic_try_cmpxchg_relaxed(p, pold, new) \ macro
/linux-6.15/kernel/locking/
H A Dqspinlock.h170 } while (!atomic_try_cmpxchg_relaxed(&lock->val, &old, new)); in xchg_tail()
H A Dqspinlock.c353 if (atomic_try_cmpxchg_relaxed(&lock->val, &val, _Q_LOCKED_VAL)) in queued_spin_lock_slowpath()
/linux-6.15/include/linux/
H A Drefcount.h181 } while (!atomic_try_cmpxchg_relaxed(&r->refs, &old, old + i)); in __refcount_add_not_zero()
/linux-6.15/mm/
H A Dpage_owner.c212 if (atomic_try_cmpxchg_relaxed(&stack_record->count.refs, &old, 1)) in inc_stack_record_count()
/linux-6.15/drivers/misc/keba/
H A Dcp500.c715 if (!atomic_try_cmpxchg_relaxed(&cp500->nvmem_notified, &notified, 1)) { in cp500_nvmem()
/linux-6.15/include/linux/atomic/
H A Datomic-instrumented.h1343 atomic_try_cmpxchg_relaxed(atomic_t *v, int *old, int new) in atomic_try_cmpxchg_relaxed() function