Home
last modified time | relevance | path

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

/openbmc/linux/kernel/locking/
H A Dtest-ww_mutex.c28 struct test_mutex { struct
42 struct test_mutex *mtx = container_of(work, typeof(*mtx), work); in test_mutex_work() argument
60 struct test_mutex mtx; in __test_mutex()
107 static int test_mutex(void) in test_mutex() function
636 ret = test_mutex(); in test_ww_mutex_init()
/openbmc/linux/kernel/kcsan/
H A Dkcsan_test.c309 static DEFINE_MUTEX(test_mutex);
557 mutex_lock(&test_mutex); in test_barrier_nothreads()
558 mutex_unlock(&test_mutex); in test_barrier_nothreads()
610 KCSAN_EXPECT_READ_BARRIER(mutex_lock(&test_mutex), false); in test_barrier_nothreads()
611 KCSAN_EXPECT_READ_BARRIER(mutex_unlock(&test_mutex), true); in test_barrier_nothreads()
655 KCSAN_EXPECT_WRITE_BARRIER(mutex_lock(&test_mutex), false); in test_barrier_nothreads()
656 KCSAN_EXPECT_WRITE_BARRIER(mutex_unlock(&test_mutex), true); in test_barrier_nothreads()
700 KCSAN_EXPECT_RW_BARRIER(mutex_lock(&test_mutex), false); in test_barrier_nothreads()
701 KCSAN_EXPECT_RW_BARRIER(mutex_unlock(&test_mutex), true); in test_barrier_nothreads()
/openbmc/linux/kernel/trace/
H A Dtrace_events.c4056 static DEFINE_MUTEX(test_mutex);
4066 mutex_lock(&test_mutex); in test_work()
4068 mutex_unlock(&test_mutex); in test_work()