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);
163 BUG_ON(v.counter != r);
164 BUG_ON(atomic64_read(&v) != r);
193 BUG_ON(v.counter != r);
198 BUG_ON(v.counter != r);
207 BUG_ON(atomic64_add_unless(&v, one, v0));
208 BUG_ON(v.counter != r);
211 BUG_ON(!atomic64_add_unless(&v, one, v1));
213 BUG_ON(v.counter != r);
216 BUG_ON(atomic64_dec_if_positive(&v) != (onestwos - 1));
218 BUG_ON(v.counter != r);
221 BUG_ON(atomic64_dec_if_positive(&v) != -one);
222 BUG_ON(v.counter != r);
225 BUG_ON(atomic64_dec_if_positive(&v) != (-one - one));
226 BUG_ON(v.counter != r);
229 BUG_ON(!atomic64_inc_not_zero(&v));
231 BUG_ON(v.counter != r);
234 BUG_ON(atomic64_inc_not_zero(&v));
235 BUG_ON(v.counter != r);
238 BUG_ON(!atomic64_inc_not_zero(&v));
240 BUG_ON(v.counter != r);
245 BUG_ON(!r_int);