arch_spin_is_locked 115 arch/parisc/include/asm/spinlock.h while (arch_spin_is_locked(&rw->lock) && rw->counter >= 0) arch_spin_is_locked 44 arch/riscv/include/asm/spinlock.h if (arch_spin_is_locked(lock)) arch_spin_is_locked 701 arch/x86/kernel/hpet.c if (arch_spin_is_locked(&old.lock)) arch_spin_is_locked 733 arch/x86/kernel/hpet.c } while ((new.value == old.value) && arch_spin_is_locked(&new.lock)); arch_spin_is_locked 109 include/linux/spinlock.h #define raw_spin_is_locked(lock) arch_spin_is_locked(&(lock)->raw_lock) arch_spin_is_locked 110 kernel/locking/lockdep.c if (debug_locks && !arch_spin_is_locked(&lockdep_lock)) {