Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/kernel/locking/
Dspinlock_debug.c153 #define RWLOCK_BUG_ON(cond, lock, msg) if (unlikely(cond)) rwlock_bug(lock, msg) macro
157 RWLOCK_BUG_ON(lock->magic != RWLOCK_MAGIC, lock, "bad magic"); in do_raw_read_lock()
169 RWLOCK_BUG_ON(!ret, lock, "trylock failure on UP"); in do_raw_read_trylock()
176 RWLOCK_BUG_ON(lock->magic != RWLOCK_MAGIC, lock, "bad magic"); in do_raw_read_unlock()
182 RWLOCK_BUG_ON(lock->magic != RWLOCK_MAGIC, lock, "bad magic"); in debug_write_lock_before()
183 RWLOCK_BUG_ON(lock->owner == current, lock, "recursion"); in debug_write_lock_before()
184 RWLOCK_BUG_ON(lock->owner_cpu == raw_smp_processor_id(), in debug_write_lock_before()
196 RWLOCK_BUG_ON(lock->magic != RWLOCK_MAGIC, lock, "bad magic"); in debug_write_unlock()
197 RWLOCK_BUG_ON(lock->owner != current, lock, "wrong owner"); in debug_write_unlock()
198 RWLOCK_BUG_ON(lock->owner_cpu != raw_smp_processor_id(), in debug_write_unlock()
[all …]