Searched refs:test_mutex (Results 1 – 3 of 3) sorted by relevance
28 struct test_mutex { struct42 struct test_mutex *mtx = container_of(work, typeof(*mtx), work); in test_mutex_work() argument60 struct test_mutex mtx; in __test_mutex()107 static int test_mutex(void) in test_mutex() function652 ret = test_mutex(); in test_ww_mutex_init()
310 static DEFINE_MUTEX(test_mutex);560 mutex_lock(&test_mutex); in test_barrier_nothreads()561 mutex_unlock(&test_mutex); in test_barrier_nothreads()613 KCSAN_EXPECT_READ_BARRIER(mutex_lock(&test_mutex), false); in test_barrier_nothreads()614 KCSAN_EXPECT_READ_BARRIER(mutex_unlock(&test_mutex), true); in test_barrier_nothreads()658 KCSAN_EXPECT_WRITE_BARRIER(mutex_lock(&test_mutex), false); in test_barrier_nothreads()659 KCSAN_EXPECT_WRITE_BARRIER(mutex_unlock(&test_mutex), true); in test_barrier_nothreads()703 KCSAN_EXPECT_RW_BARRIER(mutex_lock(&test_mutex), false); in test_barrier_nothreads()704 KCSAN_EXPECT_RW_BARRIER(mutex_unlock(&test_mutex), true); in test_barrier_nothreads()
4150 static DEFINE_MUTEX(test_mutex);4160 mutex_lock(&test_mutex); in test_work()4162 mutex_unlock(&test_mutex); in test_work()