Searched refs:owner_cpu (Results 1 – 3 of 3) sorted by relevance
/kernel/linux/linux-5.10/kernel/locking/ |
D | spinlock_debug.c | 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() [all …]
|
/kernel/linux/linux-5.10/include/linux/ |
D | rwlock_types.h | 14 unsigned int magic, owner_cpu; member 39 .owner_cpu = -1, \
|
D | spinlock_types.h | 23 unsigned int magic, owner_cpu; member 54 .owner_cpu = -1, \
|