Home
last modified time | relevance | path

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

/Linux-v6.6/kernel/locking/
Dspinlock_debug.c29 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-v6.6/include/linux/
Dspinlock_types_raw.h17 unsigned int magic, owner_cpu; member
56 .owner_cpu = -1, \
Drwlock_types.h28 unsigned int magic, owner_cpu; member
43 .owner_cpu = -1, \