Lines Matching refs:I
54 #define ATOMIC_OP(op, asm_op, I, asm_type, c_type, prefix) \ argument
61 : "r" (I) \
66 #define ATOMIC_OPS(op, asm_op, I) \ argument
67 ATOMIC_OP (op, asm_op, I, w, int, )
69 #define ATOMIC_OPS(op, asm_op, I) \ argument
70 ATOMIC_OP (op, asm_op, I, w, int, ) \
71 ATOMIC_OP (op, asm_op, I, d, s64, 64)
88 #define ATOMIC_FETCH_OP(op, asm_op, I, asm_type, c_type, prefix) \ in ATOMIC_OPS() argument
97 : "r" (I) \ in ATOMIC_OPS()
108 : "r" (I) \
113 #define ATOMIC_OP_RETURN(op, asm_op, c_op, I, asm_type, c_type, prefix) \ argument
118 return arch_atomic##prefix##_fetch_##op##_relaxed(i, v) c_op I; \
123 return arch_atomic##prefix##_fetch_##op(i, v) c_op I; \
127 #define ATOMIC_OPS(op, asm_op, c_op, I) \ argument
128 ATOMIC_FETCH_OP( op, asm_op, I, w, int, ) \
129 ATOMIC_OP_RETURN(op, asm_op, c_op, I, w, int, )
131 #define ATOMIC_OPS(op, asm_op, c_op, I) \
132 ATOMIC_FETCH_OP( op, asm_op, I, w, int, ) \
133 ATOMIC_OP_RETURN(op, asm_op, c_op, I, w, int, ) \
134 ATOMIC_FETCH_OP( op, asm_op, I, d, s64, 64) \
135 ATOMIC_OP_RETURN(op, asm_op, c_op, I, d, s64, 64)
166 #define ATOMIC_OPS(op, asm_op, I) \ argument
167 ATOMIC_FETCH_OP(op, asm_op, I, w, int, )
169 #define ATOMIC_OPS(op, asm_op, I) \
170 ATOMIC_FETCH_OP(op, asm_op, I, w, int, ) \
171 ATOMIC_FETCH_OP(op, asm_op, I, d, s64, 64)