Lines Matching refs:uaddr
14 _futex_spin_lock(u32 __user *uaddr) in _futex_spin_lock() argument
17 long index = ((long)uaddr & 0x7f8) >> 1; in _futex_spin_lock()
24 _futex_spin_unlock(u32 __user *uaddr) in _futex_spin_unlock() argument
27 long index = ((long)uaddr & 0x7f8) >> 1; in _futex_spin_unlock()
34 arch_futex_atomic_op_inuser(int op, int oparg, int *oval, u32 __user *uaddr) in arch_futex_atomic_op_inuser() argument
41 _futex_spin_lock(uaddr); in arch_futex_atomic_op_inuser()
42 if (unlikely(get_user(oldval, uaddr) != 0)) in arch_futex_atomic_op_inuser()
68 if (ret == 0 && unlikely(put_user(tmp, uaddr) != 0)) in arch_futex_atomic_op_inuser()
72 _futex_spin_unlock(uaddr); in arch_futex_atomic_op_inuser()
81 futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr, in futex_atomic_cmpxchg_inatomic() argument
89 if (uaccess_kernel() && !uaddr) in futex_atomic_cmpxchg_inatomic()
92 if (!access_ok(uaddr, sizeof(u32))) in futex_atomic_cmpxchg_inatomic()
101 _futex_spin_lock(uaddr); in futex_atomic_cmpxchg_inatomic()
102 if (unlikely(get_user(val, uaddr) != 0)) { in futex_atomic_cmpxchg_inatomic()
103 _futex_spin_unlock(uaddr); in futex_atomic_cmpxchg_inatomic()
107 if (val == oldval && unlikely(put_user(newval, uaddr) != 0)) { in futex_atomic_cmpxchg_inatomic()
108 _futex_spin_unlock(uaddr); in futex_atomic_cmpxchg_inatomic()
113 _futex_spin_unlock(uaddr); in futex_atomic_cmpxchg_inatomic()