Searched refs:owner_cpu (Results 1 - 3 of 3) sorted by relevance

/linux-4.1.27/include/linux/
H A Drwlock_types.h17 unsigned int magic, owner_cpu; member in struct:__anon12405
38 .owner_cpu = -1, \
H A Dspinlock_types.h26 unsigned int magic, owner_cpu; member in struct:raw_spinlock
47 .owner_cpu = -1, \
/linux-4.1.27/kernel/locking/
H A Dspinlock_debug.c29 lock->owner_cpu = -1; __raw_spin_lock_init()
47 lock->owner_cpu = -1; __rwlock_init()
62 ".owner_cpu: %d\n", spin_dump()
66 lock->owner_cpu); spin_dump()
85 SPIN_BUG_ON(lock->owner_cpu == raw_smp_processor_id(), debug_spin_lock_before()
91 lock->owner_cpu = raw_smp_processor_id(); debug_spin_lock_after()
100 SPIN_BUG_ON(lock->owner_cpu != raw_smp_processor_id(), debug_spin_unlock()
103 lock->owner_cpu = -1; debug_spin_unlock()
230 RWLOCK_BUG_ON(lock->owner_cpu == raw_smp_processor_id(), debug_write_lock_before()
236 lock->owner_cpu = raw_smp_processor_id(); debug_write_lock_after()
244 RWLOCK_BUG_ON(lock->owner_cpu != raw_smp_processor_id(), debug_write_unlock()
247 lock->owner_cpu = -1; debug_write_unlock()

Completed in 71 milliseconds