Lines Matching refs:uaddr
14 #define __futex_atomic_op(insn, ret, oldval, uaddr, oparg) \ argument
25 "=ZC" (*uaddr) \
26 : "0" (0), "ZC" (*uaddr), "Jr" (oparg) \
31 arch_futex_atomic_op_inuser(int op, int oparg, int *oval, u32 __user *uaddr) in arch_futex_atomic_op_inuser() argument
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()
66 futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr, u32 oldval, u32 newval) in futex_atomic_cmpxchg_inatomic() argument
71 if (!access_ok(uaddr, sizeof(u32))) in futex_atomic_cmpxchg_inatomic()
85 : "+r" (ret), "=&r" (val), "=ZC" (*uaddr) in futex_atomic_cmpxchg_inatomic()
86 : "ZC" (*uaddr), "Jr" (oldval), "Jr" (newval) in futex_atomic_cmpxchg_inatomic()