Home
last modified time | relevance | path

Searched refs:abba (Results 1 – 1 of 1) sorted by relevance

/linux/kernel/locking/
H A Dtest-ww_mutex.c190 struct test_abba *abba = container_of(work, typeof(*abba), work); in test_abba_work() local
195 if (!abba->trylock) in test_abba_work()
196 ww_mutex_lock(&abba->b_mutex, &ctx); in test_abba_work()
198 WARN_ON(!ww_mutex_trylock(&abba->b_mutex, &ctx)); in test_abba_work()
200 WARN_ON(READ_ONCE(abba->b_mutex.ctx) != &ctx); in test_abba_work()
202 complete(&abba->b_ready); in test_abba_work()
203 wait_for_completion(&abba->a_ready); in test_abba_work()
205 err = ww_mutex_lock(&abba->a_mutex, &ctx); in test_abba_work()
206 if (abba in test_abba_work()
222 struct test_abba abba; test_abba() local
[all...]