Home
last modified time | relevance | path

Searched refs:ATOMIC64_OPS (Results 1 – 10 of 10) sorted by relevance

/linux-6.1.9/include/asm-generic/
Datomic64.h30 #define ATOMIC64_OPS(op) ATOMIC64_OP(op) ATOMIC64_OP_RETURN(op) ATOMIC64_FETCH_OP(op) macro
32 ATOMIC64_OPS(add)
33 ATOMIC64_OPS(sub)
35 #undef ATOMIC64_OPS
36 #define ATOMIC64_OPS(op) ATOMIC64_OP(op) ATOMIC64_FETCH_OP(op) macro
38 ATOMIC64_OPS(and)
39 ATOMIC64_OPS(or)
40 ATOMIC64_OPS(xor)
42 #undef ATOMIC64_OPS
/linux-6.1.9/arch/arc/include/asm/
Datomic64-arcv2.h115 #define ATOMIC64_OPS(op, op1, op2) \ macro
120 ATOMIC64_OPS(add, add.f, adc)
121 ATOMIC64_OPS(sub, sub.f, sbc)
123 #undef ATOMIC64_OPS
124 #define ATOMIC64_OPS(op, op1, op2) \ macro
128 ATOMIC64_OPS(and, and, and) in ATOMIC64_OPS() function
129 ATOMIC64_OPS(andnot, bic, bic) in ATOMIC64_OPS()
130 ATOMIC64_OPS(or, or, or) in ATOMIC64_OPS()
131 ATOMIC64_OPS(xor, xor, xor) in ATOMIC64_OPS()
135 #undef ATOMIC64_OPS in ATOMIC64_OPS()
/linux-6.1.9/lib/
Datomic64.c110 #define ATOMIC64_OPS(op, c_op) \ macro
115 ATOMIC64_OPS(add, +=)
116 ATOMIC64_OPS(sub, -=)
118 #undef ATOMIC64_OPS
119 #define ATOMIC64_OPS(op, c_op) \ macro
123 ATOMIC64_OPS(and, &=)
124 ATOMIC64_OPS(or, |=)
125 ATOMIC64_OPS(xor, ^=)
127 #undef ATOMIC64_OPS
/linux-6.1.9/arch/parisc/include/asm/
Datomic.h180 #define ATOMIC64_OPS(op, c_op) \ macro
185 ATOMIC64_OPS(add, +=)
186 ATOMIC64_OPS(sub, -=)
188 #undef ATOMIC64_OPS
189 #define ATOMIC64_OPS(op, c_op) \ macro
193 ATOMIC64_OPS(and, &=)
194 ATOMIC64_OPS(or, |=)
195 ATOMIC64_OPS(xor, ^=)
197 #undef ATOMIC64_OPS
/linux-6.1.9/arch/loongarch/include/asm/
Datomic.h248 #define ATOMIC64_OPS(op, I, asm_op, c_op) \ macro
253 ATOMIC64_OPS(add, i, add, +)
254 ATOMIC64_OPS(sub, -i, add, +)
261 #undef ATOMIC64_OPS
263 #define ATOMIC64_OPS(op, I, asm_op) \ macro
267 ATOMIC64_OPS(and, i, and) in ATOMIC64_OPS() function
268 ATOMIC64_OPS(or, i, or) in ATOMIC64_OPS()
269 ATOMIC64_OPS(xor, i, xor) in ATOMIC64_OPS()
275 #undef ATOMIC64_OPS in ATOMIC64_OPS()
/linux-6.1.9/arch/arm64/include/asm/
Datomic_ll_sc.h180 #define ATOMIC64_OPS(...) \ macro
191 ATOMIC64_OPS(add, add, I)
192 ATOMIC64_OPS(sub, sub, J)
194 #undef ATOMIC64_OPS
195 #define ATOMIC64_OPS(...) \ macro
202 ATOMIC64_OPS(and, and, L)
203 ATOMIC64_OPS(or, orr, L)
204 ATOMIC64_OPS(xor, eor, L)
210 ATOMIC64_OPS(andnot, bic, )
212 #undef ATOMIC64_OPS
/linux-6.1.9/arch/arm/include/asm/
Datomic.h369 #define ATOMIC64_OPS(op, op1, op2) \ macro
374 ATOMIC64_OPS(add, adds, adc) in ATOMIC64_OPS() function
375 ATOMIC64_OPS(sub, subs, sbc) in ATOMIC64_OPS()
382 #undef ATOMIC64_OPS in ATOMIC64_OPS()
383 #define ATOMIC64_OPS(op, op1, op2) \ in ATOMIC64_OPS() macro
389 ATOMIC64_OPS(and, and, and) in ATOMIC64_OPS()
390 ATOMIC64_OPS(andnot, bic, bic) in ATOMIC64_OPS()
391 ATOMIC64_OPS(or, orr, orr) in ATOMIC64_OPS()
392 ATOMIC64_OPS(xor, eor, eor) in ATOMIC64_OPS()
399 #undef ATOMIC64_OPS in ATOMIC64_OPS()
/linux-6.1.9/arch/s390/include/asm/
Datomic.h123 #define ATOMIC64_OPS(op) \ macro
133 ATOMIC64_OPS(and)
134 ATOMIC64_OPS(or)
135 ATOMIC64_OPS(xor)
137 #undef ATOMIC64_OPS
/linux-6.1.9/arch/powerpc/include/asm/
Datomic.h290 #define ATOMIC64_OPS(op, asm_op) \ macro
295 ATOMIC64_OPS(add, add) in ATOMIC64_OPS() function
296 ATOMIC64_OPS(sub, subf) in ATOMIC64_OPS()
304 #undef ATOMIC64_OPS in ATOMIC64_OPS()
305 #define ATOMIC64_OPS(op, asm_op) \ in ATOMIC64_OPS() macro
309 ATOMIC64_OPS(and, and) in ATOMIC64_OPS()
310 ATOMIC64_OPS(or, or) in ATOMIC64_OPS()
311 ATOMIC64_OPS(xor, xor) in ATOMIC64_OPS()
/linux-6.1.9/arch/ia64/include/asm/
Datomic.h155 #define ATOMIC64_OPS(op, c_op) \ macro
159 ATOMIC64_OPS(add, +)
160 ATOMIC64_OPS(sub, -)
206 #undef ATOMIC64_OPS