Home
last modified time | relevance | path

Searched refs:atomic_try_cmpxchg_acquire (Results 1 – 12 of 12) sorted by relevance

/linux/kernel/locking/
H A Dqrwlock.c77 atomic_try_cmpxchg_acquire(&lock->cnts, &cnts, _QW_LOCKED)) in queued_write_lock_slowpath()
86 } while (!atomic_try_cmpxchg_acquire(&lock->cnts, &cnts, _QW_LOCKED)); in queued_write_lock_slowpath()
H A Dqspinlock_paravirt.h145 } while (!atomic_try_cmpxchg_acquire (&lock->val, &old, new)); in trylock_clear_pending()
/linux/include/asm-generic/
H A Dqspinlock.h97 return likely(atomic_try_cmpxchg_acquire(&lock->val, &val, _Q_LOCKED_VAL)); in queued_spin_trylock()
111 if (likely(atomic_try_cmpxchg_acquire(&lock->val, &val, _Q_LOCKED_VAL))) in queued_spin_lock()
H A Dqrwlock.h71 return likely(atomic_try_cmpxchg_acquire(&lock->cnts, &cnts, in queued_write_trylock()
98 if (likely(atomic_try_cmpxchg_acquire(&lock->cnts, &cnts, _QW_LOCKED))) in queued_write_lock()
/linux/tools/testing/selftests/bpf/progs/
H A Dbpf_arena_spin_lock.h220 } while (!atomic_try_cmpxchg_acquire(&lock->val, &old, new)); in arena_fetch_set_pending_acquire()
240 return likely(atomic_try_cmpxchg_acquire(&lock->val, &val, _Q_LOCKED_VAL)); in arena_spin_trylock()
501 if (likely(atomic_try_cmpxchg_acquire(&lock->val, &val, _Q_LOCKED_VAL))) in arena_spin_lock()
/linux/kernel/
H A Dkexec_internal.h27 return atomic_try_cmpxchg_acquire(&__kexec_lock, &old, 1); in kexec_trylock()
/linux/tools/testing/selftests/bpf/
H A Dbpf_atomic.h137 #define atomic_try_cmpxchg_acquire(p, pold, new) \ macro
/linux/rust/kernel/sync/
H A Datomic.rs468 T::Repr::atomic_try_cmpxchg_acquire(&self.0, &mut tmp, new) in try_cmpxchg()
/linux/include/linux/
H A Dclosure.h298 } while (!atomic_try_cmpxchg_acquire(&cl->remaining, &old, old + 1)); in closure_get_not_zero()
H A Dcoresight.h625 return atomic_try_cmpxchg_acquire(&csdev->mode, &curr, new_mode); in coresight_take_mode()
/linux/rust/helpers/
H A Datomic.c436 return atomic_try_cmpxchg_acquire(v, old, new); in rust_helper_atomic_try_cmpxchg_acquire()
/linux/kernel/sched/
H A Dfair.c11829 if (!atomic_try_cmpxchg_acquire(&sched_balance_running, &zero, 1)) in sched_balance_rq()