Home
last modified time | relevance | path

Searched defs:arch_spin_is_locked (Results 1 – 16 of 16) sorted by relevance

/kernel/linux/linux-5.10/include/linux/
Dspinlock_up.h27 #define arch_spin_is_locked(x) ((x)->slock == 0) macro
62 #define arch_spin_is_locked(lock) ((void)(lock), 0) macro
/kernel/linux/linux-5.10/arch/csky/include/asm/
Dspinlock.h76 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
/kernel/linux/linux-5.10/arch/hexagon/include/asm/
Dspinlock.h156 #define arch_spin_is_locked(x) ((x)->lock != 0) macro
/kernel/linux/linux-5.10/arch/riscv/include/asm/
Dspinlock.h20 #define arch_spin_is_locked(x) (READ_ONCE((x)->lock) != 0) macro
/kernel/linux/linux-5.10/arch/sh/include/asm/
Dspinlock-cas.h26 #define arch_spin_is_locked(x) ((x)->lock <= 0) macro
Dspinlock-llsc.h18 #define arch_spin_is_locked(x) ((x)->lock <= 0) macro
/kernel/linux/linux-5.10/arch/sparc/include/asm/
Dspinlock_32.h16 #define arch_spin_is_locked(lock) (*((volatile unsigned char *)(lock)) != 0) macro
/kernel/linux/linux-5.10/include/asm-generic/
Dqspinlock.h114 #define arch_spin_is_locked(l) queued_spin_is_locked(l) macro
/kernel/linux/linux-5.10/arch/alpha/include/asm/
Dspinlock.h17 #define arch_spin_is_locked(x) ((x)->lock != 0) macro
/kernel/linux/linux-5.10/tools/include/linux/
Dspinlock.h35 static inline bool arch_spin_is_locked(arch_spinlock_t *mutex) in arch_spin_is_locked() function
/kernel/linux/linux-5.10/arch/parisc/include/asm/
Dspinlock.h10 static inline int arch_spin_is_locked(arch_spinlock_t *x) in arch_spin_is_locked() function
/kernel/linux/linux-5.10/arch/s390/include/asm/
Dspinlock.h53 static inline int arch_spin_is_locked(arch_spinlock_t *lp) in arch_spin_is_locked() function
/kernel/linux/linux-5.10/arch/arm/include/asm/
Dspinlock.h119 static inline int arch_spin_is_locked(arch_spinlock_t *lock) in arch_spin_is_locked() function
/kernel/linux/linux-5.10/arch/arc/include/asm/
Dspinlock.h13 #define arch_spin_is_locked(x) ((x)->slock != __ARCH_SPIN_LOCK_UNLOCKED__) macro
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dsimple_spinlock.h39 static inline int arch_spin_is_locked(arch_spinlock_t *lock) in arch_spin_is_locked() function
/kernel/linux/linux-5.10/arch/ia64/include/asm/
Dspinlock.h101 static inline int arch_spin_is_locked(arch_spinlock_t *lock) in arch_spin_is_locked() function