Home
last modified time | relevance | path

Searched refs:ATOMIC_FETCH_OP (Results 1 – 23 of 23) sorted by relevance

/kernel/linux/linux-5.10/arch/openrisc/include/asm/
Datomic.h51 #define ATOMIC_FETCH_OP(op) \ macro
72 ATOMIC_FETCH_OP(add) in ATOMIC_OP_RETURN()
73 ATOMIC_FETCH_OP(sub) in ATOMIC_OP_RETURN()
74 ATOMIC_FETCH_OP(and) in ATOMIC_OP_RETURN()
75 ATOMIC_FETCH_OP(or) in ATOMIC_OP_RETURN()
76 ATOMIC_FETCH_OP(xor) in ATOMIC_OP_RETURN()
82 #undef ATOMIC_FETCH_OP in ATOMIC_OP_RETURN()
/kernel/linux/linux-5.10/arch/csky/include/asm/
Datomic.h73 #define ATOMIC_FETCH_OP(op, c_op) \ macro
160 #define ATOMIC_FETCH_OP(op, c_op) \ macro
189 ATOMIC_FETCH_OP(add, +)
191 ATOMIC_FETCH_OP(sub, -)
193 ATOMIC_FETCH_OP(and, &)
195 ATOMIC_FETCH_OP(or, |)
197 ATOMIC_FETCH_OP(xor, ^)
206 #undef ATOMIC_FETCH_OP
/kernel/linux/linux-5.10/include/asm-generic/
Datomic.h58 #define ATOMIC_FETCH_OP(op, c_op) \ macro
97 #define ATOMIC_FETCH_OP(op, c_op) \ macro
122 ATOMIC_FETCH_OP(add, +)
126 ATOMIC_FETCH_OP(sub, -)
130 ATOMIC_FETCH_OP(and, &)
134 ATOMIC_FETCH_OP(or, |)
138 ATOMIC_FETCH_OP(xor, ^)
153 #undef ATOMIC_FETCH_OP
/kernel/linux/linux-5.10/arch/sh/include/asm/
Datomic-grb.h47 #define ATOMIC_FETCH_OP(op) \ macro
69 #define ATOMIC_OPS(op) ATOMIC_OP(op) ATOMIC_OP_RETURN(op) ATOMIC_FETCH_OP(op)
75 #define ATOMIC_OPS(op) ATOMIC_OP(op) ATOMIC_FETCH_OP(op)
82 #undef ATOMIC_FETCH_OP
Datomic-llsc.h52 #define ATOMIC_FETCH_OP(op) \ macro
71 #define ATOMIC_OPS(op) ATOMIC_OP(op) ATOMIC_OP_RETURN(op) ATOMIC_FETCH_OP(op)
77 #define ATOMIC_OPS(op) ATOMIC_OP(op) ATOMIC_FETCH_OP(op)
84 #undef ATOMIC_FETCH_OP
Datomic-irq.h37 #define ATOMIC_FETCH_OP(op, c_op) \ macro
53 ATOMIC_FETCH_OP(op, c_op)
61 ATOMIC_FETCH_OP(op, c_op)
68 #undef ATOMIC_FETCH_OP
/kernel/linux/linux-5.10/arch/arm64/include/asm/
Datomic_ll_sc.h63 #define ATOMIC_FETCH_OP(name, mb, acq, rel, cl, op, asm_op, constraint) \ macro
90 ATOMIC_FETCH_OP ( , dmb ish, , l, "memory", __VA_ARGS__)\
91 ATOMIC_FETCH_OP (_relaxed, , , , , __VA_ARGS__)\
92 ATOMIC_FETCH_OP (_acquire, , a, , "memory", __VA_ARGS__)\
93 ATOMIC_FETCH_OP (_release, , , l, "memory", __VA_ARGS__)
101 ATOMIC_FETCH_OP ( , dmb ish, , l, "memory", __VA_ARGS__)\ in ATOMIC_OPS()
102 ATOMIC_FETCH_OP (_relaxed, , , , , __VA_ARGS__)\ in ATOMIC_OPS()
103 ATOMIC_FETCH_OP (_acquire, , a, , "memory", __VA_ARGS__)\ in ATOMIC_OPS()
104 ATOMIC_FETCH_OP (_release, , , l, "memory", __VA_ARGS__) in ATOMIC_OPS()
117 #undef ATOMIC_FETCH_OP in ATOMIC_OPS()
Datomic.h34 #define ATOMIC_FETCH_OP(name, op) \ in ATOMIC_OP() macro
41 ATOMIC_FETCH_OP(_relaxed, op) \
42 ATOMIC_FETCH_OP(_acquire, op) \
43 ATOMIC_FETCH_OP(_release, op) \
44 ATOMIC_FETCH_OP( , op)
55 #undef ATOMIC_FETCH_OP
Datomic_lse.h30 #define ATOMIC_FETCH_OP(name, mb, op, asm_op, cl...) \ in ATOMIC_OP() macro
44 ATOMIC_FETCH_OP(_relaxed, , op, asm_op) \
45 ATOMIC_FETCH_OP(_acquire, a, op, asm_op, "memory") \
46 ATOMIC_FETCH_OP(_release, l, op, asm_op, "memory") \
47 ATOMIC_FETCH_OP( , al, op, asm_op, "memory")
54 #undef ATOMIC_FETCH_OP
/kernel/linux/linux-5.10/arch/xtensa/include/asm/
Datomic.h97 #define ATOMIC_FETCH_OP(op) \ macro
159 #define ATOMIC_FETCH_OP(op) \ macro
220 #define ATOMIC_FETCH_OP(op) \ macro
243 #define ATOMIC_OPS(op) ATOMIC_OP(op) ATOMIC_FETCH_OP(op) ATOMIC_OP_RETURN(op)
249 #define ATOMIC_OPS(op) ATOMIC_OP(op) ATOMIC_FETCH_OP(op)
256 #undef ATOMIC_FETCH_OP
/kernel/linux/linux-5.10/arch/sparc/lib/
Datomic_64.S51 #define ATOMIC_FETCH_OP(op) \ macro
68 ATOMIC_FETCH_OP(add)
72 ATOMIC_FETCH_OP(sub)
75 ATOMIC_FETCH_OP(and)
78 ATOMIC_FETCH_OP(or)
81 ATOMIC_FETCH_OP(xor)
83 #undef ATOMIC_FETCH_OP
Datomic32.c31 #define ATOMIC_FETCH_OP(op, c_op) \ macro
62 ATOMIC_FETCH_OP(add, +=)
63 ATOMIC_FETCH_OP(and, &=)
64 ATOMIC_FETCH_OP(or, |=)
65 ATOMIC_FETCH_OP(xor, ^=)
67 #undef ATOMIC_FETCH_OP
/kernel/linux/linux-5.10/arch/sparc/include/asm/
Datomic_64.h31 #define ATOMIC_FETCH_OP(op) \ macro
35 #define ATOMIC_OPS(op) ATOMIC_OP(op) ATOMIC_OP_RETURN(op) ATOMIC_FETCH_OP(op)
41 #define ATOMIC_OPS(op) ATOMIC_OP(op) ATOMIC_FETCH_OP(op) in ATOMIC_OPS()
48 #undef ATOMIC_FETCH_OP in ATOMIC_OPS()
/kernel/linux/linux-5.10/arch/hexagon/include/asm/
Datomic.h116 #define ATOMIC_FETCH_OP(op) \ macro
133 #define ATOMIC_OPS(op) ATOMIC_OP(op) ATOMIC_OP_RETURN(op) ATOMIC_FETCH_OP(op)
139 #define ATOMIC_OPS(op) ATOMIC_OP(op) ATOMIC_FETCH_OP(op) in ATOMIC_OPS()
146 #undef ATOMIC_FETCH_OP in ATOMIC_OPS()
/kernel/linux/linux-5.10/arch/m68k/include/asm/
Datomic.h55 #define ATOMIC_FETCH_OP(op, c_op, asm_op) \ macro
85 #define ATOMIC_FETCH_OP(op, c_op, asm_op) \ macro
104 ATOMIC_FETCH_OP(op, c_op, asm_op)
112 ATOMIC_FETCH_OP(op, c_op, asm_op)
119 #undef ATOMIC_FETCH_OP
/kernel/linux/linux-5.10/arch/ia64/include/asm/
Datomic.h45 #define ATOMIC_FETCH_OP(op, c_op) \ macro
62 ATOMIC_FETCH_OP(op, c_op)
109 ATOMIC_FETCH_OP(and, &)
110 ATOMIC_FETCH_OP(or, |)
111 ATOMIC_FETCH_OP(xor, ^)
122 #undef ATOMIC_FETCH_OP
/kernel/linux/linux-5.10/arch/riscv/include/asm/
Datomic.h88 #define ATOMIC_FETCH_OP(op, asm_op, I, asm_type, c_type, prefix) \ in ATOMIC_OPS() macro
128 ATOMIC_FETCH_OP( op, asm_op, I, w, int, ) \
132 ATOMIC_FETCH_OP( op, asm_op, I, w, int, ) \
134 ATOMIC_FETCH_OP( op, asm_op, I, d, s64, 64) \
167 ATOMIC_FETCH_OP(op, asm_op, I, w, int, )
170 ATOMIC_FETCH_OP(op, asm_op, I, w, int, ) \
171 ATOMIC_FETCH_OP(op, asm_op, I, d, s64, 64)
196 #undef ATOMIC_FETCH_OP
/kernel/linux/linux-5.10/arch/arc/include/asm/
Datomic.h65 #define ATOMIC_FETCH_OP(op, c_op, asm_op) \ macro
156 #define ATOMIC_FETCH_OP(op, c_op, asm_op) \ macro
178 ATOMIC_FETCH_OP(op, c_op, asm_op)
189 ATOMIC_FETCH_OP(op, c_op, asm_op)
197 #undef ATOMIC_FETCH_OP
/kernel/linux/linux-5.10/arch/parisc/include/asm/
Datomic.h103 #define ATOMIC_FETCH_OP(op, c_op) \ macro
120 ATOMIC_FETCH_OP(op, c_op)
128 ATOMIC_FETCH_OP(op, c_op)
135 #undef ATOMIC_FETCH_OP
/kernel/linux/linux-5.10/arch/alpha/include/asm/
Datomic.h76 #define ATOMIC_FETCH_OP(op, asm_op) \ macro
150 ATOMIC_FETCH_OP(op, op##l) \
174 ATOMIC_FETCH_OP(op, asm) \ in ATOMIC_OPS()
197 #undef ATOMIC_FETCH_OP in ATOMIC_OPS()
/kernel/linux/linux-5.10/arch/mips/include/asm/
Datomic.h115 #define ATOMIC_FETCH_OP(pfx, op, type, c_op, asm_op, ll, sc) \ macro
151 ATOMIC_FETCH_OP(pfx, op, type, c_op, asm_op, ll, sc)
173 ATOMIC_FETCH_OP(pfx, op, type, c_op, asm_op, ll, sc)
193 #undef ATOMIC_FETCH_OP
/kernel/linux/linux-5.10/arch/arm/include/asm/
Datomic.h75 #define ATOMIC_FETCH_OP(op, c_op, asm_op) \ macro
186 #define ATOMIC_FETCH_OP(op, c_op, asm_op) \ macro
221 ATOMIC_FETCH_OP(op, c_op, asm_op)
231 ATOMIC_FETCH_OP(op, c_op, asm_op)
239 #undef ATOMIC_FETCH_OP
/kernel/linux/linux-5.10/arch/h8300/include/asm/
Datomic.h30 #define ATOMIC_FETCH_OP(op, c_op) \ macro
58 ATOMIC_FETCH_OP(op, c_op)