Lines Matching refs:BUG_ON
49 BUG_ON(atomic##bit##_##op(val, &v) != r); \
50 BUG_ON(atomic##bit##_read(&v) != r); \
58 BUG_ON(atomic##bit##_##op(val, &v) != v0); \
59 BUG_ON(atomic##bit##_read(&v) != r); \
75 BUG_ON(atomic##bit##_##op(&v, ##args) != ret); \
76 BUG_ON(atomic##bit##_read(&v) != expect); \
159 BUG_ON(v.counter != r); in test_atomic64()
163 BUG_ON(v.counter != r); in test_atomic64()
164 BUG_ON(atomic64_read(&v) != r); in test_atomic64()
193 BUG_ON(v.counter != r); in test_atomic64()
198 BUG_ON(v.counter != r); in test_atomic64()
207 BUG_ON(atomic64_add_unless(&v, one, v0)); in test_atomic64()
208 BUG_ON(v.counter != r); in test_atomic64()
211 BUG_ON(!atomic64_add_unless(&v, one, v1)); in test_atomic64()
213 BUG_ON(v.counter != r); in test_atomic64()
216 BUG_ON(atomic64_dec_if_positive(&v) != (onestwos - 1)); in test_atomic64()
218 BUG_ON(v.counter != r); in test_atomic64()
221 BUG_ON(atomic64_dec_if_positive(&v) != -one); in test_atomic64()
222 BUG_ON(v.counter != r); in test_atomic64()
225 BUG_ON(atomic64_dec_if_positive(&v) != (-one - one)); in test_atomic64()
226 BUG_ON(v.counter != r); in test_atomic64()
229 BUG_ON(!atomic64_inc_not_zero(&v)); in test_atomic64()
231 BUG_ON(v.counter != r); in test_atomic64()
234 BUG_ON(atomic64_inc_not_zero(&v)); in test_atomic64()
235 BUG_ON(v.counter != r); in test_atomic64()
238 BUG_ON(!atomic64_inc_not_zero(&v)); in test_atomic64()
240 BUG_ON(v.counter != r); in test_atomic64()
245 BUG_ON(!r_int); in test_atomic64()