Lines Matching refs:op
20 #define TEST(bit, op, c_op, val) \ argument
24 atomic##bit##_##op(val, &v); \
36 #define FAMILY_TEST(test, bit, op, args...) \ argument
38 test(bit, op, ##args); \
39 test(bit, op##_acquire, ##args); \
40 test(bit, op##_release, ##args); \
41 test(bit, op##_relaxed, ##args); \
44 #define TEST_RETURN(bit, op, c_op, val) \ argument
49 BUG_ON(atomic##bit##_##op(val, &v) != r); \
53 #define TEST_FETCH(bit, op, c_op, val) \ argument
58 BUG_ON(atomic##bit##_##op(val, &v) != v0); \
62 #define RETURN_FAMILY_TEST(bit, op, c_op, val) \ argument
64 FAMILY_TEST(TEST_RETURN, bit, op, c_op, val); \
67 #define FETCH_FAMILY_TEST(bit, op, c_op, val) \ argument
69 FAMILY_TEST(TEST_FETCH, bit, op, c_op, val); \
72 #define TEST_ARGS(bit, op, init, ret, expect, args...) \ argument
75 BUG_ON(atomic##bit##_##op(&v, ##args) != ret); \