Home
last modified time | relevance | path

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

/linux-6.6.21/lib/
Dtest_lockup.c491 SPINLOCK_MAGIC) || in test_lockup_init()
494 SPINLOCK_MAGIC) || in test_lockup_init()
497 SPINLOCK_MAGIC) || in test_lockup_init()
500 SPINLOCK_MAGIC)) in test_lockup_init()
505 SPINLOCK_MAGIC) || in test_lockup_init()
511 SPINLOCK_MAGIC) || in test_lockup_init()
514 SPINLOCK_MAGIC)) in test_lockup_init()
/linux-6.6.21/include/linux/
Dspinlock_types_raw.h25 #define SPINLOCK_MAGIC 0xdead4ead macro
55 .magic = SPINLOCK_MAGIC, \
/linux-6.6.21/kernel/locking/
Dspinlock_debug.c27 lock->magic = SPINLOCK_MAGIC; in __raw_spin_lock_init()
85 SPIN_BUG_ON(READ_ONCE(lock->magic) != SPINLOCK_MAGIC, lock, "bad magic"); in debug_spin_lock_before()
99 SPIN_BUG_ON(lock->magic != SPINLOCK_MAGIC, lock, "bad magic"); in debug_spin_unlock()