Lines Matching refs:owner_cpu
30 lock->owner_cpu = -1; in __raw_spin_lock_init()
49 lock->owner_cpu = -1; in __rwlock_init()
69 READ_ONCE(lock->owner_cpu)); in spin_dump()
88 SPIN_BUG_ON(READ_ONCE(lock->owner_cpu) == raw_smp_processor_id(), in debug_spin_lock_before()
94 WRITE_ONCE(lock->owner_cpu, raw_smp_processor_id()); in debug_spin_lock_after()
103 SPIN_BUG_ON(lock->owner_cpu != raw_smp_processor_id(), in debug_spin_unlock()
106 WRITE_ONCE(lock->owner_cpu, -1); in debug_spin_unlock()
188 RWLOCK_BUG_ON(lock->owner_cpu == raw_smp_processor_id(), in debug_write_lock_before()
194 WRITE_ONCE(lock->owner_cpu, raw_smp_processor_id()); in debug_write_lock_after()
202 RWLOCK_BUG_ON(lock->owner_cpu != raw_smp_processor_id(), in debug_write_unlock()
205 WRITE_ONCE(lock->owner_cpu, -1); in debug_write_unlock()