Lines Matching full:one
95 i, (i) + one, (i) + one); \
101 i, (i) - one, (i) - one); \
109 int one = 1; in test_atomic() local
115 TEST(, add, +=, -one); in test_atomic()
117 TEST(, sub, -=, -one); in test_atomic()
124 RETURN_FAMILY_TEST(, add_return, +=, -one); in test_atomic()
126 RETURN_FAMILY_TEST(, sub_return, -=, -one); in test_atomic()
129 FETCH_FAMILY_TEST(, fetch_add, +=, -one); in test_atomic()
131 FETCH_FAMILY_TEST(, fetch_sub, -=, -one); in test_atomic()
154 long long one = 1LL; in test_atomic64() local
167 TEST(64, add, +=, -one); in test_atomic64()
169 TEST(64, sub, -=, -one); in test_atomic64()
176 RETURN_FAMILY_TEST(64, add_return, +=, -one); in test_atomic64()
178 RETURN_FAMILY_TEST(64, sub_return, -=, -one); in test_atomic64()
181 FETCH_FAMILY_TEST(64, fetch_add, +=, -one); in test_atomic64()
183 FETCH_FAMILY_TEST(64, fetch_sub, -=, -one); in test_atomic64()
192 r += one; in test_atomic64()
197 r -= one; in test_atomic64()
207 BUG_ON(atomic64_add_unless(&v, one, v0)); in test_atomic64()
211 BUG_ON(!atomic64_add_unless(&v, one, v1)); in test_atomic64()
212 r += one; in test_atomic64()
217 r -= one; in test_atomic64()
221 BUG_ON(atomic64_dec_if_positive(&v) != -one); in test_atomic64()
224 INIT(-one); in test_atomic64()
225 BUG_ON(atomic64_dec_if_positive(&v) != (-one - one)); in test_atomic64()
230 r += one; in test_atomic64()
237 INIT(-one); in test_atomic64()
239 r += one; in test_atomic64()