Lines Matching refs:onestwos
112 int onestwos = 0x11112222; in test_atomic() local
118 TEST(, add, +=, onestwos); in test_atomic()
120 TEST(, sub, -=, onestwos); in test_atomic()
127 RETURN_FAMILY_TEST(, add_return, +=, onestwos); in test_atomic()
129 RETURN_FAMILY_TEST(, sub_return, -=, onestwos); in test_atomic()
132 FETCH_FAMILY_TEST(, fetch_add, +=, onestwos); in test_atomic()
134 FETCH_FAMILY_TEST(, fetch_sub, -=, onestwos); in test_atomic()
146 CMPXCHG_FAMILY_TEST(, v0, v1, onestwos); in test_atomic()
157 long long onestwos = 0x1111111122222222LL; in test_atomic64() local
170 TEST(64, add, +=, onestwos); in test_atomic64()
172 TEST(64, sub, -=, onestwos); in test_atomic64()
179 RETURN_FAMILY_TEST(64, add_return, +=, onestwos); in test_atomic64()
181 RETURN_FAMILY_TEST(64, sub_return, -=, onestwos); in test_atomic64()
184 FETCH_FAMILY_TEST(64, fetch_add, +=, onestwos); in test_atomic64()
186 FETCH_FAMILY_TEST(64, fetch_sub, -=, onestwos); in test_atomic64()
219 INIT(onestwos); in test_atomic64()
220 BUG_ON(atomic64_dec_if_positive(&v) != (onestwos - 1)); in test_atomic64()
232 INIT(onestwos); in test_atomic64()