Symbol: _Q_LOCKED_VAL
arch/loongarch/include/asm/qspinlock.h
29
if (val || !atomic_try_cmpxchg(&lock->val, &val, _Q_LOCKED_VAL)) {
arch/powerpc/include/asm/qspinlock.h
89
return _Q_LOCKED_VAL | (smp_processor_id() << _Q_OWNER_CPU_OFFSET);
arch/powerpc/lib/qspinlock.c
147
"i" (_Q_LOCKED_VAL),
arch/powerpc/lib/qspinlock.c
219
BUG_ON(!(old & _Q_LOCKED_VAL));
arch/powerpc/lib/qspinlock.c
291
BUG_ON(!(val & _Q_LOCKED_VAL));
arch/powerpc/lib/qspinlock.c
395
if (val & _Q_LOCKED_VAL) {
arch/powerpc/lib/qspinlock.c
479
if (unlikely(!(val & _Q_LOCKED_VAL))) {
arch/powerpc/lib/qspinlock.c
614
if (!(val & _Q_LOCKED_VAL))
arch/powerpc/lib/qspinlock.c
662
if (unlikely(old & _Q_LOCKED_VAL)) {
arch/x86/include/asm/paravirt-spinlock.h
137
if (val || !atomic_try_cmpxchg(&lock->val, &val, _Q_LOCKED_VAL)) {
arch/x86/include/asm/qspinlock_paravirt.h
43
"mov $" __stringify(_Q_LOCKED_VAL) ",%eax\n\t" \
include/asm-generic/qspinlock.h
111
if (likely(atomic_try_cmpxchg_acquire(&lock->val, &val, _Q_LOCKED_VAL)))
include/asm-generic/qspinlock.h
97
return likely(atomic_try_cmpxchg_acquire(&lock->val, &val, _Q_LOCKED_VAL));
include/asm-generic/rqspinlock.h
187
if (likely(atomic_try_cmpxchg_acquire(&lock->val, &val, _Q_LOCKED_VAL)))
kernel/bpf/rqspinlock.c
632
if (atomic_try_cmpxchg_relaxed(&lock->val, &val, _Q_LOCKED_VAL))
kernel/locking/qspinlock.c
353
if (atomic_try_cmpxchg_relaxed(&lock->val, &val, _Q_LOCKED_VAL))
kernel/locking/qspinlock.h
101
WRITE_ONCE(lock->locked_pending, _Q_LOCKED_VAL);
kernel/locking/qspinlock.h
145
atomic_add(-_Q_PENDING_VAL + _Q_LOCKED_VAL, &lock->val);
kernel/locking/qspinlock.h
198
WRITE_ONCE(lock->locked, _Q_LOCKED_VAL);
kernel/locking/qspinlock_paravirt.h
125
try_cmpxchg_acquire(&lock->locked_pending, &old, _Q_LOCKED_VAL);
kernel/locking/qspinlock_paravirt.h
144
new = (old & ~_Q_PENDING_MASK) | _Q_LOCKED_VAL;
kernel/locking/qspinlock_paravirt.h
458
WRITE_ONCE(lock->locked, _Q_LOCKED_VAL);
kernel/locking/qspinlock_paravirt.h
481
return (u32)(atomic_read(&lock->val) | _Q_LOCKED_VAL);
kernel/locking/qspinlock_paravirt.h
545
u8 locked = _Q_LOCKED_VAL;
kernel/locking/qspinlock_paravirt.h
92
try_cmpxchg_acquire(&lock->locked, &old, _Q_LOCKED_VAL)) {
tools/testing/selftests/bpf/progs/bpf_arena_spin_lock.h
193
WRITE_ONCE(lock->locked_pending, _Q_LOCKED_VAL);
tools/testing/selftests/bpf/progs/bpf_arena_spin_lock.h
204
WRITE_ONCE(lock->locked, _Q_LOCKED_VAL);
tools/testing/selftests/bpf/progs/bpf_arena_spin_lock.h
240
return likely(atomic_try_cmpxchg_acquire(&lock->val, &val, _Q_LOCKED_VAL));
tools/testing/selftests/bpf/progs/bpf_arena_spin_lock.h
429
if (atomic_try_cmpxchg_relaxed(&lock->val, &val, _Q_LOCKED_VAL))
tools/testing/selftests/bpf/progs/bpf_arena_spin_lock.h
501
if (likely(atomic_try_cmpxchg_acquire(&lock->val, &val, _Q_LOCKED_VAL)))