Home
last modified time | relevance | path

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

/openbmc/linux/kernel/kcsan/
H A Dselftest.c118 arch_spinlock_t arch_spinlock = __ARCH_SPIN_LOCK_UNLOCKED; in test_barrier() local
165 arch_spin_lock(&arch_spinlock); in test_barrier()
166 KCSAN_CHECK_READ_BARRIER(arch_spin_unlock(&arch_spinlock)); in test_barrier()
194 arch_spin_lock(&arch_spinlock); in test_barrier()
195 KCSAN_CHECK_WRITE_BARRIER(arch_spin_unlock(&arch_spinlock)); in test_barrier()
226 arch_spin_lock(&arch_spinlock); in test_barrier()
227 KCSAN_CHECK_RW_BARRIER(arch_spin_unlock(&arch_spinlock)); in test_barrier()
H A Dkcsan_test.c532 arch_spinlock_t arch_spinlock = __ARCH_SPIN_LOCK_UNLOCKED; in test_barrier_nothreads() local
606 KCSAN_EXPECT_READ_BARRIER(arch_spin_lock(&arch_spinlock), false); in test_barrier_nothreads()
607 KCSAN_EXPECT_READ_BARRIER(arch_spin_unlock(&arch_spinlock), true); in test_barrier_nothreads()
651 KCSAN_EXPECT_WRITE_BARRIER(arch_spin_lock(&arch_spinlock), false); in test_barrier_nothreads()
652 KCSAN_EXPECT_WRITE_BARRIER(arch_spin_unlock(&arch_spinlock), true); in test_barrier_nothreads()
696 KCSAN_EXPECT_RW_BARRIER(arch_spin_lock(&arch_spinlock), false); in test_barrier_nothreads()
697 KCSAN_EXPECT_RW_BARRIER(arch_spin_unlock(&arch_spinlock), true); in test_barrier_nothreads()
/openbmc/linux/arch/x86/include/asm/
H A Dparavirt_types.h223 struct arch_spinlock;