Lines Matching refs:BUG_ON
27 BUG_ON(v.counter != r); in test_atomic64()
31 BUG_ON(v.counter != r); in test_atomic64()
32 BUG_ON(atomic64_read(&v) != r); in test_atomic64()
37 BUG_ON(v.counter != r); in test_atomic64()
42 BUG_ON(v.counter != r); in test_atomic64()
46 BUG_ON(atomic64_add_return(onestwos, &v) != r); in test_atomic64()
47 BUG_ON(v.counter != r); in test_atomic64()
51 BUG_ON(atomic64_add_return(-one, &v) != r); in test_atomic64()
52 BUG_ON(v.counter != r); in test_atomic64()
57 BUG_ON(v.counter != r); in test_atomic64()
62 BUG_ON(v.counter != r); in test_atomic64()
66 BUG_ON(atomic64_sub_return(onestwos, &v) != r); in test_atomic64()
67 BUG_ON(v.counter != r); in test_atomic64()
71 BUG_ON(atomic64_sub_return(-one, &v) != r); in test_atomic64()
72 BUG_ON(v.counter != r); in test_atomic64()
77 BUG_ON(v.counter != r); in test_atomic64()
81 BUG_ON(atomic64_inc_return(&v) != r); in test_atomic64()
82 BUG_ON(v.counter != r); in test_atomic64()
87 BUG_ON(v.counter != r); in test_atomic64()
91 BUG_ON(atomic64_dec_return(&v) != r); in test_atomic64()
92 BUG_ON(v.counter != r); in test_atomic64()
95 BUG_ON(atomic64_xchg(&v, v1) != v0); in test_atomic64()
97 BUG_ON(v.counter != r); in test_atomic64()
100 BUG_ON(atomic64_cmpxchg(&v, v0, v1) != v0); in test_atomic64()
102 BUG_ON(v.counter != r); in test_atomic64()
105 BUG_ON(atomic64_cmpxchg(&v, v2, v1) != v0); in test_atomic64()
106 BUG_ON(v.counter != r); in test_atomic64()
109 BUG_ON(atomic64_add_unless(&v, one, v0)); in test_atomic64()
110 BUG_ON(v.counter != r); in test_atomic64()
113 BUG_ON(!atomic64_add_unless(&v, one, v1)); in test_atomic64()
115 BUG_ON(v.counter != r); in test_atomic64()
120 BUG_ON(atomic64_dec_if_positive(&v) != (onestwos - 1)); in test_atomic64()
122 BUG_ON(v.counter != r); in test_atomic64()
125 BUG_ON(atomic64_dec_if_positive(&v) != -one); in test_atomic64()
126 BUG_ON(v.counter != r); in test_atomic64()
129 BUG_ON(atomic64_dec_if_positive(&v) != (-one - one)); in test_atomic64()
130 BUG_ON(v.counter != r); in test_atomic64()
136 BUG_ON(!atomic64_inc_not_zero(&v)); in test_atomic64()
138 BUG_ON(v.counter != r); in test_atomic64()
141 BUG_ON(atomic64_inc_not_zero(&v)); in test_atomic64()
142 BUG_ON(v.counter != r); in test_atomic64()
145 BUG_ON(!atomic64_inc_not_zero(&v)); in test_atomic64()
147 BUG_ON(v.counter != r); in test_atomic64()