Home
last modified time | relevance | path

Searched refs:uaddr (Results 1 – 4 of 4) sorted by relevance

/kernel/
Dfutex.c527 get_futex_key(u32 __user *uaddr, int fshared, union futex_key *key, enum futex_access rw) in get_futex_key() argument
529 unsigned long address = (unsigned long)uaddr; in get_futex_key()
543 if (unlikely(!access_ok(uaddr, sizeof(u32)))) in get_futex_key()
751 static int fault_in_user_writeable(u32 __user *uaddr) in fault_in_user_writeable() argument
757 ret = fixup_user_fault(current, mm, (unsigned long)uaddr, in fault_in_user_writeable()
783 static int cmpxchg_futex_value_locked(u32 *curval, u32 __user *uaddr, in cmpxchg_futex_value_locked() argument
789 ret = futex_atomic_cmpxchg_inatomic(curval, uaddr, uval, newval); in cmpxchg_futex_value_locked()
1061 static int attach_to_pi_state(u32 __user *uaddr, u32 uval, in attach_to_pi_state() argument
1101 if (get_futex_value_locked(&uval2, uaddr)) in attach_to_pi_state()
1209 static int handle_exit_race(u32 __user *uaddr, u32 uval, in handle_exit_race() argument
[all …]
/kernel/bpf/
Dcgroup.c701 struct sockaddr *uaddr, in __cgroup_bpf_run_filter_sock_addr() argument
707 .uaddr = uaddr, in __cgroup_bpf_run_filter_sock_addr()
720 if (!ctx.uaddr) { in __cgroup_bpf_run_filter_sock_addr()
722 ctx.uaddr = (struct sockaddr *)&unspec; in __cgroup_bpf_run_filter_sock_addr()
Dsyscall.c62 int bpf_check_uarg_tail_zero(void __user *uaddr, in bpf_check_uarg_tail_zero() argument
74 if (unlikely(!access_ok(uaddr, actual_size))) in bpf_check_uarg_tail_zero()
80 addr = uaddr + expected_size; in bpf_check_uarg_tail_zero()
81 end = uaddr + actual_size; in bpf_check_uarg_tail_zero()
/kernel/trace/
Dtrace_kprobe.c1054 const void __user *uaddr = (__force const void __user *)addr; in fetch_store_strlen_user() local
1056 return strnlen_unsafe_user(uaddr, MAX_STRING_SIZE); in fetch_store_strlen_user()
1093 const void __user *uaddr = (__force const void __user *)addr; in fetch_store_string_user() local
1103 ret = strncpy_from_unsafe_user(__dest, uaddr, maxlen); in fetch_store_string_user()
1119 const void __user *uaddr = (__force const void __user *)src; in probe_mem_read_user() local
1121 return probe_user_read(dest, uaddr, size); in probe_mem_read_user()