Home
last modified time | relevance | path

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

/openbmc/linux/kernel/locking/
H A Dspinlock_debug.c156 #define RWLOCK_BUG_ON(cond, lock, msg) if (unlikely(cond)) rwlock_bug(lock, msg) macro
160 RWLOCK_BUG_ON(lock->magic != RWLOCK_MAGIC, lock, "bad magic"); in do_raw_read_lock()
172 RWLOCK_BUG_ON(!ret, lock, "trylock failure on UP"); in do_raw_read_trylock()
179 RWLOCK_BUG_ON(lock->magic != RWLOCK_MAGIC, lock, "bad magic"); in do_raw_read_unlock()
185 RWLOCK_BUG_ON(lock->magic != RWLOCK_MAGIC, lock, "bad magic"); in debug_write_lock_before()
186 RWLOCK_BUG_ON(lock->owner == current, lock, "recursion"); in debug_write_lock_before()
187 RWLOCK_BUG_ON(lock->owner_cpu == raw_smp_processor_id(), in debug_write_lock_before()
199 RWLOCK_BUG_ON(lock->magic != RWLOCK_MAGIC, lock, "bad magic"); in debug_write_unlock()
200 RWLOCK_BUG_ON(lock->owner != current, lock, "wrong owner"); in debug_write_unlock()
201 RWLOCK_BUG_ON(lock->owner_cpu != raw_smp_processor_id(), in debug_write_unlock()
[all …]