Lines Matching refs:a_mutex
162 struct ww_mutex a_mutex; member
182 err = ww_mutex_lock(&abba->a_mutex, &ctx); in test_abba_work()
185 ww_mutex_lock_slow(&abba->a_mutex, &ctx); in test_abba_work()
190 ww_mutex_unlock(&abba->a_mutex); in test_abba_work()
203 ww_mutex_init(&abba.a_mutex, &ww_class); in test_abba()
213 ww_mutex_lock(&abba.a_mutex, &ctx); in test_abba()
220 ww_mutex_unlock(&abba.a_mutex); in test_abba()
222 err = ww_mutex_lock(&abba.a_mutex, &ctx); in test_abba()
227 ww_mutex_unlock(&abba.a_mutex); in test_abba()
252 struct ww_mutex a_mutex; member
266 ww_mutex_lock(&cycle->a_mutex, &ctx); in test_cycle_work()
274 ww_mutex_unlock(&cycle->a_mutex); in test_cycle_work()
276 erra = ww_mutex_lock(&cycle->a_mutex, &ctx); in test_cycle_work()
282 ww_mutex_unlock(&cycle->a_mutex); in test_cycle_work()
301 ww_mutex_init(&cycle->a_mutex, &ww_class); in __test_cycle()
303 cycle->b_mutex = &cycles[0].a_mutex; in __test_cycle()
305 cycle->b_mutex = &cycles[n + 1].a_mutex; in __test_cycle()
336 ww_mutex_destroy(&cycles[n].a_mutex); in __test_cycle()