Lines Matching refs:owner_cpu
29 lock->owner_cpu = -1; in __raw_spin_lock_init()
47 lock->owner_cpu = -1; in __rwlock_init()
66 READ_ONCE(lock->owner_cpu)); in spin_dump()
85 SPIN_BUG_ON(READ_ONCE(lock->owner_cpu) == raw_smp_processor_id(), in debug_spin_lock_before()
91 WRITE_ONCE(lock->owner_cpu, raw_smp_processor_id()); in debug_spin_lock_after()
100 SPIN_BUG_ON(lock->owner_cpu != raw_smp_processor_id(), in debug_spin_unlock()
103 WRITE_ONCE(lock->owner_cpu, -1); in debug_spin_unlock()
184 RWLOCK_BUG_ON(lock->owner_cpu == raw_smp_processor_id(), in debug_write_lock_before()
190 WRITE_ONCE(lock->owner_cpu, raw_smp_processor_id()); in debug_write_lock_after()
198 RWLOCK_BUG_ON(lock->owner_cpu != raw_smp_processor_id(), in debug_write_unlock()
201 WRITE_ONCE(lock->owner_cpu, -1); in debug_write_unlock()