Lines Matching refs:v1
107 int v1 = 0xdeadbeef; in test_atomic() local
118 TEST(, or, |=, v1); in test_atomic()
119 TEST(, and, &=, v1); in test_atomic()
120 TEST(, xor, ^=, v1); in test_atomic()
121 TEST(, andnot, &= ~, v1); 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()
141 XCHG_FAMILY_TEST(, v0, v1); in test_atomic()
142 CMPXCHG_FAMILY_TEST(, v0, v1, onestwos); in test_atomic()
150 long long v1 = 0xdeadbeefdeafcafeLL; in test_atomic64() local
161 atomic64_set(&v, v1); in test_atomic64()
162 r = v1; in test_atomic64()
170 TEST(64, or, |=, v1); in test_atomic64()
171 TEST(64, and, &=, v1); in test_atomic64()
172 TEST(64, xor, ^=, v1); in test_atomic64()
173 TEST(64, andnot, &= ~, v1); in test_atomic64()
185 FETCH_FAMILY_TEST(64, fetch_or, |=, v1); in test_atomic64()
186 FETCH_FAMILY_TEST(64, fetch_and, &=, v1); in test_atomic64()
187 FETCH_FAMILY_TEST(64, fetch_andnot, &= ~, v1); in test_atomic64()
188 FETCH_FAMILY_TEST(64, fetch_xor, ^=, v1); in test_atomic64()
203 XCHG_FAMILY_TEST(64, v0, v1); in test_atomic64()
204 CMPXCHG_FAMILY_TEST(64, v0, v1, v2); in test_atomic64()
211 BUG_ON(!atomic64_add_unless(&v, one, v1)); in test_atomic64()