Searched refs:arch_spin_is_locked (Results 1 – 23 of 23) sorted by relevance
9 static inline int arch_spin_is_locked(arch_spinlock_t *x) in arch_spin_is_locked() function120 while (arch_spin_is_locked(&rw->lock) && rw->counter >= 0) in arch_read_trylock()
36 static inline int arch_spin_is_locked(arch_spinlock_t *lock) in arch_spin_is_locked() function
47 static inline int arch_spin_is_locked(arch_spinlock_t *lock) in arch_spin_is_locked() function
56 static inline int arch_spin_is_locked(arch_spinlock_t *lp) in arch_spin_is_locked() function100 while (arch_spin_is_locked(lock)) in arch_spin_unlock_wait()
187 #define arch_spin_is_locked(x) ((x)->lock != 0) macro
10 static inline int arch_spin_is_locked(arch_spinlock_t *lock) in arch_spin_is_locked() function
7 static inline int arch_spin_is_locked(arch_spinlock_t *lock) in arch_spin_is_locked() function
34 #define arch_spin_is_locked(x) ((x)->slock != 0) macro
17 #define arch_spin_is_locked(x) ((x)->lock != 0) macro
29 #define arch_spin_is_locked(x) ((x)->lock <= 0) macro
21 #define arch_spin_is_locked(x) ((x)->lock <= 0) macro
29 static inline int arch_spin_is_locked(arch_spinlock_t *lock) in arch_spin_is_locked() function
27 #define arch_spin_is_locked(lp) ((lp)->lock != 0) macro
15 #define arch_spin_is_locked(lock) (*((volatile unsigned char *)(lock)) != 0) macro
27 #define arch_spin_is_locked(x) (*(volatile signed char *)(&(x)->slock) != 0) macro
30 #define arch_spin_is_locked(x) (*(volatile int *)(&(x)->slock) <= 0) macro
177 static inline int arch_spin_is_locked(arch_spinlock_t *lock) in arch_spin_is_locked() function
136 static inline int arch_spin_is_locked(arch_spinlock_t *lock) in arch_spin_is_locked() function
60 static inline int arch_spin_is_locked(arch_spinlock_t *lock) in arch_spin_is_locked() function
16 #define arch_spin_is_locked(x) ((x)->slock != __ARCH_SPIN_LOCK_UNLOCKED__) macro
39 static inline int arch_spin_is_locked(arch_spinlock_t *lock) in arch_spin_is_locked() function
114 static inline int arch_spin_is_locked(arch_spinlock_t *lock) in arch_spin_is_locked() function
813 if (arch_spin_is_locked(&old.lock)) in read_hpet()845 } while ((new.value == old.value) && arch_spin_is_locked(&new.lock)); in read_hpet()