Lines Matching refs:owner_cpu
29 lock->owner_cpu = -1; in __raw_spin_lock_init()
48 lock->owner_cpu = -1; in __rwlock_init()
68 READ_ONCE(lock->owner_cpu)); in spin_dump()
87 SPIN_BUG_ON(READ_ONCE(lock->owner_cpu) == raw_smp_processor_id(), in debug_spin_lock_before()
93 WRITE_ONCE(lock->owner_cpu, raw_smp_processor_id()); in debug_spin_lock_after()
102 SPIN_BUG_ON(lock->owner_cpu != raw_smp_processor_id(), in debug_spin_unlock()
105 WRITE_ONCE(lock->owner_cpu, -1); in debug_spin_unlock()
187 RWLOCK_BUG_ON(lock->owner_cpu == raw_smp_processor_id(), in debug_write_lock_before()
193 WRITE_ONCE(lock->owner_cpu, raw_smp_processor_id()); in debug_write_lock_after()
201 RWLOCK_BUG_ON(lock->owner_cpu != raw_smp_processor_id(), in debug_write_unlock()
204 WRITE_ONCE(lock->owner_cpu, -1); in debug_write_unlock()