Lines Matching refs:one
26 long long one = 1LL; in test_atomic64() local
43 atomic64_add(-one, &v); in test_atomic64()
44 r += -one; in test_atomic64()
53 r += -one; in test_atomic64()
54 BUG_ON(atomic64_add_return(-one, &v) != r); in test_atomic64()
63 atomic64_sub(-one, &v); in test_atomic64()
64 r -= -one; in test_atomic64()
73 r -= -one; in test_atomic64()
74 BUG_ON(atomic64_sub_return(-one, &v) != r); in test_atomic64()
79 r += one; in test_atomic64()
83 r += one; in test_atomic64()
89 r -= one; in test_atomic64()
93 r -= one; in test_atomic64()
112 BUG_ON(atomic64_add_unless(&v, one, v0)); in test_atomic64()
116 BUG_ON(!atomic64_add_unless(&v, one, v1)); in test_atomic64()
117 r += one; in test_atomic64()
123 r -= one; in test_atomic64()
127 BUG_ON(atomic64_dec_if_positive(&v) != -one); in test_atomic64()
130 INIT(-one); in test_atomic64()
131 BUG_ON(atomic64_dec_if_positive(&v) != (-one - one)); in test_atomic64()
139 r += one; in test_atomic64()
146 INIT(-one); in test_atomic64()
148 r += one; in test_atomic64()