Home
last modified time | relevance | path

Searched refs:__user (Results 1 – 25 of 87) sorted by relevance

1234

/kernel/
Dcompat.c29 static int __compat_get_timeval(struct timeval *tv, const struct old_timeval32 __user *ctv) in __compat_get_timeval()
36 static int __compat_put_timeval(const struct timeval *tv, struct old_timeval32 __user *ctv) in __compat_put_timeval()
43 static int __compat_get_timespec(struct timespec *ts, const struct old_timespec32 __user *cts) in __compat_get_timespec()
50 static int __compat_put_timespec(const struct timespec *ts, struct old_timespec32 __user *cts) in __compat_put_timespec()
57 int compat_get_timeval(struct timeval *tv, const void __user *utv) in compat_get_timeval()
66 int compat_put_timeval(const struct timeval *tv, void __user *utv) in compat_put_timeval()
75 int compat_get_timespec(struct timespec *ts, const void __user *uts) in compat_get_timespec()
84 int compat_put_timespec(const struct timespec *ts, void __user *uts) in compat_put_timespec()
93 int get_compat_itimerval(struct itimerval *o, const struct compat_itimerval __user *i) in get_compat_itimerval()
106 int put_compat_itimerval(struct compat_itimerval __user *o, const struct itimerval *i) in put_compat_itimerval()
[all …]
Duid16.c23 SYSCALL_DEFINE3(chown16, const char __user *, filename, old_uid_t, user, old_gid_t, group) in SYSCALL_DEFINE3() argument
28 SYSCALL_DEFINE3(lchown16, const char __user *, filename, old_uid_t, user, old_gid_t, group) in SYSCALL_DEFINE3() argument
64 SYSCALL_DEFINE3(getresuid16, old_uid_t __user *, ruidp, old_uid_t __user *, euidp, old_uid_t __user in SYSCALL_DEFINE3() argument
87 SYSCALL_DEFINE3(getresgid16, old_gid_t __user *, rgidp, old_gid_t __user *, egidp, old_gid_t __user in SYSCALL_DEFINE3() argument
114 static int groups16_to_user(old_gid_t __user *grouplist, in groups16_to_user()
133 old_gid_t __user *grouplist) in groups16_from_user()
154 SYSCALL_DEFINE2(getgroups16, int, gidsetsize, old_gid_t __user *, grouplist) in SYSCALL_DEFINE2() argument
177 SYSCALL_DEFINE2(setgroups16, int, gidsetsize, old_gid_t __user *, grouplist) in SYSCALL_DEFINE2() argument
Dfutex.c527 get_futex_key(u32 __user *uaddr, int fshared, union futex_key *key, enum futex_access rw) in get_futex_key()
751 static int fault_in_user_writeable(u32 __user *uaddr) in fault_in_user_writeable()
783 static int cmpxchg_futex_value_locked(u32 *curval, u32 __user *uaddr, in cmpxchg_futex_value_locked()
795 static int get_futex_value_locked(u32 *dest, u32 __user *from) in get_futex_value_locked()
1061 static int attach_to_pi_state(u32 __user *uaddr, u32 uval, in attach_to_pi_state()
1209 static int handle_exit_race(u32 __user *uaddr, u32 uval, in handle_exit_race()
1269 static int attach_to_pi_owner(u32 __user *uaddr, u32 uval, union futex_key *key, in attach_to_pi_owner()
1359 static int lookup_pi_state(u32 __user *uaddr, u32 uval, in lookup_pi_state()
1380 static int lock_pi_update_atomic(u32 __user *uaddr, u32 uval, u32 newval) in lock_pi_update_atomic()
1420 static int futex_lock_pi_atomic(u32 __user *uaddr, struct futex_hash_bucket *hb, in futex_lock_pi_atomic()
[all …]
Dsysctl.c213 void __user *buffer, size_t *lenp, loff_t *ppos);
215 void __user *buffer, size_t *lenp, loff_t *ppos);
220 void __user *buffer, size_t *lenp, loff_t *ppos);
224 void __user *buffer, size_t *lenp, loff_t *ppos);
227 void __user *buffer, size_t *lenp, loff_t *ppos);
230 void __user *buffer, size_t *lenp, loff_t *ppos);
237 void __user *buffer, size_t *lenp, in sysrq_sysctl_handler()
2010 char __user *buffer, in _proc_do_string()
2014 char __user *p; in _proc_do_string()
2128 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_dostring()
[all …]
Dsignal.c67 static void __user *sig_handler(struct task_struct *t, int sig) in sig_handler()
72 static inline bool sig_handler_ignored(void __user *handler, int sig) in sig_handler_ignored()
81 void __user *handler; in sig_task_ignored()
551 void __user *handler = tsk->sighand->action[sig-1].sa.sa_handler; in unhandled_signal()
1651 int force_sig_fault_to_task(int sig, int code, void __user *addr in force_sig_fault_to_task()
1674 int force_sig_fault(int sig, int code, void __user *addr in force_sig_fault()
1683 int send_sig_fault(int sig, int code, void __user *addr in send_sig_fault()
1706 int force_sig_mceerr(int code, void __user *addr, short lsb) in force_sig_mceerr()
1720 int send_sig_mceerr(int code, void __user *addr, short lsb, struct task_struct *t) in send_sig_mceerr()
1735 int force_sig_bnderr(void __user *addr, void __user *lower, void __user *upper) in force_sig_bnderr()
[all …]
Dsysctl_binary.c25 void __user *oldval, size_t oldlen, void __user *newval, size_t newlen);
907 void __user *oldval, size_t oldlen, void __user *newval, size_t newlen) in bin_dir()
914 void __user *oldval, size_t oldlen, void __user *newval, size_t newlen) in bin_string()
919 char __user *lastp; in bin_string()
957 void __user *oldval, size_t oldlen, void __user *newval, size_t newlen) in bin_intvec()
969 unsigned __user *vec = oldval; in bin_intvec()
1000 unsigned __user *vec = newval; in bin_intvec()
1030 void __user *oldval, size_t oldlen, void __user *newval, size_t newlen) in bin_ulongvec()
1042 unsigned long __user *vec = oldval; in bin_ulongvec()
1073 unsigned long __user *vec = newval; in bin_ulongvec()
[all …]
Dsys.c693 SYSCALL_DEFINE3(getresuid, uid_t __user *, ruidp, uid_t __user *, euidp, uid_t __user *, suidp) in SYSCALL_DEFINE3() argument
772 SYSCALL_DEFINE3(getresgid, gid_t __user *, rgidp, gid_t __user *, egidp, gid_t __user *, sgidp) in SYSCALL_DEFINE3() argument
958 SYSCALL_DEFINE1(times, struct tms __user *, tbuf) in SYSCALL_DEFINE1() argument
977 COMPAT_SYSCALL_DEFINE1(times, struct compat_tms __user *, tbuf) in COMPAT_SYSCALL_DEFINE1() argument
1215 static int override_release(char __user *release, size_t len) in override_release()
1241 SYSCALL_DEFINE1(newuname, struct new_utsname __user *, name) in SYSCALL_DEFINE1() argument
1262 SYSCALL_DEFINE1(uname, struct old_utsname __user *, name) in SYSCALL_DEFINE1() argument
1282 SYSCALL_DEFINE1(olduname, struct oldold_utsname __user *, name) in SYSCALL_DEFINE1() argument
1307 SYSCALL_DEFINE2(sethostname, char __user *, name, int, len) in SYSCALL_DEFINE2() argument
1334 SYSCALL_DEFINE2(gethostname, char __user *, name, int, len) in SYSCALL_DEFINE2() argument
[all …]
Dkexec.c24 struct kexec_segment __user *segments) in copy_user_segment_list()
41 struct kexec_segment __user *segments, in kimage_alloc_init()
107 struct kexec_segment __user *segments, unsigned long flags) in do_kexec_load()
233 struct kexec_segment __user *, segments, unsigned long, flags) in SYSCALL_DEFINE4() argument
267 struct compat_kexec_segment __user *, segments, in COMPAT_SYSCALL_DEFINE4() argument
271 struct kexec_segment out, __user *ksegments; in COMPAT_SYSCALL_DEFINE4()
Dseccomp.c477 seccomp_prepare_user_filter(const char __user *user_filter) in seccomp_prepare_user_filter()
595 info->si_call_addr = (void __user *)KSTK_EIP(current); in seccomp_init_siginfo()
1012 void __user *buf) in seccomp_notify_recv()
1088 void __user *buf) in seccomp_notify_send()
1133 void __user *buf) in seccomp_notify_id_valid()
1164 void __user *buf = (void __user *)arg; in seccomp_notify_ioctl()
1259 const char __user *filter) in seccomp_set_mode_filter()
1342 const char __user *filter) in seccomp_set_mode_filter()
1348 static long seccomp_get_action_avail(const char __user *uaction) in seccomp_get_action_avail()
1372 static long seccomp_get_notif_sizes(void __user *usizes) in seccomp_get_notif_sizes()
[all …]
Dptrace.c593 int ptrace_readdata(struct task_struct *tsk, unsigned long src, char __user *dst, int len) in ptrace_readdata()
619 int ptrace_writedata(struct task_struct *tsk, char __user *src, unsigned long dst, int len) in ptrace_writedata()
715 ret = copy_from_user(&arg, (void __user *) addr, in ptrace_peek_siginfo()
755 compat_siginfo_t __user *uinfo = compat_ptr(data); in ptrace_peek_siginfo()
765 siginfo_t __user *uinfo = (siginfo_t __user *) data; in ptrace_peek_siginfo()
960 void __user *datavp) in ptrace_get_syscall_info()
1008 void __user *datavp = (void __user *) data; in ptrace_request()
1009 unsigned long __user *datalp = datavp; in ptrace_request()
1203 struct iovec __user *uiov = datavp; in ptrace_request()
1296 return put_user(tmp, (unsigned long __user *)data); in generic_ptrace_peekdata()
[all …]
Drseq.c117 struct rseq_cs __user *urseq_cs; in rseq_get_rseq_cs()
119 u32 __user *usig; in rseq_get_rseq_cs()
131 urseq_cs = (struct rseq_cs __user *)(unsigned long)ptr; in rseq_get_rseq_cs()
147 usig = (u32 __user *)(unsigned long)(rseq_cs->abort_ip - sizeof(u32)); in rseq_get_rseq_cs()
307 SYSCALL_DEFINE4(rseq, struct rseq __user *, rseq, u32, rseq_len, in SYSCALL_DEFINE4() argument
Dgroups.c42 static int groups_to_user(gid_t __user *grouplist, in groups_to_user()
60 gid_t __user *grouplist) in groups_from_user()
153 SYSCALL_DEFINE2(getgroups, int, gidsetsize, gid_t __user *, grouplist) in SYSCALL_DEFINE2() argument
190 SYSCALL_DEFINE2(setgroups, int, gidsetsize, gid_t __user *, grouplist) in SYSCALL_DEFINE2() argument
Dwatchdog.c681 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_watchdog_common()
708 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_watchdog()
718 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_nmi_watchdog()
730 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_soft_watchdog()
740 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_watchdog_thresh()
763 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_watchdog_cpumask()
Dumh.c113 (const char __user *const __user *)sub_info->argv, in call_usermodehelper_exec_async()
114 (const char __user *const __user *)sub_info->envp); in call_usermodehelper_exec_async()
150 kernel_wait4(pid, (int __user *)&ret, 0, NULL); in call_usermodehelper_exec_sync()
633 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_cap_handler()
Dexit.c1549 SYSCALL_DEFINE5(waitid, int, which, pid_t, upid, struct siginfo __user *, in SYSCALL_DEFINE5() argument
1550 infop, int, options, struct rusage __user *, ru) in SYSCALL_DEFINE5() argument
1582 long kernel_wait4(pid_t upid, int __user *stat_addr, int options, in kernel_wait4()
1625 SYSCALL_DEFINE4(wait4, pid_t, upid, int __user *, stat_addr, in SYSCALL_DEFINE4() argument
1626 int, options, struct rusage __user *, ru) in SYSCALL_DEFINE4() argument
1644 SYSCALL_DEFINE3(waitpid, pid_t, pid, int __user *, stat_addr, int, options) in SYSCALL_DEFINE3() argument
1654 compat_uint_t __user *, stat_addr, in COMPAT_SYSCALL_DEFINE4() argument
1656 struct compat_rusage __user *, ru) in COMPAT_SYSCALL_DEFINE4() argument
1669 struct compat_siginfo __user *, infop, int, options, in COMPAT_SYSCALL_DEFINE5() argument
1670 struct compat_rusage __user *, uru) in COMPAT_SYSCALL_DEFINE5() argument
Dfork.c1637 SYSCALL_DEFINE1(set_tid_address, int __user *, tidptr) in SYSCALL_DEFINE1() argument
2426 int __user *parent_tidptr, in do_fork()
2427 int __user *child_tidptr) in do_fork()
2492 int __user *, parent_tidptr, in SYSCALL_DEFINE5() argument
2494 int __user *, child_tidptr) in SYSCALL_DEFINE5()
2497 int __user *, parent_tidptr, in SYSCALL_DEFINE5()
2498 int __user *, child_tidptr, in SYSCALL_DEFINE5()
2503 int __user *, parent_tidptr, in SYSCALL_DEFINE5()
2504 int __user *, child_tidptr, in SYSCALL_DEFINE5()
2508 int __user *, parent_tidptr, in SYSCALL_DEFINE5()
[all …]
/kernel/time/
Dtime.c62 SYSCALL_DEFINE1(time, time_t __user *, tloc) in SYSCALL_DEFINE1() argument
81 SYSCALL_DEFINE1(stime, time_t __user *, tptr) in SYSCALL_DEFINE1() argument
105 SYSCALL_DEFINE1(time32, old_time32_t __user *, tloc) in SYSCALL_DEFINE1() argument
119 SYSCALL_DEFINE1(stime32, old_time32_t __user *, tptr) in SYSCALL_DEFINE1() argument
140 SYSCALL_DEFINE2(gettimeofday, struct timeval __user *, tv, in SYSCALL_DEFINE2() argument
141 struct timezone __user *, tz) in SYSCALL_DEFINE2() argument
199 SYSCALL_DEFINE2(settimeofday, struct timeval __user *, tv, in SYSCALL_DEFINE2() argument
200 struct timezone __user *, tz) in SYSCALL_DEFINE2() argument
225 COMPAT_SYSCALL_DEFINE2(gettimeofday, struct old_timeval32 __user *, tv, in COMPAT_SYSCALL_DEFINE2() argument
226 struct timezone __user *, tz) in COMPAT_SYSCALL_DEFINE2() argument
[all …]
Dposix-stubs.c60 const struct __kernel_timespec __user *, tp) in SYSCALL_DEFINE2() argument
91 struct __kernel_timespec __user *, tp) in SYSCALL_DEFINE2() argument
105 SYSCALL_DEFINE2(clock_getres, const clockid_t, which_clock, struct __kernel_timespec __user *, tp) in SYSCALL_DEFINE2() argument
125 const struct __kernel_timespec __user *, rqtp, in SYSCALL_DEFINE4() argument
126 struct __kernel_timespec __user *, rmtp) in SYSCALL_DEFINE4()
163 struct old_timespec32 __user *, tp) in SYSCALL_DEFINE2() argument
176 struct old_timespec32 __user *, tp) in SYSCALL_DEFINE2() argument
191 struct old_timespec32 __user *, tp) in SYSCALL_DEFINE2() argument
211 struct old_timespec32 __user *, rqtp, in SYSCALL_DEFINE4() argument
212 struct old_timespec32 __user *, rmtp) in SYSCALL_DEFINE4()
Dposix-timers.c473 timer_t __user *created_timer_id) in do_timer_create()
552 struct sigevent __user *, timer_event_spec, in SYSCALL_DEFINE3() argument
553 timer_t __user *, created_timer_id) in SYSCALL_DEFINE3() argument
567 struct compat_sigevent __user *, timer_event_spec, in COMPAT_SYSCALL_DEFINE3() argument
568 timer_t __user *, created_timer_id) in COMPAT_SYSCALL_DEFINE3() argument
719 struct __kernel_itimerspec __user *, setting) in SYSCALL_DEFINE2() argument
734 struct old_itimerspec32 __user *, setting) in SYSCALL_DEFINE2() argument
917 const struct __kernel_itimerspec __user *, new_setting, in SYSCALL_DEFINE4() argument
918 struct __kernel_itimerspec __user *, old_setting) in SYSCALL_DEFINE4()
940 struct old_itimerspec32 __user *, new, in SYSCALL_DEFINE4() argument
[all …]
Ditimer.c100 SYSCALL_DEFINE2(getitimer, int, which, struct itimerval __user *, value) in SYSCALL_DEFINE2() argument
116 struct compat_itimerval __user *, it) in COMPAT_SYSCALL_DEFINE2() argument
287 SYSCALL_DEFINE3(setitimer, int, which, struct itimerval __user *, value, in SYSCALL_DEFINE3() argument
288 struct itimerval __user *, ovalue) in SYSCALL_DEFINE3()
314 struct compat_itimerval __user *, in, in COMPAT_SYSCALL_DEFINE3() argument
315 struct compat_itimerval __user *, out) in COMPAT_SYSCALL_DEFINE3()
/kernel/power/
Duser.c134 static ssize_t snapshot_read(struct file *filp, char __user *buf, in snapshot_read()
167 static ssize_t snapshot_write(struct file *filp, const char __user *buf, in snapshot_write()
260 error = put_user(in_suspend, (int __user *)arg); in snapshot_ioctl()
302 error = put_user(size, (loff_t __user *)arg); in snapshot_ioctl()
308 error = put_user(size, (loff_t __user *)arg); in snapshot_ioctl()
319 error = put_user(offset, (loff_t __user *)arg); in snapshot_ioctl()
362 error = copy_from_user(&swap_area, (void __user *)arg, in snapshot_ioctl()
413 compat_loff_t __user *uoffset = compat_ptr(arg); in snapshot_compat_ioctl()
432 struct compat_resume_swap_area __user *u_swap_area = in snapshot_compat_ioctl()
/kernel/bpf/
Dsyscall.c62 int bpf_check_uarg_tail_zero(void __user *uaddr, in bpf_check_uarg_tail_zero()
66 unsigned char __user *addr; in bpf_check_uarg_tail_zero()
67 unsigned char __user *end; in bpf_check_uarg_tail_zero()
412 static ssize_t bpf_dummy_read(struct file *filp, char __user *buf, size_t siz, in bpf_dummy_read()
421 static ssize_t bpf_dummy_write(struct file *filp, const char __user *buf, in bpf_dummy_write()
725 static void *__bpf_copy_key(void __user *ukey, u64 key_size) in __bpf_copy_key()
741 void __user *ukey = u64_to_user_ptr(attr->key); in map_lookup_elem()
742 void __user *uvalue = u64_to_user_ptr(attr->value); in map_lookup_elem()
876 void __user *ukey = u64_to_user_ptr(attr->key); in map_update_elem()
877 void __user *uvalue = u64_to_user_ptr(attr->value); in map_update_elem()
[all …]
/kernel/locking/
Dlock_events.c61 ssize_t __weak lockevent_read(struct file *file, char __user *user_buf, in lockevent_read()
88 static ssize_t lockevent_write(struct file *file, const char __user *user_buf, in lockevent_write()
/kernel/irq/
Dproc.c116 const char __user *buffer, size_t count, loff_t *pos) in write_irq_affinity()
158 const char __user *buffer, size_t count, loff_t *pos) in irq_affinity_proc_write()
164 const char __user *buffer, size_t count, loff_t *pos) in irq_affinity_list_proc_write()
214 const char __user *buffer, size_t count, loff_t *ppos) in default_affinity_write()
/kernel/trace/
Dtrace_stack.c325 stack_max_size_read(struct file *filp, char __user *ubuf, in stack_max_size_read()
339 stack_max_size_write(struct file *filp, const char __user *ubuf, in stack_max_size_write()
519 void __user *buffer, size_t *lenp, in stack_trace_sysctl()

1234