/linux-5.19.10/arch/sh/include/asm/ |
D | atomic-grb.h | 69 #define ATOMIC_OPS(op) ATOMIC_OP(op) ATOMIC_OP_RETURN(op) ATOMIC_FETCH_OP(op) macro 71 ATOMIC_OPS(add) 72 ATOMIC_OPS(sub) 74 #undef ATOMIC_OPS 75 #define ATOMIC_OPS(op) ATOMIC_OP(op) ATOMIC_FETCH_OP(op) macro 77 ATOMIC_OPS(and) 78 ATOMIC_OPS(or) 79 ATOMIC_OPS(xor) 81 #undef ATOMIC_OPS
|
D | atomic-llsc.h | 71 #define ATOMIC_OPS(op) ATOMIC_OP(op) ATOMIC_OP_RETURN(op) ATOMIC_FETCH_OP(op) macro 73 ATOMIC_OPS(add) 74 ATOMIC_OPS(sub) 76 #undef ATOMIC_OPS 77 #define ATOMIC_OPS(op) ATOMIC_OP(op) ATOMIC_FETCH_OP(op) macro 79 ATOMIC_OPS(and) 80 ATOMIC_OPS(or) 81 ATOMIC_OPS(xor) 83 #undef ATOMIC_OPS
|
D | atomic-irq.h | 50 #define ATOMIC_OPS(op, c_op) \ macro 55 ATOMIC_OPS(add, +=) 56 ATOMIC_OPS(sub, -=) 58 #undef ATOMIC_OPS 59 #define ATOMIC_OPS(op, c_op) \ macro 63 ATOMIC_OPS(and, &=) 64 ATOMIC_OPS(or, |=) 65 ATOMIC_OPS(xor, ^=) 67 #undef ATOMIC_OPS
|
/linux-5.19.10/arch/arc/include/asm/ |
D | atomic-llsc.h | 72 #define ATOMIC_OPS(op, asm_op) \ macro 77 ATOMIC_OPS(add, add) 78 ATOMIC_OPS(sub, sub) 80 #undef ATOMIC_OPS 81 #define ATOMIC_OPS(op, asm_op) \ macro 85 ATOMIC_OPS(and, and) 86 ATOMIC_OPS(andnot, bic) 87 ATOMIC_OPS(or, or) 88 ATOMIC_OPS(xor, xor) 92 #undef ATOMIC_OPS
|
D | atomic-spinlock.h | 76 #define ATOMIC_OPS(op, c_op, asm_op) \ macro 81 ATOMIC_OPS(add, +=, add) 82 ATOMIC_OPS(sub, -=, sub) 84 #undef ATOMIC_OPS 85 #define ATOMIC_OPS(op, c_op, asm_op) \ macro 89 ATOMIC_OPS(and, &=, and) 90 ATOMIC_OPS(andnot, &= ~, bic) 91 ATOMIC_OPS(or, |=, or) 92 ATOMIC_OPS(xor, ^=, xor) 97 #undef ATOMIC_OPS
|
/linux-5.19.10/arch/riscv/include/asm/ |
D | atomic.h | 66 #define ATOMIC_OPS(op, asm_op, I) \ macro 69 #define ATOMIC_OPS(op, asm_op, I) \ macro 74 ATOMIC_OPS(add, add, i) in ATOMIC_OPS() function 75 ATOMIC_OPS(sub, add, -i) in ATOMIC_OPS() 76 ATOMIC_OPS(and, and, i) in ATOMIC_OPS() 77 ATOMIC_OPS( or, or, i) in ATOMIC_OPS() 78 ATOMIC_OPS(xor, xor, i) in ATOMIC_OPS() 81 #undef ATOMIC_OPS in ATOMIC_OPS() 127 #define ATOMIC_OPS(op, asm_op, c_op, I) \ macro 131 #define ATOMIC_OPS(op, asm_op, c_op, I) \ [all …]
|
/linux-5.19.10/arch/mips/include/asm/ |
D | atomic.h | 26 #define ATOMIC_OPS(pfx, type) \ macro 48 ATOMIC_OPS(atomic, int) 52 ATOMIC_OPS(atomic64, s64) 149 #undef ATOMIC_OPS 150 #define ATOMIC_OPS(pfx, op, type, c_op, asm_op, ll, sc) \ macro 155 ATOMIC_OPS(atomic, add, int, +=, addu, ll, sc) 156 ATOMIC_OPS(atomic, sub, int, -=, subu, ll, sc) 164 ATOMIC_OPS(atomic64, add, s64, +=, daddu, lld, scd) 165 ATOMIC_OPS(atomic64, sub, s64, -=, dsubu, lld, scd) 172 #undef ATOMIC_OPS [all …]
|
/linux-5.19.10/arch/csky/include/asm/ |
D | atomic.h | 72 #define ATOMIC_OPS(op, c_op) \ macro 76 ATOMIC_OPS(add, +) 77 ATOMIC_OPS(sub, -) 85 #undef ATOMIC_OPS 88 #define ATOMIC_OPS(op) \ macro 91 ATOMIC_OPS(and) 92 ATOMIC_OPS( or) 93 ATOMIC_OPS(xor) 99 #undef ATOMIC_OPS 220 #define ATOMIC_OPS() \ macro [all …]
|
/linux-5.19.10/arch/sparc/include/asm/ |
D | atomic_64.h | 35 #define ATOMIC_OPS(op) ATOMIC_OP(op) ATOMIC_OP_RETURN(op) ATOMIC_FETCH_OP(op) macro 37 ATOMIC_OPS(add) 38 ATOMIC_OPS(sub) in ATOMIC_OPS() function 40 #undef ATOMIC_OPS in ATOMIC_OPS() 41 #define ATOMIC_OPS(op) ATOMIC_OP(op) ATOMIC_FETCH_OP(op) in ATOMIC_OPS() macro 43 ATOMIC_OPS(and) in ATOMIC_OPS() 44 ATOMIC_OPS(or) in ATOMIC_OPS() 45 ATOMIC_OPS(xor) in ATOMIC_OPS() 47 #undef ATOMIC_OPS in ATOMIC_OPS()
|
/linux-5.19.10/arch/hexagon/include/asm/ |
D | atomic.h | 133 #define ATOMIC_OPS(op) ATOMIC_OP(op) ATOMIC_OP_RETURN(op) ATOMIC_FETCH_OP(op) macro 135 ATOMIC_OPS(add) 136 ATOMIC_OPS(sub) in ATOMIC_OPS() function 138 #undef ATOMIC_OPS in ATOMIC_OPS() 139 #define ATOMIC_OPS(op) ATOMIC_OP(op) ATOMIC_FETCH_OP(op) in ATOMIC_OPS() macro 141 ATOMIC_OPS(and) in ATOMIC_OPS() 142 ATOMIC_OPS(or) in ATOMIC_OPS() 143 ATOMIC_OPS(xor) in ATOMIC_OPS() 145 #undef ATOMIC_OPS in ATOMIC_OPS()
|
/linux-5.19.10/arch/xtensa/include/asm/ |
D | atomic.h | 243 #define ATOMIC_OPS(op) ATOMIC_OP(op) ATOMIC_FETCH_OP(op) ATOMIC_OP_RETURN(op) macro 245 ATOMIC_OPS(add) 246 ATOMIC_OPS(sub) 248 #undef ATOMIC_OPS 249 #define ATOMIC_OPS(op) ATOMIC_OP(op) ATOMIC_FETCH_OP(op) macro 251 ATOMIC_OPS(and) 252 ATOMIC_OPS(or) 253 ATOMIC_OPS(xor) 255 #undef ATOMIC_OPS
|
/linux-5.19.10/arch/m68k/include/asm/ |
D | atomic.h | 101 #define ATOMIC_OPS(op, c_op, asm_op) \ macro 106 ATOMIC_OPS(add, +=, add) 107 ATOMIC_OPS(sub, -=, sub) 109 #undef ATOMIC_OPS 110 #define ATOMIC_OPS(op, c_op, asm_op) \ macro 114 ATOMIC_OPS(and, &=, and) 115 ATOMIC_OPS(or, |=, or) 116 ATOMIC_OPS(xor, ^=, eor) 118 #undef ATOMIC_OPS
|
/linux-5.19.10/arch/alpha/include/asm/ |
D | atomic.h | 149 #define ATOMIC_OPS(op) \ macro 157 ATOMIC_OPS(add) 158 ATOMIC_OPS(sub) in ATOMIC_OPS() function 173 #undef ATOMIC_OPS in ATOMIC_OPS() 174 #define ATOMIC_OPS(op, asm) \ in ATOMIC_OPS() macro 180 ATOMIC_OPS(and, and) in ATOMIC_OPS() 181 ATOMIC_OPS(andnot, bic) in ATOMIC_OPS() 182 ATOMIC_OPS(or, bis) in ATOMIC_OPS() 183 ATOMIC_OPS(xor, xor) in ATOMIC_OPS() 195 #undef ATOMIC_OPS in ATOMIC_OPS()
|
/linux-5.19.10/arch/parisc/include/asm/ |
D | atomic.h | 117 #define ATOMIC_OPS(op, c_op) \ macro 122 ATOMIC_OPS(add, +=) 123 ATOMIC_OPS(sub, -=) 125 #undef ATOMIC_OPS 126 #define ATOMIC_OPS(op, c_op) \ macro 130 ATOMIC_OPS(and, &=) 131 ATOMIC_OPS(or, |=) 132 ATOMIC_OPS(xor, ^=) 134 #undef ATOMIC_OPS
|
/linux-5.19.10/arch/loongarch/include/asm/ |
D | atomic.h | 87 #define ATOMIC_OPS(op, I, asm_op, c_op) \ macro 92 ATOMIC_OPS(add, i, add, +) 93 ATOMIC_OPS(sub, -i, add, +) 100 #undef ATOMIC_OPS 102 #define ATOMIC_OPS(op, I, asm_op) \ macro 106 ATOMIC_OPS(and, i, and) in ATOMIC_OPS() function 107 ATOMIC_OPS(or, i, or) in ATOMIC_OPS() 108 ATOMIC_OPS(xor, i, xor) in ATOMIC_OPS() 114 #undef ATOMIC_OPS in ATOMIC_OPS()
|
/linux-5.19.10/arch/arm64/include/asm/ |
D | atomic_ll_sc.h | 100 #define ATOMIC_OPS(...) \ macro 111 ATOMIC_OPS(add, add, I) in ATOMIC_OPS() function 112 ATOMIC_OPS(sub, sub, J) in ATOMIC_OPS() 114 #undef ATOMIC_OPS in ATOMIC_OPS() 115 #define ATOMIC_OPS(...) \ in ATOMIC_OPS() macro 122 ATOMIC_OPS(and, and, K) in ATOMIC_OPS() 123 ATOMIC_OPS(or, orr, K) in ATOMIC_OPS() 124 ATOMIC_OPS(xor, eor, K) in ATOMIC_OPS() 130 ATOMIC_OPS(andnot, bic, ) in ATOMIC_OPS() 132 #undef ATOMIC_OPS in ATOMIC_OPS()
|
/linux-5.19.10/arch/arm/include/asm/ |
D | atomic.h | 218 #define ATOMIC_OPS(op, c_op, asm_op) \ macro 223 ATOMIC_OPS(add, +=, add) 224 ATOMIC_OPS(sub, -=, sub) 228 #undef ATOMIC_OPS 229 #define ATOMIC_OPS(op, c_op, asm_op) \ macro 233 ATOMIC_OPS(and, &=, and) 234 ATOMIC_OPS(andnot, &= ~, bic) 235 ATOMIC_OPS(or, |=, orr) 236 ATOMIC_OPS(xor, ^=, eor) 238 #undef ATOMIC_OPS
|
/linux-5.19.10/arch/powerpc/include/asm/ |
D | atomic.h | 89 #define ATOMIC_OPS(op, asm_op, suffix, sign, ...) \ macro 94 ATOMIC_OPS(add, add, "c", I, "xer") 95 ATOMIC_OPS(sub, sub, "c", I, "xer") 103 #undef ATOMIC_OPS 104 #define ATOMIC_OPS(op, asm_op, suffix, sign) \ macro 108 ATOMIC_OPS(and, and, ".", K) 109 ATOMIC_OPS(or, or, "", K) 110 ATOMIC_OPS(xor, xor, "", K) 116 #undef ATOMIC_OPS
|
/linux-5.19.10/arch/s390/include/asm/ |
D | atomic.h | 52 #define ATOMIC_OPS(op) \ macro 62 ATOMIC_OPS(and) 63 ATOMIC_OPS(or) in ATOMIC_OPS() function 64 ATOMIC_OPS(xor) in ATOMIC_OPS() 66 #undef ATOMIC_OPS in ATOMIC_OPS()
|
/linux-5.19.10/arch/ia64/include/asm/ |
D | atomic.h | 60 #define ATOMIC_OPS(op, c_op) \ macro 64 ATOMIC_OPS(add, +) 65 ATOMIC_OPS(sub, -) 121 #undef ATOMIC_OPS
|