Searched refs:uaddr (Results 1 – 7 of 7) sorted by relevance
/kernel/futex/ |
D | core.c | 543 static int get_futex_key(u32 __user *uaddr, bool fshared, union futex_key *key, in get_futex_key() argument 546 unsigned long address = (unsigned long)uaddr; in get_futex_key() 560 if (unlikely(!access_ok(uaddr, sizeof(u32)))) in get_futex_key() 742 static int fault_in_user_writeable(u32 __user *uaddr) in fault_in_user_writeable() argument 748 ret = fixup_user_fault(mm, (unsigned long)uaddr, in fault_in_user_writeable() 774 static int cmpxchg_futex_value_locked(u32 *curval, u32 __user *uaddr, in cmpxchg_futex_value_locked() argument 780 ret = futex_atomic_cmpxchg_inatomic(curval, uaddr, uval, newval); in cmpxchg_futex_value_locked() 1072 static int attach_to_pi_state(u32 __user *uaddr, u32 uval, in attach_to_pi_state() argument 1112 if (get_futex_value_locked(&uval2, uaddr)) in attach_to_pi_state() 1221 static int handle_exit_race(u32 __user *uaddr, u32 uval, in handle_exit_race() argument [all …]
|
/kernel/trace/ |
D | trace_probe_kernel.h | 15 const void __user *uaddr = (__force const void __user *)addr; in kern_fetch_store_strlen_user() local 17 return strnlen_user_nofault(uaddr, MAX_STRING_SIZE); in kern_fetch_store_strlen_user() 54 const void __user *uaddr = (__force const void __user *)addr; in kern_fetch_store_string_user() local 64 ret = strncpy_from_user_nofault(__dest, uaddr, maxlen); in kern_fetch_store_string_user()
|
D | trace_eprobe.c | 484 const void __user *uaddr = (__force const void __user *)src; in probe_mem_read_user() local 486 return copy_from_user_nofault(dest, uaddr, size); in probe_mem_read_user()
|
D | trace_kprobe.c | 1317 const void __user *uaddr = (__force const void __user *)src; in probe_mem_read_user() local 1319 return copy_from_user_nofault(dest, uaddr, size); in probe_mem_read_user()
|
/kernel/sched/ |
D | core_sched.c | 127 unsigned long uaddr) in sched_core_share_pid() argument 138 (cmd != PR_SCHED_CORE_GET && uaddr)) in sched_core_share_pid() 165 if (type != PIDTYPE_PID || uaddr & 7) { in sched_core_share_pid() 174 err = put_user(id, (u64 __user *)uaddr); in sched_core_share_pid()
|
/kernel/bpf/ |
D | cgroup.c | 1149 struct sockaddr *uaddr, in __cgroup_bpf_run_filter_sock_addr() argument 1156 .uaddr = uaddr, in __cgroup_bpf_run_filter_sock_addr() 1169 if (!ctx.uaddr) { in __cgroup_bpf_run_filter_sock_addr() 1171 ctx.uaddr = (struct sockaddr *)&unspec; in __cgroup_bpf_run_filter_sock_addr()
|
D | syscall.c | 78 int bpf_check_uarg_tail_zero(bpfptr_t uaddr, in bpf_check_uarg_tail_zero() argument 90 if (uaddr.is_kernel) in bpf_check_uarg_tail_zero() 91 res = memchr_inv(uaddr.kernel + expected_size, 0, in bpf_check_uarg_tail_zero() 94 res = check_zeroed_user(uaddr.user + expected_size, in bpf_check_uarg_tail_zero()
|