/Linux-v5.4/include/linux/ |
D | spinlock_up.h | 27 #define arch_spin_is_locked(x) ((x)->slock == 0) macro 62 #define arch_spin_is_locked(lock) ((void)(lock), 0) macro
|
D | spinlock.h | 109 #define raw_spin_is_locked(lock) arch_spin_is_locked(&(lock)->raw_lock)
|
/Linux-v5.4/arch/riscv/include/asm/ |
D | spinlock.h | 20 #define arch_spin_is_locked(x) (READ_ONCE((x)->lock) != 0) macro 44 if (arch_spin_is_locked(lock)) in arch_spin_lock()
|
/Linux-v5.4/arch/parisc/include/asm/ |
D | spinlock.h | 10 static inline int arch_spin_is_locked(arch_spinlock_t *x) in arch_spin_is_locked() function 115 while (arch_spin_is_locked(&rw->lock) && rw->counter >= 0) in arch_read_trylock()
|
/Linux-v5.4/arch/csky/include/asm/ |
D | spinlock.h | 76 static inline int arch_spin_is_locked(arch_spinlock_t *lock) in arch_spin_is_locked() function 145 #define arch_spin_is_locked(x) (READ_ONCE((x)->lock) != 0) macro
|
/Linux-v5.4/tools/include/linux/ |
D | spinlock.h | 35 static inline bool arch_spin_is_locked(arch_spinlock_t *mutex) in arch_spin_is_locked() function
|
/Linux-v5.4/arch/hexagon/include/asm/ |
D | spinlock.h | 156 #define arch_spin_is_locked(x) ((x)->lock != 0) macro
|
/Linux-v5.4/arch/alpha/include/asm/ |
D | spinlock.h | 17 #define arch_spin_is_locked(x) ((x)->lock != 0) macro
|
/Linux-v5.4/arch/sh/include/asm/ |
D | spinlock-cas.h | 26 #define arch_spin_is_locked(x) ((x)->lock <= 0) macro
|
D | spinlock-llsc.h | 18 #define arch_spin_is_locked(x) ((x)->lock <= 0) macro
|
/Linux-v5.4/include/asm-generic/ |
D | qspinlock.h | 109 #define arch_spin_is_locked(l) queued_spin_is_locked(l) macro
|
/Linux-v5.4/arch/sparc/include/asm/ |
D | spinlock_32.h | 16 #define arch_spin_is_locked(lock) (*((volatile unsigned char *)(lock)) != 0) macro
|
/Linux-v5.4/arch/s390/include/asm/ |
D | spinlock.h | 53 static inline int arch_spin_is_locked(arch_spinlock_t *lp) in arch_spin_is_locked() function
|
/Linux-v5.4/arch/arm/include/asm/ |
D | spinlock.h | 119 static inline int arch_spin_is_locked(arch_spinlock_t *lock) in arch_spin_is_locked() function
|
/Linux-v5.4/arch/powerpc/include/asm/ |
D | spinlock.h | 53 static inline int arch_spin_is_locked(arch_spinlock_t *lock) in arch_spin_is_locked() function
|
/Linux-v5.4/arch/arc/include/asm/ |
D | spinlock.h | 13 #define arch_spin_is_locked(x) ((x)->slock != __ARCH_SPIN_LOCK_UNLOCKED__) macro
|
/Linux-v5.4/arch/ia64/include/asm/ |
D | spinlock.h | 101 static inline int arch_spin_is_locked(arch_spinlock_t *lock) in arch_spin_is_locked() function
|
/Linux-v5.4/arch/x86/kernel/ |
D | hpet.c | 701 if (arch_spin_is_locked(&old.lock)) in read_hpet() 733 } while ((new.value == old.value) && arch_spin_is_locked(&new.lock)); in read_hpet()
|
/Linux-v5.4/kernel/locking/ |
D | lockdep.c | 110 if (debug_locks && !arch_spin_is_locked(&lockdep_lock)) { in graph_unlock()
|