Lines Matching refs:t
64 static struct ww_acquire_ctx t, t2; variable
1404 I_WW(t); I_WW(t2); I_WW(o.base); I_WW(o2.base); I_WW(o3.base);
1417 memset(&t, 0, sizeof(t)); memset(&t2, 0, sizeof(t2));
1673 WWAI(&t); in ww_test_fail_acquire()
1674 t.stamp++; in ww_test_fail_acquire()
1676 ret = WWL(&o, &t); in ww_test_fail_acquire()
1683 ret = WWL(&o, &t); in ww_test_fail_acquire()
1689 t2 = t; in ww_test_fail_acquire()
1723 WWAI(&t); in ww_test_normal()
1775 ww_mutex_base_lock_nest_lock(&o.base, &t); in ww_test_normal()
1782 WWAI(&t); in ww_test_two_contexts()
1788 WWAI(&t); in ww_test_diff_class()
1790 t.ww_class = NULL; in ww_test_diff_class()
1792 WWL(&o, &t); in ww_test_diff_class()
1797 WWAI(&t); in ww_test_context_done_twice()
1798 WWAD(&t); in ww_test_context_done_twice()
1799 WWAD(&t); in ww_test_context_done_twice()
1800 WWAF(&t); in ww_test_context_done_twice()
1805 WWAI(&t); in ww_test_context_unlock_twice()
1806 WWAD(&t); in ww_test_context_unlock_twice()
1807 WWAF(&t); in ww_test_context_unlock_twice()
1808 WWAF(&t); in ww_test_context_unlock_twice()
1813 WWAI(&t); in ww_test_context_fini_early()
1814 WWL(&o, &t); in ww_test_context_fini_early()
1815 WWAD(&t); in ww_test_context_fini_early()
1816 WWAF(&t); in ww_test_context_fini_early()
1821 WWAI(&t); in ww_test_context_lock_after_done()
1822 WWAD(&t); in ww_test_context_lock_after_done()
1823 WWL(&o, &t); in ww_test_context_lock_after_done()
1835 WWAI(&t); in ww_test_object_lock_unbalanced()
1836 WWL(&o, &t); in ww_test_object_lock_unbalanced()
1837 t.acquired = 0; in ww_test_object_lock_unbalanced()
1839 WWAF(&t); in ww_test_object_lock_unbalanced()
1844 WWAI(&t); in ww_test_object_lock_stale_context()
1846 WWL(&o, &t); in ww_test_object_lock_stale_context()
1857 WWAI(&t); in ww_test_edeadlk_normal()
1858 t2 = t; in ww_test_edeadlk_normal()
1861 ret = WWL(&o, &t); in ww_test_edeadlk_normal()
1864 ret = WWL(&o2, &t); in ww_test_edeadlk_normal()
1872 WWL(&o2, &t); in ww_test_edeadlk_normal()
1883 WWAI(&t); in ww_test_edeadlk_normal_slow()
1884 t2 = t; in ww_test_edeadlk_normal_slow()
1887 ret = WWL(&o, &t); in ww_test_edeadlk_normal_slow()
1890 ret = WWL(&o2, &t); in ww_test_edeadlk_normal_slow()
1898 ww_mutex_lock_slow(&o2, &t); in ww_test_edeadlk_normal_slow()
1909 WWAI(&t); in ww_test_edeadlk_no_unlock()
1910 t2 = t; in ww_test_edeadlk_no_unlock()
1913 ret = WWL(&o, &t); in ww_test_edeadlk_no_unlock()
1916 ret = WWL(&o2, &t); in ww_test_edeadlk_no_unlock()
1923 WWL(&o2, &t); in ww_test_edeadlk_no_unlock()
1934 WWAI(&t); in ww_test_edeadlk_no_unlock_slow()
1935 t2 = t; in ww_test_edeadlk_no_unlock_slow()
1938 ret = WWL(&o, &t); in ww_test_edeadlk_no_unlock_slow()
1941 ret = WWL(&o2, &t); in ww_test_edeadlk_no_unlock_slow()
1948 ww_mutex_lock_slow(&o2, &t); in ww_test_edeadlk_no_unlock_slow()
1959 WWAI(&t); in ww_test_edeadlk_acquire_more()
1960 t2 = t; in ww_test_edeadlk_acquire_more()
1963 ret = WWL(&o, &t); in ww_test_edeadlk_acquire_more()
1966 ret = WWL(&o2, &t); in ww_test_edeadlk_acquire_more()
1969 ret = WWL(&o3, &t); in ww_test_edeadlk_acquire_more()
1980 WWAI(&t); in ww_test_edeadlk_acquire_more_slow()
1981 t2 = t; in ww_test_edeadlk_acquire_more_slow()
1984 ret = WWL(&o, &t); in ww_test_edeadlk_acquire_more_slow()
1987 ret = WWL(&o2, &t); in ww_test_edeadlk_acquire_more_slow()
1990 ww_mutex_lock_slow(&o3, &t); in ww_test_edeadlk_acquire_more_slow()
2005 WWAI(&t); in ww_test_edeadlk_acquire_more_edeadlk()
2006 t2 = t; in ww_test_edeadlk_acquire_more_edeadlk()
2009 ret = WWL(&o, &t); in ww_test_edeadlk_acquire_more_edeadlk()
2012 ret = WWL(&o2, &t); in ww_test_edeadlk_acquire_more_edeadlk()
2015 ret = WWL(&o3, &t); in ww_test_edeadlk_acquire_more_edeadlk()
2031 WWAI(&t); in ww_test_edeadlk_acquire_more_edeadlk_slow()
2032 t2 = t; in ww_test_edeadlk_acquire_more_edeadlk_slow()
2035 ret = WWL(&o, &t); in ww_test_edeadlk_acquire_more_edeadlk_slow()
2038 ret = WWL(&o2, &t); in ww_test_edeadlk_acquire_more_edeadlk_slow()
2041 ww_mutex_lock_slow(&o3, &t); in ww_test_edeadlk_acquire_more_edeadlk_slow()
2052 WWAI(&t); in ww_test_edeadlk_acquire_wrong()
2053 t2 = t; in ww_test_edeadlk_acquire_wrong()
2056 ret = WWL(&o, &t); in ww_test_edeadlk_acquire_wrong()
2059 ret = WWL(&o2, &t); in ww_test_edeadlk_acquire_wrong()
2066 ret = WWL(&o3, &t); in ww_test_edeadlk_acquire_wrong()
2077 WWAI(&t); in ww_test_edeadlk_acquire_wrong_slow()
2078 t2 = t; in ww_test_edeadlk_acquire_wrong_slow()
2081 ret = WWL(&o, &t); in ww_test_edeadlk_acquire_wrong_slow()
2084 ret = WWL(&o2, &t); in ww_test_edeadlk_acquire_wrong_slow()
2091 ww_mutex_lock_slow(&o3, &t); in ww_test_edeadlk_acquire_wrong_slow()
2115 WWAI(&t); in ww_test_unneeded_slow()
2117 ww_mutex_lock_slow(&o, &t); in ww_test_unneeded_slow()
2124 WWAI(&t); in ww_test_context_block()
2126 ret = WWL(&o, &t); in ww_test_context_block()
2135 WWAI(&t); in ww_test_context_try()
2137 ret = WWL(&o, &t); in ww_test_context_try()
2150 WWAI(&t); in ww_test_context_context()
2152 ret = WWL(&o, &t); in ww_test_context_context()
2155 ret = WWL(&o2, &t); in ww_test_context_context()
2193 WWAI(&t); in ww_test_try_context()
2195 ret = WWL(&o2, &t); in ww_test_try_context()
2219 WWAI(&t); in ww_test_block_context()
2221 ret = WWL(&o2, &t); in ww_test_block_context()
2268 WWAI(&t); in ww_test_spin_context()
2270 ret = WWL(&o, &t); in ww_test_spin_context()
2277 ret = WWL(&o, &t); in ww_test_spin_context()