Lines Matching refs:onestwos
108 int onestwos = 0x11112222; in test_atomic() local
114 TEST(, add, +=, onestwos); in test_atomic()
116 TEST(, sub, -=, onestwos); in test_atomic()
123 RETURN_FAMILY_TEST(, add_return, +=, onestwos); in test_atomic()
125 RETURN_FAMILY_TEST(, sub_return, -=, onestwos); in test_atomic()
128 FETCH_FAMILY_TEST(, fetch_add, +=, onestwos); in test_atomic()
130 FETCH_FAMILY_TEST(, fetch_sub, -=, onestwos); in test_atomic()
142 CMPXCHG_FAMILY_TEST(, v0, v1, onestwos); in test_atomic()
153 long long onestwos = 0x1111111122222222LL; in test_atomic64() local
166 TEST(64, add, +=, onestwos); in test_atomic64()
168 TEST(64, sub, -=, onestwos); in test_atomic64()
175 RETURN_FAMILY_TEST(64, add_return, +=, onestwos); in test_atomic64()
177 RETURN_FAMILY_TEST(64, sub_return, -=, onestwos); in test_atomic64()
180 FETCH_FAMILY_TEST(64, fetch_add, +=, onestwos); in test_atomic64()
182 FETCH_FAMILY_TEST(64, fetch_sub, -=, onestwos); in test_atomic64()
215 INIT(onestwos); in test_atomic64()
216 BUG_ON(atomic64_dec_if_positive(&v) != (onestwos - 1)); in test_atomic64()
228 INIT(onestwos); in test_atomic64()