Home
last modified time | relevance | path

Searched refs:__futex_atomic_op (Results 1 – 14 of 14) sorted by relevance

/Linux-v6.6/arch/arc/include/asm/
Dfutex.h18 #define __futex_atomic_op(insn, ret, oldval, uaddr, oparg)\ macro
46 #define __futex_atomic_op(insn, ret, oldval, uaddr, oparg)\ macro
87 __futex_atomic_op("mov %0, %3", ret, oldval, uaddr, oparg); in arch_futex_atomic_op_inuser()
91 __futex_atomic_op("add %0, %1, %3", ret, oldval, uaddr, oparg); in arch_futex_atomic_op_inuser()
94 __futex_atomic_op("or %0, %1, %3", ret, oldval, uaddr, oparg); in arch_futex_atomic_op_inuser()
97 __futex_atomic_op("bic %0, %1, %3", ret, oldval, uaddr, oparg); in arch_futex_atomic_op_inuser()
100 __futex_atomic_op("xor %0, %1, %3", ret, oldval, uaddr, oparg); in arch_futex_atomic_op_inuser()
/Linux-v6.6/arch/openrisc/include/asm/
Dfutex.h11 #define __futex_atomic_op(insn, ret, oldval, uaddr, oparg) \ macro
43 __futex_atomic_op("l.or %1,%4,%4", ret, oldval, uaddr, oparg); in arch_futex_atomic_op_inuser()
46 __futex_atomic_op("l.add %1,%0,%4", ret, oldval, uaddr, oparg); in arch_futex_atomic_op_inuser()
49 __futex_atomic_op("l.or %1,%0,%4", ret, oldval, uaddr, oparg); in arch_futex_atomic_op_inuser()
52 __futex_atomic_op("l.and %1,%0,%4", ret, oldval, uaddr, ~oparg); in arch_futex_atomic_op_inuser()
55 __futex_atomic_op("l.xor %1,%0,%4", ret, oldval, uaddr, oparg); in arch_futex_atomic_op_inuser()
/Linux-v6.6/arch/xtensa/include/asm/
Dfutex.h24 #define __futex_atomic_op(insn, ret, old, uaddr, arg) \ macro
48 #define __futex_atomic_op(insn, ret, old, uaddr, arg) \ macro
84 __futex_atomic_op("mov %[newval], %[oparg]", in arch_futex_atomic_op_inuser()
88 __futex_atomic_op("add %[newval], %[oldval], %[oparg]", in arch_futex_atomic_op_inuser()
92 __futex_atomic_op("or %[newval], %[oldval], %[oparg]", in arch_futex_atomic_op_inuser()
96 __futex_atomic_op("and %[newval], %[oldval], %[oparg]", in arch_futex_atomic_op_inuser()
100 __futex_atomic_op("xor %[newval], %[oldval], %[oparg]", in arch_futex_atomic_op_inuser()
/Linux-v6.6/arch/hexagon/include/asm/
Dfutex.h13 #define __futex_atomic_op(insn, ret, oldval, uaddr, oparg) \ macro
44 __futex_atomic_op("%1 = %4\n", ret, oldval, uaddr, oparg); in arch_futex_atomic_op_inuser()
47 __futex_atomic_op("%1 = add(%0,%4)\n", ret, oldval, uaddr, in arch_futex_atomic_op_inuser()
51 __futex_atomic_op("%1 = or(%0,%4)\n", ret, oldval, uaddr, in arch_futex_atomic_op_inuser()
55 __futex_atomic_op("%1 = not(%4); %1 = and(%0,%1)\n", ret, in arch_futex_atomic_op_inuser()
59 __futex_atomic_op("%1 = xor(%0,%4)\n", ret, oldval, uaddr, in arch_futex_atomic_op_inuser()
/Linux-v6.6/arch/microblaze/include/asm/
Dfutex.h11 #define __futex_atomic_op(insn, ret, oldval, uaddr, oparg) \ macro
42 __futex_atomic_op("or %1,%4,%4;", ret, oldval, uaddr, oparg); in arch_futex_atomic_op_inuser()
45 __futex_atomic_op("add %1,%0,%4;", ret, oldval, uaddr, oparg); in arch_futex_atomic_op_inuser()
48 __futex_atomic_op("or %1,%0,%4;", ret, oldval, uaddr, oparg); in arch_futex_atomic_op_inuser()
51 __futex_atomic_op("andn %1,%0,%4;", ret, oldval, uaddr, oparg); in arch_futex_atomic_op_inuser()
54 __futex_atomic_op("xor %1,%0,%4;", ret, oldval, uaddr, oparg); in arch_futex_atomic_op_inuser()
/Linux-v6.6/arch/loongarch/include/asm/
Dfutex.h14 #define __futex_atomic_op(insn, ret, oldval, uaddr, oparg) \ macro
39 __futex_atomic_op("move $t0, %z5", ret, oldval, uaddr, oparg); in arch_futex_atomic_op_inuser()
42 __futex_atomic_op("add.w $t0, %1, %z5", ret, oldval, uaddr, oparg); in arch_futex_atomic_op_inuser()
45 __futex_atomic_op("or $t0, %1, %z5", ret, oldval, uaddr, oparg); in arch_futex_atomic_op_inuser()
48 __futex_atomic_op("and $t0, %1, %z5", ret, oldval, uaddr, ~oparg); in arch_futex_atomic_op_inuser()
51 __futex_atomic_op("xor $t0, %1, %z5", ret, oldval, uaddr, oparg); in arch_futex_atomic_op_inuser()
/Linux-v6.6/arch/alpha/include/asm/
Dfutex.h12 #define __futex_atomic_op(insn, ret, oldval, uaddr, oparg) \ macro
39 __futex_atomic_op("mov %3,%1\n", ret, oldval, uaddr, oparg); in arch_futex_atomic_op_inuser()
42 __futex_atomic_op("addl %0,%3,%1\n", ret, oldval, uaddr, oparg); in arch_futex_atomic_op_inuser()
45 __futex_atomic_op("or %0,%3,%1\n", ret, oldval, uaddr, oparg); in arch_futex_atomic_op_inuser()
48 __futex_atomic_op("andnot %0,%3,%1\n", ret, oldval, uaddr, oparg); in arch_futex_atomic_op_inuser()
51 __futex_atomic_op("xor %0,%3,%1\n", ret, oldval, uaddr, oparg); in arch_futex_atomic_op_inuser()
/Linux-v6.6/arch/s390/include/asm/
Dfutex.h11 #define __futex_atomic_op(insn, ret, oldval, newval, uaddr, oparg) \ macro
34 __futex_atomic_op("lr %2,%5\n", in arch_futex_atomic_op_inuser()
38 __futex_atomic_op("lr %2,%1\nar %2,%5\n", in arch_futex_atomic_op_inuser()
42 __futex_atomic_op("lr %2,%1\nor %2,%5\n", in arch_futex_atomic_op_inuser()
46 __futex_atomic_op("lr %2,%1\nnr %2,%5\n", in arch_futex_atomic_op_inuser()
50 __futex_atomic_op("lr %2,%1\nxr %2,%5\n", in arch_futex_atomic_op_inuser()
/Linux-v6.6/arch/powerpc/include/asm/
Dfutex.h12 #define __futex_atomic_op(insn, ret, oldval, uaddr, oparg) \ macro
41 __futex_atomic_op("mr %1,%4\n", ret, oldval, uaddr, oparg); in arch_futex_atomic_op_inuser()
44 __futex_atomic_op("add %1,%0,%4\n", ret, oldval, uaddr, oparg); in arch_futex_atomic_op_inuser()
47 __futex_atomic_op("or %1,%0,%4\n", ret, oldval, uaddr, oparg); in arch_futex_atomic_op_inuser()
50 __futex_atomic_op("andc %1,%0,%4\n", ret, oldval, uaddr, oparg); in arch_futex_atomic_op_inuser()
53 __futex_atomic_op("xor %1,%0,%4\n", ret, oldval, uaddr, oparg); in arch_futex_atomic_op_inuser()
/Linux-v6.6/arch/csky/include/asm/
Dfutex.h14 #define __futex_atomic_op(insn, ret, oldval, uaddr, oparg) \ macro
51 __futex_atomic_op("mov %[t], %[ov]", in arch_futex_atomic_op_inuser()
55 __futex_atomic_op("add %[t], %[ov], %[op]", in arch_futex_atomic_op_inuser()
59 __futex_atomic_op("or %[t], %[ov], %[op]", in arch_futex_atomic_op_inuser()
63 __futex_atomic_op("and %[t], %[ov], %[op]", in arch_futex_atomic_op_inuser()
67 __futex_atomic_op("xor %[t], %[ov], %[op]", in arch_futex_atomic_op_inuser()
/Linux-v6.6/arch/riscv/include/asm/
Dfutex.h22 #define __futex_atomic_op(insn, ret, oldval, uaddr, oparg) \ macro
46 __futex_atomic_op("amoswap.w.aqrl %[ov],%z[op],%[u]", in arch_futex_atomic_op_inuser()
50 __futex_atomic_op("amoadd.w.aqrl %[ov],%z[op],%[u]", in arch_futex_atomic_op_inuser()
54 __futex_atomic_op("amoor.w.aqrl %[ov],%z[op],%[u]", in arch_futex_atomic_op_inuser()
58 __futex_atomic_op("amoand.w.aqrl %[ov],%z[op],%[u]", in arch_futex_atomic_op_inuser()
62 __futex_atomic_op("amoxor.w.aqrl %[ov],%z[op],%[u]", in arch_futex_atomic_op_inuser()
/Linux-v6.6/arch/arm/include/asm/
Dfutex.h25 #define __futex_atomic_op(insn, ret, oldval, tmp, uaddr, oparg) \ macro
84 #define __futex_atomic_op(insn, ret, oldval, tmp, uaddr, oparg) \ macro
146 __futex_atomic_op("mov %0, %4", ret, oldval, tmp, uaddr, oparg); in arch_futex_atomic_op_inuser()
149 __futex_atomic_op("add %0, %1, %4", ret, oldval, tmp, uaddr, oparg); in arch_futex_atomic_op_inuser()
152 __futex_atomic_op("orr %0, %1, %4", ret, oldval, tmp, uaddr, oparg); in arch_futex_atomic_op_inuser()
155 __futex_atomic_op("and %0, %1, %4", ret, oldval, tmp, uaddr, ~oparg); in arch_futex_atomic_op_inuser()
158 __futex_atomic_op("eor %0, %1, %4", ret, oldval, tmp, uaddr, oparg); in arch_futex_atomic_op_inuser()
/Linux-v6.6/arch/arm64/include/asm/
Dfutex.h15 #define __futex_atomic_op(insn, ret, oldval, uaddr, tmp, oparg) \ macro
51 __futex_atomic_op("mov %w3, %w5", in arch_futex_atomic_op_inuser()
55 __futex_atomic_op("add %w3, %w1, %w5", in arch_futex_atomic_op_inuser()
59 __futex_atomic_op("orr %w3, %w1, %w5", in arch_futex_atomic_op_inuser()
63 __futex_atomic_op("and %w3, %w1, %w5", in arch_futex_atomic_op_inuser()
67 __futex_atomic_op("eor %w3, %w1, %w5", in arch_futex_atomic_op_inuser()
/Linux-v6.6/arch/mips/include/asm/
Dfutex.h25 #define __futex_atomic_op(op, insn, ret, oldval, uaddr, oparg) \ macro
102 __futex_atomic_op(op, "move $1, %z5", ret, oldval, uaddr, oparg); in arch_futex_atomic_op_inuser()
106 __futex_atomic_op(op, "addu $1, %1, %z5", in arch_futex_atomic_op_inuser()
110 __futex_atomic_op(op, "or $1, %1, %z5", in arch_futex_atomic_op_inuser()
114 __futex_atomic_op(op, "and $1, %1, %z5", in arch_futex_atomic_op_inuser()
118 __futex_atomic_op(op, "xor $1, %1, %z5", in arch_futex_atomic_op_inuser()