Lines Matching full:one
22 long long one = 1LL; in test_atomic64() local
39 atomic64_add(-one, &v); in test_atomic64()
40 r += -one; in test_atomic64()
49 r += -one; in test_atomic64()
50 BUG_ON(atomic64_add_return(-one, &v) != r); in test_atomic64()
59 atomic64_sub(-one, &v); in test_atomic64()
60 r -= -one; in test_atomic64()
69 r -= -one; in test_atomic64()
70 BUG_ON(atomic64_sub_return(-one, &v) != r); in test_atomic64()
75 r += one; in test_atomic64()
79 r += one; in test_atomic64()
85 r -= one; in test_atomic64()
89 r -= one; in test_atomic64()
108 BUG_ON(atomic64_add_unless(&v, one, v0)); in test_atomic64()
112 BUG_ON(!atomic64_add_unless(&v, one, v1)); in test_atomic64()
113 r += one; in test_atomic64()
120 r -= one; in test_atomic64()
124 BUG_ON(atomic64_dec_if_positive(&v) != -one); in test_atomic64()
127 INIT(-one); in test_atomic64()
128 BUG_ON(atomic64_dec_if_positive(&v) != (-one - one)); in test_atomic64()
136 r += one; in test_atomic64()
143 INIT(-one); in test_atomic64()
145 r += one; in test_atomic64()