Home
last modified time | relevance | path

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

/linux/kernel/locking/
H A Dqspinlock.c353 if (atomic_try_cmpxchg_relaxed(&lock->val, &val, _Q_LOCKED_VAL)) in queued_spin_lock_slowpath()
/linux/tools/testing/selftests/bpf/progs/
H A Dbpf_arena_spin_lock.h164 } while (!atomic_try_cmpxchg_relaxed(&lock->val, &old, new)); in xchg_tail()
429 if (atomic_try_cmpxchg_relaxed(&lock->val, &val, _Q_LOCKED_VAL)) in arena_spin_lock_slowpath()
/linux/tools/testing/selftests/bpf/
H A Dbpf_atomic.h134 #define atomic_try_cmpxchg_relaxed(p, pold, new) \ macro
/linux/rust/kernel/sync/
H A Datomic.rs474 T::Repr::atomic_try_cmpxchg_relaxed(&self.0, &mut tmp, new) in try_cmpxchg()
/linux/kernel/bpf/
H A Drqspinlock.c631 if (atomic_try_cmpxchg_relaxed(&lock->val, &val, _Q_LOCKED_VAL)) in resilient_queued_spin_lock_slowpath()
/linux/rust/helpers/
H A Datomic.c448 return atomic_try_cmpxchg_relaxed(v, old, new); in rust_helper_atomic_try_cmpxchg_relaxed()
/linux/mm/
H A Dpage_owner.c224 if (atomic_try_cmpxchg_relaxed(&stack_record->count.refs, &old, 1)) in inc_stack_record_count()
/linux/kernel/
H A Dworkqueue.c1694 } while (!atomic_try_cmpxchg_relaxed(&nna->nr, &old, old + 1)); in tryinc_node_nr_active()