Searched refs:arch_spin_is_locked (Results 1 – 2 of 2) sorted by relevance
26 #define arch_spin_is_locked(x) ((x)->slock == 0) macro69 #define arch_spin_is_locked(lock) ((void)(lock), 0) macro83 do { cpu_relax(); } while (arch_spin_is_locked(lock))
107 #define raw_spin_is_locked(lock) arch_spin_is_locked(&(lock)->raw_lock)