Searched refs:atomic_try_cmpxchg_acquire (Results 1 – 14 of 14) sorted by relevance
| /linux/kernel/locking/ |
| H A D | qrwlock.c | 77 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 D | rwbase_rt.c | 62 if (likely(atomic_try_cmpxchg_acquire(&rwb->readers, &r, r + 1))) in rwbase_read_trylock()
|
| H A D | qspinlock_paravirt.h | 145 } while (!atomic_try_cmpxchg_acquire (&lock->val, &old, new)); in trylock_clear_pending()
|
| /linux/include/asm-generic/ |
| H A D | qspinlock.h | 97 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 D | qrwlock.h | 71 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()
|
| H A D | rqspinlock.h | 178 if (likely(atomic_try_cmpxchg_acquire(&lock->val, &val, _Q_LOCKED_VAL))) { in res_spin_lock()
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | bpf_arena_spin_lock.h | 220 } 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 D | kexec_internal.h | 27 return atomic_try_cmpxchg_acquire(&__kexec_lock, &old, 1); in kexec_trylock()
|
| /linux/tools/testing/selftests/bpf/ |
| H A D | bpf_atomic.h | 137 #define atomic_try_cmpxchg_acquire(p, pold, new) \ macro
|
| /linux/include/linux/ |
| H A D | refcount.h | 230 } while (!atomic_try_cmpxchg_acquire(&r->refs, &old, old + i)); in __refcount_add_not_zero_limited_acquire()
|
| H A D | closure.h | 298 } while (!atomic_try_cmpxchg_acquire(&cl->remaining, &old, old + 1)); in closure_get_not_zero()
|
| /linux/rust/kernel/sync/ |
| H A D | atomic.rs | 457 T::Repr::atomic_try_cmpxchg_acquire(&self.0, &mut tmp, new) in try_cmpxchg()
|
| /linux/rust/helpers/ |
| H A D | atomic.c | 436 return atomic_try_cmpxchg_acquire(v, old, new); in rust_helper_atomic_try_cmpxchg_acquire()
|
| /linux/include/linux/atomic/ |
| H A D | atomic-instrumented.h | 1298 atomic_try_cmpxchg_acquire(atomic_t *v, int *old, int new) in atomic_try_cmpxchg_acquire() function
|