Searched refs:owner_cpu (Results 1 – 3 of 3) sorted by relevance
/linux-6.6.21/kernel/locking/ |
D | spinlock_debug.c | 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() [all …]
|
/linux-6.6.21/include/linux/ |
D | spinlock_types_raw.h | 17 unsigned int magic, owner_cpu; member 56 .owner_cpu = -1, \
|
D | rwlock_types.h | 28 unsigned int magic, owner_cpu; member 43 .owner_cpu = -1, \
|