Lines Matching refs:a_mutex
149 struct ww_mutex a_mutex; member
169 err = ww_mutex_lock(&abba->a_mutex, &ctx); in test_abba_work()
172 ww_mutex_lock_slow(&abba->a_mutex, &ctx); in test_abba_work()
177 ww_mutex_unlock(&abba->a_mutex); in test_abba_work()
190 ww_mutex_init(&abba.a_mutex, &ww_class); in test_abba()
200 ww_mutex_lock(&abba.a_mutex, &ctx); in test_abba()
207 ww_mutex_unlock(&abba.a_mutex); in test_abba()
209 err = ww_mutex_lock(&abba.a_mutex, &ctx); in test_abba()
214 ww_mutex_unlock(&abba.a_mutex); in test_abba()
239 struct ww_mutex a_mutex; member
253 ww_mutex_lock(&cycle->a_mutex, &ctx); in test_cycle_work()
261 ww_mutex_unlock(&cycle->a_mutex); in test_cycle_work()
263 erra = ww_mutex_lock(&cycle->a_mutex, &ctx); in test_cycle_work()
269 ww_mutex_unlock(&cycle->a_mutex); in test_cycle_work()
288 ww_mutex_init(&cycle->a_mutex, &ww_class); in __test_cycle()
290 cycle->b_mutex = &cycles[0].a_mutex; in __test_cycle()
292 cycle->b_mutex = &cycles[n + 1].a_mutex; in __test_cycle()
323 ww_mutex_destroy(&cycles[n].a_mutex); in __test_cycle()