Lines Matching refs:op
44 #define ATOMIC_OP(op, c_op, asm_op) \ argument
45 static __inline__ void atomic_##op(int i, atomic_t * v) \
52 "1: ll %0, %1 # atomic_" #op " \n" \
65 " ll %0, %1 # atomic_" #op "\n" \
81 #define ATOMIC_OP_RETURN(op, c_op, asm_op) \ argument
82 static __inline__ int atomic_##op##_return(int i, atomic_t * v) \
93 "1: ll %1, %2 # atomic_" #op "_return \n" \
108 " ll %1, %2 # atomic_" #op "_return \n" \
133 #define ATOMIC_OPS(op, c_op, asm_op) \ argument
134 ATOMIC_OP(op, c_op, asm_op) \
135 ATOMIC_OP_RETURN(op, c_op, asm_op)
323 #define ATOMIC64_OP(op, c_op, asm_op) \ argument
324 static __inline__ void atomic64_##op(long i, atomic64_t * v) \
331 "1: lld %0, %1 # atomic64_" #op " \n" \
344 " lld %0, %1 # atomic64_" #op "\n" \
360 #define ATOMIC64_OP_RETURN(op, c_op, asm_op) \ argument
361 static __inline__ long atomic64_##op##_return(long i, atomic64_t * v) \
372 "1: lld %1, %2 # atomic64_" #op "_return\n" \
387 " lld %1, %2 # atomic64_" #op "_return\n" \
413 #define ATOMIC64_OPS(op, c_op, asm_op) \ argument
414 ATOMIC64_OP(op, c_op, asm_op) \
415 ATOMIC64_OP_RETURN(op, c_op, asm_op)