Home
last modified time | relevance | path

Searched refs:onestwos (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/lib/
H A Datomic64_test.c108 int onestwos = 0x11112222; in test_atomic() local
114 TEST(, add, +=, onestwos); in test_atomic()
116 TEST(, sub, -=, 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()
215 INIT(onestwos); in test_atomic64()
[all …]