Home
last modified time | relevance | path

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

/Linux-v5.4/lib/
Datomic64_test.c67 #define FETCH_FAMILY_TEST(bit, op, c_op, val) \ macro
128 FETCH_FAMILY_TEST(, fetch_add, +=, onestwos); in test_atomic()
129 FETCH_FAMILY_TEST(, fetch_add, +=, -one); in test_atomic()
130 FETCH_FAMILY_TEST(, fetch_sub, -=, onestwos); in test_atomic()
131 FETCH_FAMILY_TEST(, fetch_sub, -=, -one); in test_atomic()
133 FETCH_FAMILY_TEST(, fetch_or, |=, v1); in test_atomic()
134 FETCH_FAMILY_TEST(, fetch_and, &=, v1); in test_atomic()
135 FETCH_FAMILY_TEST(, fetch_andnot, &= ~, v1); in test_atomic()
136 FETCH_FAMILY_TEST(, fetch_xor, ^=, v1); in test_atomic()
180 FETCH_FAMILY_TEST(64, fetch_add, +=, onestwos); in test_atomic64()
[all …]