Searched refs:abba (Results 1 – 1 of 1) sorted by relevance
159 struct test_abba *abba = container_of(work, typeof(*abba), work); in test_abba_work() local164 ww_mutex_lock(&abba->b_mutex, &ctx); in test_abba_work()166 complete(&abba->b_ready); in test_abba_work()167 wait_for_completion(&abba->a_ready); in test_abba_work()169 err = ww_mutex_lock(&abba->a_mutex, &ctx); in test_abba_work()170 if (abba->resolve && err == -EDEADLK) { in test_abba_work()171 ww_mutex_unlock(&abba->b_mutex); in test_abba_work()172 ww_mutex_lock_slow(&abba->a_mutex, &ctx); in test_abba_work()173 err = ww_mutex_lock(&abba->b_mutex, &ctx); in test_abba_work()177 ww_mutex_unlock(&abba->a_mutex); in test_abba_work()[all …]