Home
last modified time | relevance | path

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

/linux-5.19.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()
84 #undef ATOMIC_FETCH_OP in ATOMIC_OP_RETURN()
/linux-5.19.10/include/asm-generic/
Datomic.h41 #define ATOMIC_FETCH_OP(op, c_op) \ macro
80 #define ATOMIC_FETCH_OP(op, c_op) \ macro
99 ATOMIC_FETCH_OP(add, +)
100 ATOMIC_FETCH_OP(sub, -)
101 ATOMIC_FETCH_OP(and, &)
102 ATOMIC_FETCH_OP(or, |)
103 ATOMIC_FETCH_OP(xor, ^)
111 #undef ATOMIC_FETCH_OP
/linux-5.19.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
/linux-5.19.10/arch/arm64/include/asm/
Datomic_ll_sc.h78 #define ATOMIC_FETCH_OP(name, mb, acq, rel, cl, op, asm_op, constraint) \ macro
106 ATOMIC_FETCH_OP ( , dmb ish, , l, "memory", __VA_ARGS__)\
107 ATOMIC_FETCH_OP (_relaxed, , , , , __VA_ARGS__)\
108 ATOMIC_FETCH_OP (_acquire, , a, , "memory", __VA_ARGS__)\
109 ATOMIC_FETCH_OP (_release, , , l, "memory", __VA_ARGS__)
117 ATOMIC_FETCH_OP ( , dmb ish, , l, "memory", __VA_ARGS__)\ in ATOMIC_OPS()
118 ATOMIC_FETCH_OP (_relaxed, , , , , __VA_ARGS__)\ in ATOMIC_OPS()
119 ATOMIC_FETCH_OP (_acquire, , a, , "memory", __VA_ARGS__)\ in ATOMIC_OPS()
120 ATOMIC_FETCH_OP (_release, , , l, "memory", __VA_ARGS__) in ATOMIC_OPS()
133 #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.h35 #define ATOMIC_FETCH_OP(name, mb, op, asm_op, cl...) \ macro
52 ATOMIC_FETCH_OP(_relaxed, , op, asm_op) \
53 ATOMIC_FETCH_OP(_acquire, a, op, asm_op, "memory") \
54 ATOMIC_FETCH_OP(_release, l, op, asm_op, "memory") \
55 ATOMIC_FETCH_OP( , al, op, asm_op, "memory")
62 #undef ATOMIC_FETCH_OP in ATOMIC_FETCH_OPS()
/linux-5.19.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
/linux-5.19.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
/linux-5.19.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()
/linux-5.19.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()
/linux-5.19.10/arch/arc/include/asm/
Datomic-llsc.h45 #define ATOMIC_FETCH_OP(op, asm_op) \ macro
75 ATOMIC_FETCH_OP(op, asm_op)
83 ATOMIC_FETCH_OP(op, asm_op)
93 #undef ATOMIC_FETCH_OP
Datomic-spinlock.h59 #define ATOMIC_FETCH_OP(op, c_op, asm_op) \ macro
79 ATOMIC_FETCH_OP(op, c_op, asm_op)
87 ATOMIC_FETCH_OP(op, c_op, asm_op)
98 #undef ATOMIC_FETCH_OP
/linux-5.19.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
/linux-5.19.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
/linux-5.19.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
/linux-5.19.10/arch/csky/include/asm/
Datomic.h48 #define ATOMIC_FETCH_OP(op) \ in ATOMIC_OP() macro
73 ATOMIC_FETCH_OP(op) \
89 ATOMIC_FETCH_OP(op)
101 #undef ATOMIC_FETCH_OP
/linux-5.19.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
/linux-5.19.10/arch/alpha/include/asm/
Datomic.h76 #define ATOMIC_FETCH_OP(op, asm_op) \ macro
152 ATOMIC_FETCH_OP(op, op##l) \
176 ATOMIC_FETCH_OP(op, asm) \ in ATOMIC_OPS()
199 #undef ATOMIC_FETCH_OP in ATOMIC_OPS()
/linux-5.19.10/arch/loongarch/include/asm/
Datomic.h73 #define ATOMIC_FETCH_OP(op, I, asm_op) \ macro
90 ATOMIC_FETCH_OP(op, I, asm_op)
104 ATOMIC_FETCH_OP(op, I, asm_op)
115 #undef ATOMIC_FETCH_OP in ATOMIC_OPS()
/linux-5.19.10/arch/mips/include/asm/
Datomic.h116 #define ATOMIC_FETCH_OP(pfx, op, type, c_op, asm_op, ll, sc) \ macro
153 ATOMIC_FETCH_OP(pfx, op, type, c_op, asm_op, ll, sc)
175 ATOMIC_FETCH_OP(pfx, op, type, c_op, asm_op, ll, sc)
195 #undef ATOMIC_FETCH_OP
/linux-5.19.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