assert_spin_locked 20 include/linux/spinlock_api_smp.h #define assert_spin_locked(x) BUG_ON(!spin_is_locked(x)) assert_spin_locked 19 include/linux/spinlock_api_up.h #define assert_spin_locked(lock) do { (void)(lock); } while (0)