Searched refs:abba (Results 1 – 1 of 1) sorted by relevance
188 struct test_abba *abba = container_of(work, typeof(*abba), work); in test_abba_work() local193 if (!abba->trylock) in test_abba_work()194 ww_mutex_lock(&abba->b_mutex, &ctx); in test_abba_work()196 WARN_ON(!ww_mutex_trylock(&abba->b_mutex, &ctx)); in test_abba_work()198 WARN_ON(READ_ONCE(abba->b_mutex.ctx) != &ctx); in test_abba_work()200 complete(&abba->b_ready); in test_abba_work()201 wait_for_completion(&abba->a_ready); in test_abba_work()203 err = ww_mutex_lock(&abba->a_mutex, &ctx); in test_abba_work()204 if (abba->resolve && err == -EDEADLK) { in test_abba_work()205 ww_mutex_unlock(&abba->b_mutex); in test_abba_work()[all …]