Searched refs:RWLOCK_BUG_ON (Results 1 – 1 of 1) sorted by relevance
/linux/kernel/locking/ |
H A D | spinlock_debug.c | 157 #define RWLOCK_BUG_ON(cond, lock, msg) if (unlikely(cond)) rwlock_bug(lock, msg) macro 161 RWLOCK_BUG_ON(lock->magic != RWLOCK_MAGIC, lock, "bad magic"); in do_raw_read_lock() 173 RWLOCK_BUG_ON(!ret, lock, "trylock failure on UP"); in do_raw_read_trylock() 180 RWLOCK_BUG_ON(lock->magic != RWLOCK_MAGIC, lock, "bad magic"); in do_raw_read_unlock() 186 RWLOCK_BUG_ON(lock->magic != RWLOCK_MAGIC, lock, "bad magic"); in debug_write_lock_before() 187 RWLOCK_BUG_ON(lock->owner == current, lock, "recursion"); in debug_write_lock_before() 188 RWLOCK_BUG_ON(lock->owner_cpu == raw_smp_processor_id(), in debug_write_lock_before() 200 RWLOCK_BUG_ON(lock->magic != RWLOCK_MAGIC, lock, "bad magic"); in debug_write_unlock() 201 RWLOCK_BUG_ON(lock->owner != current, lock, "wrong owner"); in debug_write_unlock() 202 RWLOCK_BUG_ON(lock->owner_cpu != raw_smp_processor_id(), in debug_write_unlock() [all …]
|