Lines Matching refs:BUG_ON
61 BUG_ON(v.counter != r); in test_atomic64()
65 BUG_ON(v.counter != r); in test_atomic64()
66 BUG_ON(atomic64_read(&v) != r); in test_atomic64()
79 BUG_ON(atomic64_add_return(onestwos, &v) != r); in test_atomic64()
80 BUG_ON(v.counter != r); in test_atomic64()
84 BUG_ON(atomic64_add_return(-one, &v) != r); in test_atomic64()
85 BUG_ON(v.counter != r); in test_atomic64()
89 BUG_ON(atomic64_sub_return(onestwos, &v) != r); in test_atomic64()
90 BUG_ON(v.counter != r); in test_atomic64()
94 BUG_ON(atomic64_sub_return(-one, &v) != r); in test_atomic64()
95 BUG_ON(v.counter != r); in test_atomic64()
100 BUG_ON(v.counter != r); in test_atomic64()
104 BUG_ON(atomic64_inc_return(&v) != r); in test_atomic64()
105 BUG_ON(v.counter != r); in test_atomic64()
110 BUG_ON(v.counter != r); in test_atomic64()
114 BUG_ON(atomic64_dec_return(&v) != r); in test_atomic64()
115 BUG_ON(v.counter != r); in test_atomic64()
118 BUG_ON(atomic64_xchg(&v, v1) != v0); in test_atomic64()
120 BUG_ON(v.counter != r); in test_atomic64()
123 BUG_ON(atomic64_cmpxchg(&v, v0, v1) != v0); in test_atomic64()
125 BUG_ON(v.counter != r); in test_atomic64()
128 BUG_ON(atomic64_cmpxchg(&v, v2, v1) != v0); in test_atomic64()
129 BUG_ON(v.counter != r); in test_atomic64()
132 BUG_ON(atomic64_add_unless(&v, one, v0)); in test_atomic64()
133 BUG_ON(v.counter != r); in test_atomic64()
136 BUG_ON(!atomic64_add_unless(&v, one, v1)); in test_atomic64()
138 BUG_ON(v.counter != r); in test_atomic64()
142 BUG_ON(atomic64_dec_if_positive(&v) != (onestwos - 1)); in test_atomic64()
144 BUG_ON(v.counter != r); in test_atomic64()
147 BUG_ON(atomic64_dec_if_positive(&v) != -one); in test_atomic64()
148 BUG_ON(v.counter != r); in test_atomic64()
151 BUG_ON(atomic64_dec_if_positive(&v) != (-one - one)); in test_atomic64()
152 BUG_ON(v.counter != r); in test_atomic64()
158 BUG_ON(!atomic64_inc_not_zero(&v)); in test_atomic64()
160 BUG_ON(v.counter != r); in test_atomic64()
163 BUG_ON(atomic64_inc_not_zero(&v)); in test_atomic64()
164 BUG_ON(v.counter != r); in test_atomic64()
167 BUG_ON(!atomic64_inc_not_zero(&v)); in test_atomic64()
169 BUG_ON(v.counter != r); in test_atomic64()