Searched refs:__raw_spin_is_locked (Results 1 – 4 of 4) sorted by relevance
21 #define __raw_spin_is_locked(x) ((x)->slock == 0) macro60 #define __raw_spin_is_locked(lock) ((void)(lock), 0) macro71 do { cpu_relax(); } while (__raw_spin_is_locked(lock))
120 #define spin_is_locked(lock) __raw_spin_is_locked(&(lock)->raw_lock)
30 static inline int __raw_spin_is_locked(raw_spinlock_t *x) in __raw_spin_is_locked() function126 while (__raw_spin_is_locked(lock)) in __raw_spin_unlock_wait()
20 #define __raw_spin_is_locked(x) ((x)->lock != 0) macro22 do { while (__raw_spin_is_locked(lock)) cpu_relax(); } while (0)