Home
last modified time | relevance | path

Searched refs:arch_spin_is_locked (Results 1 – 19 of 19) sorted by relevance

/linux/include/linux/
H A Dspinlock_up.h27 #define arch_spin_is_locked(x) ((x)->slock == 0) macro
62 #define arch_spin_is_locked(lock) ((void)(lock), 0) macro
H A Dspinlock.h116 #define raw_spin_is_locked(lock) arch_spin_is_locked(&(lock)->raw_lock)
/linux/tools/include/linux/
H A Dspinlock.h36 static inline bool arch_spin_is_locked(arch_spinlock_t *mutex) in arch_spin_is_locked() function
/linux/arch/hexagon/include/asm/
H A Dspinlock.h156 #define arch_spin_is_locked(x) ((x)->lock != 0) macro
/linux/include/asm-generic/
H A Dspinlock.h78 static __always_inline int arch_spin_is_locked(arch_spinlock_t *lock) in arch_spin_is_locked() function
H A Dqspinlock.h143 #define arch_spin_is_locked(l) queued_spin_is_locked(l) macro
H A Dqrwlock.h132 return arch_spin_is_locked(&lock->wait_lock); in queued_rwlock_is_contended()
/linux/arch/alpha/include/asm/
H A Dspinlock.h17 #define arch_spin_is_locked(x) ((x)->lock != 0) macro
/linux/arch/sh/include/asm/
H A Dspinlock-cas.h26 #define arch_spin_is_locked(x) ((x)->lock <= 0) macro
H A Dspinlock-llsc.h18 #define arch_spin_is_locked(x) ((x)->lock <= 0) macro
/linux/arch/sparc/include/asm/
H A Dspinlock_32.h16 #define arch_spin_is_locked(lock) (*((volatile unsigned char *)(lock)) != 0) macro
/linux/arch/powerpc/include/asm/
H A Dqspinlock.h161 #define arch_spin_is_locked(l) queued_spin_is_locked(l) macro
H A Dsimple_spinlock.h40 static inline int arch_spin_is_locked(arch_spinlock_t *lock) in arch_spin_is_locked() function
/linux/arch/s390/include/asm/
H A Dspinlock.h53 static inline int arch_spin_is_locked(arch_spinlock_t *lp) in arch_spin_is_locked() function
/linux/arch/parisc/include/asm/
H A Dspinlock.h19 static inline int arch_spin_is_locked(arch_spinlock_t *x) in arch_spin_is_locked() function
/linux/arch/arm/include/asm/
H A Dspinlock.h119 static inline int arch_spin_is_locked(arch_spinlock_t *lock) in arch_spin_is_locked() function
/linux/arch/arc/include/asm/
H A Dspinlock.h13 #define arch_spin_is_locked(x) ((x)->slock != __ARCH_SPIN_LOCK_UNLOCKED__) macro
/linux/arch/x86/kernel/
H A Dhpet.c812 if (arch_spin_is_locked(&old.lock)) in read_hpet()
844 } while ((new.value == old.value) && arch_spin_is_locked(&new.lock)); in read_hpet()
/linux/kernel/rcu/
H A Dtree.c4778 * not being up to date. So arch_spin_is_locked() might have a in rcu_lockdep_current_cpu_online()
4782 if (rcu_rdp_cpu_online(rdp) || arch_spin_is_locked(&rcu_state.ofl_lock)) in rcu_lockdep_current_cpu_online()