Searched refs:RWLOCK_BUG_ON (Results 1 – 1 of 1) sorted by relevance
| /Linux-v4.19/kernel/locking/ |
| D | spinlock_debug.c | 149 #define RWLOCK_BUG_ON(cond, lock, msg) if (unlikely(cond)) rwlock_bug(lock, msg) macro 153 RWLOCK_BUG_ON(lock->magic != RWLOCK_MAGIC, lock, "bad magic"); in do_raw_read_lock() 165 RWLOCK_BUG_ON(!ret, lock, "trylock failure on UP"); in do_raw_read_trylock() 172 RWLOCK_BUG_ON(lock->magic != RWLOCK_MAGIC, lock, "bad magic"); in do_raw_read_unlock() 178 RWLOCK_BUG_ON(lock->magic != RWLOCK_MAGIC, lock, "bad magic"); in debug_write_lock_before() 179 RWLOCK_BUG_ON(lock->owner == current, lock, "recursion"); in debug_write_lock_before() 180 RWLOCK_BUG_ON(lock->owner_cpu == raw_smp_processor_id(), in debug_write_lock_before() 192 RWLOCK_BUG_ON(lock->magic != RWLOCK_MAGIC, lock, "bad magic"); in debug_write_unlock() 193 RWLOCK_BUG_ON(lock->owner != current, lock, "wrong owner"); in debug_write_unlock() 194 RWLOCK_BUG_ON(lock->owner_cpu != raw_smp_processor_id(), in debug_write_unlock() [all …]
|