Lines Matching refs:v0
22 atomic##bit##_set(&v, v0); \
23 r = v0; \
46 atomic##bit##_set(&v, v0); \
47 r = v0; \
55 atomic##bit##_set(&v, v0); \
56 r = v0; \
58 BUG_ON(atomic##bit##_##op(val, &v) != v0); \
106 int v0 = 0xaaa31337; in test_atomic() local
138 INC_RETURN_FAMILY_TEST(, v0); in test_atomic()
139 DEC_RETURN_FAMILY_TEST(, v0); in test_atomic()
141 XCHG_FAMILY_TEST(, v0, v1); in test_atomic()
142 CMPXCHG_FAMILY_TEST(, v0, v1, onestwos); in test_atomic()
149 long long v0 = 0xaaa31337c001d00dLL; in test_atomic64() local
157 atomic64_t v = ATOMIC64_INIT(v0); in test_atomic64()
158 long long r = v0; in test_atomic64()
190 INIT(v0); in test_atomic64()
195 INIT(v0); in test_atomic64()
200 INC_RETURN_FAMILY_TEST(64, v0); in test_atomic64()
201 DEC_RETURN_FAMILY_TEST(64, v0); in test_atomic64()
203 XCHG_FAMILY_TEST(64, v0, v1); in test_atomic64()
204 CMPXCHG_FAMILY_TEST(64, v0, v1, v2); in test_atomic64()
206 INIT(v0); in test_atomic64()
207 BUG_ON(atomic64_add_unless(&v, one, v0)); in test_atomic64()
210 INIT(v0); in test_atomic64()