Lines Matching refs:witness_tsdn
58 witness_tsdn_t witness_tsdn = { WITNESS_TSD_INITIALIZER }; in TEST_BEGIN() local
62 witness_assert_lockless(&witness_tsdn); in TEST_BEGIN()
63 witness_assert_depth(&witness_tsdn, 0); in TEST_BEGIN()
64 witness_assert_depth_to_rank(&witness_tsdn, (witness_rank_t)1U, 0); in TEST_BEGIN()
67 witness_assert_not_owner(&witness_tsdn, &a); in TEST_BEGIN()
68 witness_lock(&witness_tsdn, &a); in TEST_BEGIN()
69 witness_assert_owner(&witness_tsdn, &a); in TEST_BEGIN()
70 witness_assert_depth(&witness_tsdn, 1); in TEST_BEGIN()
71 witness_assert_depth_to_rank(&witness_tsdn, (witness_rank_t)1U, 1); in TEST_BEGIN()
72 witness_assert_depth_to_rank(&witness_tsdn, (witness_rank_t)2U, 0); in TEST_BEGIN()
75 witness_assert_not_owner(&witness_tsdn, &b); in TEST_BEGIN()
76 witness_lock(&witness_tsdn, &b); in TEST_BEGIN()
77 witness_assert_owner(&witness_tsdn, &b); in TEST_BEGIN()
78 witness_assert_depth(&witness_tsdn, 2); in TEST_BEGIN()
79 witness_assert_depth_to_rank(&witness_tsdn, (witness_rank_t)1U, 2); in TEST_BEGIN()
80 witness_assert_depth_to_rank(&witness_tsdn, (witness_rank_t)2U, 1); in TEST_BEGIN()
81 witness_assert_depth_to_rank(&witness_tsdn, (witness_rank_t)3U, 0); in TEST_BEGIN()
83 witness_unlock(&witness_tsdn, &a); in TEST_BEGIN()
84 witness_assert_depth(&witness_tsdn, 1); in TEST_BEGIN()
85 witness_assert_depth_to_rank(&witness_tsdn, (witness_rank_t)1U, 1); in TEST_BEGIN()
86 witness_assert_depth_to_rank(&witness_tsdn, (witness_rank_t)2U, 1); in TEST_BEGIN()
87 witness_assert_depth_to_rank(&witness_tsdn, (witness_rank_t)3U, 0); in TEST_BEGIN()
88 witness_unlock(&witness_tsdn, &b); in TEST_BEGIN()
90 witness_assert_lockless(&witness_tsdn); in TEST_BEGIN()
91 witness_assert_depth(&witness_tsdn, 0); in TEST_BEGIN()
92 witness_assert_depth_to_rank(&witness_tsdn, (witness_rank_t)1U, 0); in TEST_BEGIN()
98 witness_tsdn_t witness_tsdn = { WITNESS_TSD_INITIALIZER }; in TEST_BEGIN() local
102 witness_assert_lockless(&witness_tsdn); in TEST_BEGIN()
105 witness_assert_not_owner(&witness_tsdn, &a); in TEST_BEGIN()
106 witness_lock(&witness_tsdn, &a); in TEST_BEGIN()
107 witness_assert_owner(&witness_tsdn, &a); in TEST_BEGIN()
108 witness_assert_depth(&witness_tsdn, 1); in TEST_BEGIN()
111 witness_assert_not_owner(&witness_tsdn, &b); in TEST_BEGIN()
112 witness_lock(&witness_tsdn, &b); in TEST_BEGIN()
113 witness_assert_owner(&witness_tsdn, &b); in TEST_BEGIN()
114 witness_assert_depth(&witness_tsdn, 2); in TEST_BEGIN()
115 witness_unlock(&witness_tsdn, &b); in TEST_BEGIN()
116 witness_assert_depth(&witness_tsdn, 1); in TEST_BEGIN()
123 witness_assert_not_owner(&witness_tsdn, &c); in TEST_BEGIN()
125 witness_lock(&witness_tsdn, &c); in TEST_BEGIN()
127 witness_unlock(&witness_tsdn, &c); in TEST_BEGIN()
128 witness_assert_depth(&witness_tsdn, 1); in TEST_BEGIN()
133 witness_assert_not_owner(&witness_tsdn, &d); in TEST_BEGIN()
135 witness_lock(&witness_tsdn, &d); in TEST_BEGIN()
137 witness_unlock(&witness_tsdn, &d); in TEST_BEGIN()
138 witness_assert_depth(&witness_tsdn, 1); in TEST_BEGIN()
140 witness_unlock(&witness_tsdn, &a); in TEST_BEGIN()
142 witness_assert_lockless(&witness_tsdn); in TEST_BEGIN()
150 witness_tsdn_t witness_tsdn = { WITNESS_TSD_INITIALIZER }; in TEST_BEGIN() local
158 witness_assert_lockless(&witness_tsdn); in TEST_BEGIN()
163 witness_lock(&witness_tsdn, &b); in TEST_BEGIN()
164 witness_assert_depth(&witness_tsdn, 1); in TEST_BEGIN()
166 witness_lock(&witness_tsdn, &a); in TEST_BEGIN()
169 witness_unlock(&witness_tsdn, &a); in TEST_BEGIN()
170 witness_assert_depth(&witness_tsdn, 1); in TEST_BEGIN()
171 witness_unlock(&witness_tsdn, &b); in TEST_BEGIN()
173 witness_assert_lockless(&witness_tsdn); in TEST_BEGIN()
181 witness_tsdn_t witness_tsdn = { WITNESS_TSD_INITIALIZER }; in TEST_BEGIN() local
193 witness_assert_lockless(&witness_tsdn); in TEST_BEGIN()
197 witness_lock(&witness_tsdn, &a); in TEST_BEGIN()
200 witness_lock(&witness_tsdn, &a); in TEST_BEGIN()
204 witness_unlock(&witness_tsdn, &a); in TEST_BEGIN()
206 witness_assert_lockless(&witness_tsdn); in TEST_BEGIN()
216 witness_tsdn_t witness_tsdn = { WITNESS_TSD_INITIALIZER }; in TEST_BEGIN() local
224 witness_assert_lockless(&witness_tsdn); in TEST_BEGIN()
229 witness_unlock(&witness_tsdn, &a); in TEST_BEGIN()
232 witness_assert_lockless(&witness_tsdn); in TEST_BEGIN()
240 witness_tsdn_t witness_tsdn = { WITNESS_TSD_INITIALIZER }; in TEST_BEGIN() local
248 witness_assert_lockless(&witness_tsdn); in TEST_BEGIN()
249 witness_assert_depth(&witness_tsdn, 0); in TEST_BEGIN()
254 witness_assert_lockless(&witness_tsdn); in TEST_BEGIN()
255 witness_assert_depth(&witness_tsdn, 0); in TEST_BEGIN()
257 witness_lock(&witness_tsdn, &a); in TEST_BEGIN()
258 witness_assert_lockless(&witness_tsdn); in TEST_BEGIN()
259 witness_assert_depth(&witness_tsdn, 0); in TEST_BEGIN()
262 witness_unlock(&witness_tsdn, &a); in TEST_BEGIN()
264 witness_assert_lockless(&witness_tsdn); in TEST_BEGIN()
265 witness_assert_depth(&witness_tsdn, 0); in TEST_BEGIN()