Lines Matching refs:v1
33 int v1 = 0xdeadbeef; in test_atomic() local
44 TEST(, or, |=, v1); in test_atomic()
45 TEST(, and, &=, v1); in test_atomic()
46 TEST(, xor, ^=, v1); in test_atomic()
47 TEST(, andnot, &= ~, v1); in test_atomic()
54 long long v1 = 0xdeadbeefdeafcafeLL; in test_atomic64() local
63 atomic64_set(&v, v1); in test_atomic64()
64 r = v1; in test_atomic64()
72 TEST(64, or, |=, v1); in test_atomic64()
73 TEST(64, and, &=, v1); in test_atomic64()
74 TEST(64, xor, ^=, v1); in test_atomic64()
75 TEST(64, andnot, &= ~, v1); in test_atomic64()
118 BUG_ON(atomic64_xchg(&v, v1) != v0); in test_atomic64()
119 r = v1; in test_atomic64()
123 BUG_ON(atomic64_cmpxchg(&v, v0, v1) != v0); in test_atomic64()
124 r = v1; in test_atomic64()
128 BUG_ON(atomic64_cmpxchg(&v, v2, v1) != v0); in test_atomic64()
136 BUG_ON(!atomic64_add_unless(&v, one, v1)); in test_atomic64()