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)
327 #define ATOMIC64_OP(op, c_op, asm_op) \ argument
328 static __inline__ void atomic64_##op(long i, atomic64_t * v) \
335 "1: lld %0, %1 # atomic64_" #op " \n" \
348 " lld %0, %1 # atomic64_" #op "\n" \
364 #define ATOMIC64_OP_RETURN(op, c_op, asm_op) \ argument
365 static __inline__ long atomic64_##op##_return(long i, atomic64_t * v) \
376 "1: lld %1, %2 # atomic64_" #op "_return\n" \
391 " lld %1, %2 # atomic64_" #op "_return\n" \
417 #define ATOMIC64_OPS(op, c_op, asm_op) \ argument
418 ATOMIC64_OP(op, c_op, asm_op) \
419 ATOMIC64_OP_RETURN(op, c_op, asm_op)