Lines Matching refs:wt
378 struct wait_timer *wt = from_timer(wt, timer, timer); in wait_timer() local
380 dma_fence_signal(wt->f); in wait_timer()
385 struct wait_timer wt; in test_wait_timeout() local
388 timer_setup_on_stack(&wt.timer, wait_timer, 0); in test_wait_timeout()
390 wt.f = mock_fence(); in test_wait_timeout()
391 if (!wt.f) in test_wait_timeout()
394 dma_fence_enable_sw_signaling(wt.f); in test_wait_timeout()
396 if (dma_fence_wait_timeout(wt.f, false, 1) != -ETIME) { in test_wait_timeout()
401 mod_timer(&wt.timer, jiffies + 1); in test_wait_timeout()
403 if (dma_fence_wait_timeout(wt.f, false, 2) == -ETIME) { in test_wait_timeout()
404 if (timer_pending(&wt.timer)) { in test_wait_timeout()
415 del_timer_sync(&wt.timer); in test_wait_timeout()
416 destroy_timer_on_stack(&wt.timer); in test_wait_timeout()
417 dma_fence_signal(wt.f); in test_wait_timeout()
418 dma_fence_put(wt.f); in test_wait_timeout()