/linux/arch/openrisc/include/asm/ |
A D | atomic.h | 51 #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/include/asm-generic/ |
A D | atomic.h | 41 #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/arch/arm64/include/asm/ |
A D | atomic_ll_sc.h | 78 #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()
|
A D | atomic.h | 34 #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
|
A D | atomic_lse.h | 30 #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
|
/linux/arch/xtensa/include/asm/ |
A D | atomic.h | 97 #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/arch/sparc/lib/ |
A D | atomic_64.S | 51 #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
|
A D | atomic32.c | 31 #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/arch/sh/include/asm/ |
A D | atomic-grb.h | 47 #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
|
A D | atomic-llsc.h | 52 #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
|
A D | atomic-irq.h | 37 #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/arch/sparc/include/asm/ |
A D | atomic_64.h | 31 #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/arch/hexagon/include/asm/ |
A D | atomic.h | 116 #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/arch/arc/include/asm/ |
A D | atomic-llsc.h | 45 #define ATOMIC_FETCH_OP(op, c_op, asm_op) \ macro 75 ATOMIC_FETCH_OP(op, c_op, asm_op) 83 ATOMIC_FETCH_OP(op, c_op, asm_op) 93 #undef ATOMIC_FETCH_OP
|
A D | atomic-spinlock.h | 59 #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/arch/m68k/include/asm/ |
A D | atomic.h | 55 #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/arch/riscv/include/asm/ |
A D | atomic.h | 88 #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/arch/ia64/include/asm/ |
A D | atomic.h | 45 #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/arch/parisc/include/asm/ |
A D | atomic.h | 103 #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/arch/alpha/include/asm/ |
A D | atomic.h | 76 #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/arch/mips/include/asm/ |
A D | atomic.h | 117 #define ATOMIC_FETCH_OP(pfx, op, type, c_op, asm_op, ll, sc) \ macro 154 ATOMIC_FETCH_OP(pfx, op, type, c_op, asm_op, ll, sc) 176 ATOMIC_FETCH_OP(pfx, op, type, c_op, asm_op, ll, sc) 196 #undef ATOMIC_FETCH_OP
|
/linux/arch/arm/include/asm/ |
A D | atomic.h | 75 #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
|