/arch/parisc/include/asm/ |
D | atomic.h | 76 #define ATOMIC_OP(op, c_op) \ argument 82 v->counter c_op i; \ 86 #define ATOMIC_OP_RETURN(op, c_op) \ argument 93 ret = (v->counter c_op i); \ 99 #define ATOMIC_FETCH_OP(op, c_op) \ argument 107 v->counter c_op i; \ 113 #define ATOMIC_OPS(op, c_op) \ argument 114 ATOMIC_OP(op, c_op) \ 115 ATOMIC_OP_RETURN(op, c_op) \ 116 ATOMIC_FETCH_OP(op, c_op) [all …]
|
/arch/sh/include/asm/ |
D | atomic-irq.h | 13 #define ATOMIC_OP(op, c_op) \ argument 19 v->counter c_op i; \ 23 #define ATOMIC_OP_RETURN(op, c_op) \ argument 30 temp c_op i; \ 37 #define ATOMIC_FETCH_OP(op, c_op) \ argument 44 v->counter c_op i; \ 50 #define ATOMIC_OPS(op, c_op) \ argument 51 ATOMIC_OP(op, c_op) \ 52 ATOMIC_OP_RETURN(op, c_op) \ 53 ATOMIC_FETCH_OP(op, c_op) [all …]
|
/arch/arc/include/asm/ |
D | atomic-spinlock.h | 31 #define ATOMIC_OP(op, c_op, asm_op) \ argument 37 v->counter c_op i; \ 41 #define ATOMIC_OP_RETURN(op, c_op, asm_op) \ argument 52 temp c_op i; \ 59 #define ATOMIC_FETCH_OP(op, c_op, asm_op) \ argument 70 v->counter c_op i; \ 76 #define ATOMIC_OPS(op, c_op, asm_op) \ argument 77 ATOMIC_OP(op, c_op, asm_op) \ 78 ATOMIC_OP_RETURN(op, c_op, asm_op) \ 79 ATOMIC_FETCH_OP(op, c_op, asm_op) [all …]
|
/arch/m68k/include/asm/ |
D | atomic.h | 32 #define ATOMIC_OP(op, c_op, asm_op) \ argument 40 #define ATOMIC_OP_RETURN(op, c_op, asm_op) \ argument 55 #define ATOMIC_FETCH_OP(op, c_op, asm_op) \ argument 72 #define ATOMIC_OP_RETURN(op, c_op, asm_op) \ argument 79 t = (v->counter c_op i); \ 85 #define ATOMIC_FETCH_OP(op, c_op, asm_op) \ argument 93 v->counter c_op i; \ 101 #define ATOMIC_OPS(op, c_op, asm_op) \ argument 102 ATOMIC_OP(op, c_op, asm_op) \ 103 ATOMIC_OP_RETURN(op, c_op, asm_op) \ [all …]
|
/arch/ia64/include/asm/ |
D | atomic.h | 30 #define ATOMIC_OP(op, c_op) \ argument 40 new = old c_op i; \ 45 #define ATOMIC_FETCH_OP(op, c_op) \ argument 55 new = old c_op i; \ 60 #define ATOMIC_OPS(op, c_op) \ argument 61 ATOMIC_OP(op, c_op) \ 62 ATOMIC_FETCH_OP(op, c_op) 125 #define ATOMIC64_OP(op, c_op) \ argument 135 new = old c_op i; \ 140 #define ATOMIC64_FETCH_OP(op, c_op) \ argument [all …]
|
/arch/mips/include/asm/ |
D | atomic.h | 44 #define ATOMIC_OP(pfx, op, type, c_op, asm_op, ll, sc) \ argument 53 v->counter c_op i; \ 71 #define ATOMIC_OP_RETURN(pfx, op, type, c_op, asm_op, ll, sc) \ argument 82 result c_op i; \ 105 #define ATOMIC_FETCH_OP(pfx, op, type, c_op, asm_op, ll, sc) \ argument 116 v->counter c_op i; \ 139 #define ATOMIC_OPS(pfx, op, type, c_op, asm_op, ll, sc) \ argument 140 ATOMIC_OP(pfx, op, type, c_op, asm_op, ll, sc) \ 141 ATOMIC_OP_RETURN(pfx, op, type, c_op, asm_op, ll, sc) \ 142 ATOMIC_FETCH_OP(pfx, op, type, c_op, asm_op, ll, sc) [all …]
|
/arch/arm/include/asm/ |
D | atomic.h | 36 #define ATOMIC_OP(op, c_op, asm_op) \ argument 54 #define ATOMIC_OP_RETURN(op, c_op, asm_op) \ argument 75 #define ATOMIC_FETCH_OP(op, c_op, asm_op) \ argument 162 #define ATOMIC_OP(op, c_op, asm_op) \ argument 168 v->counter c_op i; \ 172 #define ATOMIC_OP_RETURN(op, c_op, asm_op) \ argument 179 v->counter c_op i; \ 186 #define ATOMIC_FETCH_OP(op, c_op, asm_op) \ argument 194 v->counter c_op i; \ 227 #define ATOMIC_OPS(op, c_op, asm_op) \ argument [all …]
|
/arch/powerpc/include/asm/ |
D | local.h | 30 #define LOCAL_OP(op, c_op) \ argument 36 l->v c_op i; \ 40 #define LOCAL_OP_RETURN(op, c_op) \ argument 47 t = (l->v c_op a); \ 53 #define LOCAL_OPS(op, c_op) \ argument 54 LOCAL_OP(op, c_op) \ 55 LOCAL_OP_RETURN(op, c_op)
|
/arch/loongarch/include/asm/ |
D | atomic.h | 45 #define ATOMIC_OP_RETURN(op, I, asm_op, c_op) \ argument 56 return result c_op I; \ 73 #define ATOMIC_OPS(op, I, asm_op, c_op) \ argument 75 ATOMIC_OP_RETURN(op, I, asm_op, c_op) \ 181 #define ATOMIC64_OP_RETURN(op, I, asm_op, c_op) \ argument 191 return result c_op I; \ 208 #define ATOMIC64_OPS(op, I, asm_op, c_op) \ argument 210 ATOMIC64_OP_RETURN(op, I, asm_op, c_op) \
|
D | percpu.h | 39 #define PERCPU_OP(op, asm_op, c_op) \ argument 63 return ret c_op val; \
|
/arch/riscv/include/asm/ |
D | atomic.h | 113 #define ATOMIC_OP_RETURN(op, asm_op, c_op, I, asm_type, c_type, prefix) \ argument 118 return arch_atomic##prefix##_fetch_##op##_relaxed(i, v) c_op I; \ 123 return arch_atomic##prefix##_fetch_##op(i, v) c_op I; \ 127 #define ATOMIC_OPS(op, asm_op, c_op, I) \ argument 129 ATOMIC_OP_RETURN(op, asm_op, c_op, I, w, int, ) 131 #define ATOMIC_OPS(op, asm_op, c_op, I) \ 133 ATOMIC_OP_RETURN(op, asm_op, c_op, I, w, int, ) \ 135 ATOMIC_OP_RETURN(op, asm_op, c_op, I, d, s64, 64)
|
/arch/csky/include/asm/ |
D | atomic.h | 65 #define ATOMIC_OP_RETURN(op, c_op) \ argument 69 return arch_atomic_fetch_##op##_relaxed(i, v) c_op i; \ 72 #define ATOMIC_OPS(op, c_op) \ argument 74 ATOMIC_OP_RETURN(op, c_op)
|
/arch/sparc/lib/ |
D | atomic32.c | 31 #define ATOMIC_FETCH_OP(op, c_op) \ argument 39 v->counter c_op i; \ 46 #define ATOMIC_OP_RETURN(op, c_op) \ argument 53 ret = (v->counter c_op i); \
|
/arch/mips/include/uapi/asm/ |
D | inst.h | 672 __BITFIELD_FIELD(unsigned int c_op : 3,
|