Home
last modified time | relevance | path

Searched refs:__raw_spin_is_locked (Results 1 – 4 of 4) sorted by relevance

/external/kernel-headers/original/linux/
Dspinlock_up.h21 #define __raw_spin_is_locked(x) ((x)->slock == 0) macro
60 #define __raw_spin_is_locked(lock) ((void)(lock), 0) macro
71 do { cpu_relax(); } while (__raw_spin_is_locked(lock))
Dspinlock.h120 #define spin_is_locked(lock) __raw_spin_is_locked(&(lock)->raw_lock)
/external/kernel-headers/original/asm-x86/
Dspinlock_32.h30 static inline int __raw_spin_is_locked(raw_spinlock_t *x) in __raw_spin_is_locked() function
126 while (__raw_spin_is_locked(lock)) in __raw_spin_unlock_wait()
/external/kernel-headers/original/asm-arm/
Dspinlock.h20 #define __raw_spin_is_locked(x) ((x)->lock != 0) macro
22 do { while (__raw_spin_is_locked(lock)) cpu_relax(); } while (0)