Lines Matching refs:v1
111 int v1 = 0xdeadbeef; in test_atomic() local
122 TEST(, or, |=, v1); in test_atomic()
123 TEST(, and, &=, v1); in test_atomic()
124 TEST(, xor, ^=, v1); in test_atomic()
125 TEST(, andnot, &= ~, v1); in test_atomic()
137 FETCH_FAMILY_TEST(, fetch_or, |=, v1); in test_atomic()
138 FETCH_FAMILY_TEST(, fetch_and, &=, v1); in test_atomic()
139 FETCH_FAMILY_TEST(, fetch_andnot, &= ~, v1); in test_atomic()
140 FETCH_FAMILY_TEST(, fetch_xor, ^=, v1); in test_atomic()
145 XCHG_FAMILY_TEST(, v0, v1); in test_atomic()
146 CMPXCHG_FAMILY_TEST(, v0, v1, onestwos); in test_atomic()
154 long long v1 = 0xdeadbeefdeafcafeLL; in test_atomic64() local
165 atomic64_set(&v, v1); in test_atomic64()
166 r = v1; in test_atomic64()
174 TEST(64, or, |=, v1); in test_atomic64()
175 TEST(64, and, &=, v1); in test_atomic64()
176 TEST(64, xor, ^=, v1); in test_atomic64()
177 TEST(64, andnot, &= ~, v1); in test_atomic64()
189 FETCH_FAMILY_TEST(64, fetch_or, |=, v1); in test_atomic64()
190 FETCH_FAMILY_TEST(64, fetch_and, &=, v1); in test_atomic64()
191 FETCH_FAMILY_TEST(64, fetch_andnot, &= ~, v1); in test_atomic64()
192 FETCH_FAMILY_TEST(64, fetch_xor, ^=, v1); in test_atomic64()
207 XCHG_FAMILY_TEST(64, v0, v1); in test_atomic64()
208 CMPXCHG_FAMILY_TEST(64, v0, v1, v2); in test_atomic64()
215 BUG_ON(!atomic64_add_unless(&v, one, v1)); in test_atomic64()