Lines Matching refs:c
45 int c, old; \
47 c = v->counter; \
48 while ((old = cmpxchg(&v->counter, c, c c_op i)) != c) \
49 c = old; \
55 int c, old; \
57 c = v->counter; \
58 while ((old = cmpxchg(&v->counter, c, c c_op i)) != c) \
59 c = old; \
61 return c c_op i; \
180 int c, old; in __atomic_add_unless() local
181 c = atomic_read(v); in __atomic_add_unless()
182 while (c != u && (old = atomic_cmpxchg(v, c, c + a)) != c) in __atomic_add_unless()
183 c = old; in __atomic_add_unless()
184 return c; in __atomic_add_unless()