Lines Matching refs:oldval
12 #define __futex_atomic_op(insn, ret, oldval, uaddr, oparg) \ argument
25 : "=&r" (oldval), "=&r"(ret) \
32 int oldval = 0, ret; in arch_futex_atomic_op_inuser() local
38 __futex_atomic_op("mov %3,%1\n", ret, oldval, uaddr, oparg); in arch_futex_atomic_op_inuser()
41 __futex_atomic_op("addl %0,%3,%1\n", ret, oldval, uaddr, oparg); in arch_futex_atomic_op_inuser()
44 __futex_atomic_op("or %0,%3,%1\n", ret, oldval, uaddr, oparg); in arch_futex_atomic_op_inuser()
47 __futex_atomic_op("andnot %0,%3,%1\n", ret, oldval, uaddr, oparg); in arch_futex_atomic_op_inuser()
50 __futex_atomic_op("xor %0,%3,%1\n", ret, oldval, uaddr, oparg); in arch_futex_atomic_op_inuser()
59 *oval = oldval; in arch_futex_atomic_op_inuser()
66 u32 oldval, u32 newval) in futex_atomic_cmpxchg_inatomic() argument
88 : "r"(uaddr), "r"((long)(int)oldval), "r"(newval) in futex_atomic_cmpxchg_inatomic()