Lines Matching refs:BUG_ON
53 BUG_ON(atomic##bit##_##op(val, &v) != r); \
54 BUG_ON(atomic##bit##_read(&v) != r); \
62 BUG_ON(atomic##bit##_##op(val, &v) != v0); \
63 BUG_ON(atomic##bit##_read(&v) != r); \
79 BUG_ON(atomic##bit##_##op(&v, ##args) != ret); \
80 BUG_ON(atomic##bit##_read(&v) != expect); \
163 BUG_ON(v.counter != r); in test_atomic64()
167 BUG_ON(v.counter != r); in test_atomic64()
168 BUG_ON(atomic64_read(&v) != r); in test_atomic64()
197 BUG_ON(v.counter != r); in test_atomic64()
202 BUG_ON(v.counter != r); in test_atomic64()
211 BUG_ON(atomic64_add_unless(&v, one, v0)); in test_atomic64()
212 BUG_ON(v.counter != r); in test_atomic64()
215 BUG_ON(!atomic64_add_unless(&v, one, v1)); in test_atomic64()
217 BUG_ON(v.counter != r); in test_atomic64()
220 BUG_ON(atomic64_dec_if_positive(&v) != (onestwos - 1)); in test_atomic64()
222 BUG_ON(v.counter != r); in test_atomic64()
225 BUG_ON(atomic64_dec_if_positive(&v) != -one); in test_atomic64()
226 BUG_ON(v.counter != r); in test_atomic64()
229 BUG_ON(atomic64_dec_if_positive(&v) != (-one - one)); in test_atomic64()
230 BUG_ON(v.counter != r); in test_atomic64()
233 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()
239 BUG_ON(v.counter != r); in test_atomic64()
242 BUG_ON(!atomic64_inc_not_zero(&v)); in test_atomic64()
244 BUG_ON(v.counter != r); in test_atomic64()
249 BUG_ON(!r_int); in test_atomic64()