Lines Matching refs:c_op
36 #define ATOMIC_OP(op, c_op) \ argument
42 while ((old = cmpxchg(&v->counter, c, c c_op i)) != c) \
46 #define ATOMIC_OP_RETURN(op, c_op) \ argument
52 while ((old = cmpxchg(&v->counter, c, c c_op i)) != c) \
55 return c c_op i; \
58 #define ATOMIC_FETCH_OP(op, c_op) \ argument
64 while ((old = cmpxchg(&v->counter, c, c c_op i)) != c) \
74 #define ATOMIC_OP(op, c_op) \ argument
80 v->counter = v->counter c_op i; \
84 #define ATOMIC_OP_RETURN(op, c_op) \ argument
91 ret = (v->counter = v->counter c_op i); \
97 #define ATOMIC_FETCH_OP(op, c_op) \ argument
105 v->counter = v->counter c_op i; \