Lines Matching refs:test_mutex
52 kmutex_t test_mutex;
61 mutex_enter(&test_mutex);
64 mutex_exit(&test_mutex);
69 * test_mutex -> kernel_lock
77 mutex_enter(&test_mutex);
81 mutex_exit(&test_mutex);
91 * kernel_lock -> test_mutex
100 mutex_enter(&test_mutex);
104 mutex_exit(&test_mutex);
113 * test_mutex without kernel_lock, to provide pressure
121 mutex_enter(&test_mutex);
125 mutex_exit(&test_mutex);
139 mutex_init(&test_mutex, MUTEX_DEFAULT, IPL_NONE);
165 mutex_enter(&test_mutex);
167 (void)cv_timedwait(&test_cv, &test_mutex, hz * SECONDS);
170 mutex_exit(&test_mutex);
175 mutex_destroy(&test_mutex);