Home
last modified time | relevance | path

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

12345678910>>...84

/linux-3.4.99/include/linux/
Dsyscalls.h254 asmlinkage long sys_time(time_t __user *tloc);
255 asmlinkage long sys_stime(time_t __user *tptr);
256 asmlinkage long sys_gettimeofday(struct timeval __user *tv,
257 struct timezone __user *tz);
258 asmlinkage long sys_settimeofday(struct timeval __user *tv,
259 struct timezone __user *tz);
260 asmlinkage long sys_adjtimex(struct timex __user *txc_p);
262 asmlinkage long sys_times(struct tms __user *tbuf);
265 asmlinkage long sys_nanosleep(struct timespec __user *rqtp, struct timespec __user *rmtp);
273 asmlinkage long sys_getresuid(uid_t __user *ruid, uid_t __user *euid, uid_t __user *suid);
[all …]
Dcompat.h94 const struct compat_timespec __user *);
96 struct compat_timespec __user *);
98 const struct compat_timeval __user *);
100 struct compat_timeval __user *);
106 extern int compat_get_timespec(struct timespec *, const void __user *);
107 extern int compat_put_timespec(const struct timespec *, void __user *);
108 extern int compat_get_timeval(struct timeval *, const void __user *);
109 extern int compat_put_timeval(const struct timeval *, void __user *);
141 struct compat_rusage __user *);
146 struct compat_siginfo __user *, int,
[all …]
/linux-3.4.99/arch/x86/include/asm/
Duaccess_64.h40 _copy_to_user(void __user *to, const void *from, unsigned len);
42 _copy_from_user(void *to, const void __user *from, unsigned len);
44 copy_in_user(void __user *to, const void __user *from, unsigned len);
47 const void __user *from, in copy_from_user()
63 int copy_to_user(void __user *dst, const void *src, unsigned size) in copy_to_user()
71 int __copy_from_user(void *dst, const void __user *src, unsigned size) in __copy_from_user()
79 case 1:__get_user_asm(*(u8 *)dst, (u8 __user *)src, in __copy_from_user()
82 case 2:__get_user_asm(*(u16 *)dst, (u16 __user *)src, in __copy_from_user()
85 case 4:__get_user_asm(*(u32 *)dst, (u32 __user *)src, in __copy_from_user()
88 case 8:__get_user_asm(*(u64 *)dst, (u64 __user *)src, in __copy_from_user()
[all …]
Dsys_ia32.h23 asmlinkage long sys32_truncate64(const char __user *, unsigned long, unsigned long);
26 asmlinkage long sys32_stat64(const char __user *, struct stat64 __user *);
27 asmlinkage long sys32_lstat64(const char __user *, struct stat64 __user *);
28 asmlinkage long sys32_fstat64(unsigned int, struct stat64 __user *);
29 asmlinkage long sys32_fstatat(unsigned int, const char __user *,
30 struct stat64 __user *, int);
32 asmlinkage long sys32_mmap(struct mmap_arg_struct32 __user *);
37 asmlinkage long sys32_rt_sigaction(int, struct sigaction32 __user *,
38 struct sigaction32 __user *, unsigned int);
39 asmlinkage long sys32_sigaction(int, struct old_sigaction32 __user *,
[all …]
Dsyscalls.h26 long sys_execve(const char __user *,
27 const char __user *const __user *,
28 const char __user *const __user *, struct pt_regs *);
29 long sys_clone(unsigned long, unsigned long, void __user *,
30 void __user *, struct pt_regs *);
33 asmlinkage int sys_modify_ldt(int, void __user *, unsigned long);
37 long sys_sigaltstack(const stack_t __user *, stack_t __user *,
42 asmlinkage int sys_set_thread_area(struct user_desc __user *);
43 asmlinkage int sys_get_thread_area(struct user_desc __user *);
50 asmlinkage int sys_sigaction(int, const struct old_sigaction __user *,
[all …]
Duaccess_32.h14 (void __user *to, const void *from, unsigned long n);
16 (void *to, const void __user *from, unsigned long n);
18 (void *to, const void __user *from, unsigned long n);
20 (void *to, const void __user *from, unsigned long n);
22 (void *to, const void __user *from, unsigned long n);
44 __copy_to_user_inatomic(void __user *to, const void *from, unsigned long n) in __copy_to_user_inatomic()
51 __put_user_size(*(u8 *)from, (u8 __user *)to, in __copy_to_user_inatomic()
55 __put_user_size(*(u16 *)from, (u16 __user *)to, in __copy_to_user_inatomic()
59 __put_user_size(*(u32 *)from, (u32 __user *)to, in __copy_to_user_inatomic()
82 __copy_to_user(void __user *to, const void *from, unsigned long n) in __copy_to_user()
[all …]
/linux-3.4.99/arch/s390/kernel/
Dcompat_linux.h167 long sys32_chown16(const char __user * filename, u16 user, u16 group);
168 long sys32_lchown16(const char __user * filename, u16 user, u16 group);
175 long sys32_getresuid16(u16 __user *ruid, u16 __user *euid, u16 __user *suid);
177 long sys32_getresgid16(u16 __user *rgid, u16 __user *egid, u16 __user *sgid);
180 long sys32_getgroups16(int gidsetsize, u16 __user *grouplist);
181 long sys32_setgroups16(int gidsetsize, u16 __user *grouplist);
187 long sys32_truncate64(const char __user * path, unsigned long high,
191 struct compat_timespec __user *interval);
192 long sys32_rt_sigprocmask(int how, compat_sigset_t __user *set,
193 compat_sigset_t __user *oset, size_t sigsetsize);
[all …]
/linux-3.4.99/arch/tile/include/asm/
Duaccess.h139 extern struct __get_user __get_user_1(const void __user *);
140 extern struct __get_user __get_user_2(const void __user *);
141 extern struct __get_user __get_user_4(const void __user *);
142 extern struct __get_user __get_user_8(const void __user *);
143 extern int __put_user_1(long, void __user *);
144 extern int __put_user_2(long, void __user *);
145 extern int __put_user_4(long, void __user *);
146 extern int __put_user_8(long long, void __user *);
178 __typeof__(*(ptr)) const __user *__gu_addr = (ptr); \
230 __typeof__(*(ptr)) __user *__pu_addr = (ptr); \
[all …]
Dcompat.h182 static inline void __user *compat_ptr(compat_uptr_t uptr) in compat_ptr()
184 return (void __user *)(long)(s32)uptr; in compat_ptr()
187 static inline compat_uptr_t ptr_to_compat(void __user *uptr) in ptr_to_compat()
193 static inline unsigned long ptr_to_compat_reg(void __user *uptr) in ptr_to_compat_reg()
198 static inline void __user *arch_compat_alloc_user_space(long len) in arch_compat_alloc_user_space()
201 return (void __user *)regs->sp - len; in arch_compat_alloc_user_space()
217 long compat_sys_execve(const char __user *path,
218 compat_uptr_t __user *argv,
219 compat_uptr_t __user *envp, struct pt_regs *);
220 long compat_sys_rt_sigaction(int sig, struct compat_sigaction __user *act,
[all …]
/linux-3.4.99/drivers/staging/tidspbridge/include/dspbridge/
Ddspapi-ioctl.h32 struct dsp_ndbprops __user *ndb_props;
34 u32 __user *num_nodes;
39 struct dsp_processorinfo __user *processor_info;
41 u32 __user *num_procs;
56 struct dsp_notification __user *__user *anotifications;
58 u32 __user *index;
65 struct dsp_processorattrin __user *attr_in;
66 void *__user *ph_processor;
72 struct dsp_cbdata __user *args;
81 void *__user *node_tab;
[all …]
/linux-3.4.99/include/net/
Dcompat.h32 extern int compat_sock_get_timestamp(struct sock *, struct timeval __user *);
33 extern int compat_sock_get_timestampns(struct sock *, struct timespec __user *);
43 extern int get_compat_msghdr(struct msghdr *, struct compat_msghdr __user *);
45 extern asmlinkage long compat_sys_sendmsg(int,struct compat_msghdr __user *,unsigned);
46 extern asmlinkage long compat_sys_sendmmsg(int, struct compat_mmsghdr __user *,
48 extern asmlinkage long compat_sys_recvmsg(int,struct compat_msghdr __user *,unsigned);
49 extern asmlinkage long compat_sys_recvmmsg(int, struct compat_mmsghdr __user *,
51 struct compat_timespec __user *);
52 extern asmlinkage long compat_sys_getsockopt(int, int, int, char __user *, int __user *);
57 extern int compat_mc_setsockopt(struct sock *, int, int, char __user *, unsigned int,
[all …]
/linux-3.4.99/arch/x86/math-emu/
Dload_store.c62 void __user * data_address) in FPU_load_store()
117 FPU_load_single((float __user *)data_address, &loaded_data); in FPU_load_store()
129 FPU_load_int32((long __user *)data_address, &loaded_data); in FPU_load_store()
135 FPU_load_double((double __user *)data_address, in FPU_load_store()
148 FPU_load_int16((short __user *)data_address, &loaded_data); in FPU_load_store()
154 (float __user *)data_address); in FPU_load_store()
158 FPU_store_int32(st0_ptr, st0_tag, (long __user *)data_address); in FPU_load_store()
163 (double __user *)data_address); in FPU_load_store()
167 FPU_store_int16(st0_ptr, st0_tag, (short __user *)data_address); in FPU_load_store()
172 (st0_ptr, st0_tag, (float __user *)data_address)) in FPU_load_store()
[all …]
Dfpu_proto.h77 extern void __user *FPU_get_address(u_char FPU_modrm, unsigned long *fpu_eip,
80 extern void __user *FPU_get_address_16(u_char FPU_modrm, unsigned long *fpu_eip,
85 void __user * data_address);
114 extern int FPU_load_extended(long double __user *s, int stnr);
115 extern int FPU_load_double(double __user *dfloat, FPU_REG *loaded_data);
116 extern int FPU_load_single(float __user *single, FPU_REG *loaded_data);
117 extern int FPU_load_int64(long long __user *_s);
118 extern int FPU_load_int32(long __user *_s, FPU_REG *loaded_data);
119 extern int FPU_load_int16(short __user *_s, FPU_REG *loaded_data);
120 extern int FPU_load_bcd(u_char __user *s);
[all …]
/linux-3.4.99/drivers/gpu/drm/
Ddrm_ioc32.c89 struct drm_version __user *version; in compat_drm_version()
92 if (copy_from_user(&v32, (void __user *)arg, sizeof(v32))) in compat_drm_version()
99 || __put_user((void __user *)(unsigned long)v32.name, in compat_drm_version()
102 || __put_user((void __user *)(unsigned long)v32.date, in compat_drm_version()
105 || __put_user((void __user *)(unsigned long)v32.desc, in compat_drm_version()
122 if (copy_to_user((void __user *)arg, &v32, sizeof(v32))) in compat_drm_version()
136 struct drm_unique __user *u; in compat_drm_getunique()
139 if (copy_from_user(&uq32, (void __user *)arg, sizeof(uq32))) in compat_drm_getunique()
146 || __put_user((void __user *)(unsigned long)uq32.unique, in compat_drm_getunique()
156 if (copy_to_user((void __user *)arg, &uq32, sizeof(uq32))) in compat_drm_getunique()
[all …]
/linux-3.4.99/arch/s390/include/asm/
Dzcrypt.h48 char __user * inputdata;
50 char __user * outputdata;
52 char __user * b_key;
53 char __user * n_modulus;
71 char __user * inputdata;
73 char __user * outputdata;
75 char __user * bp_key;
76 char __user * bq_key;
77 char __user * np_prime;
78 char __user * nq_prime;
[all …]
Duaccess.h80 size_t (*copy_from_user)(size_t, const void __user *, void *);
81 size_t (*copy_from_user_small)(size_t, const void __user *, void *);
82 size_t (*copy_to_user)(size_t, void __user *, const void *);
83 size_t (*copy_to_user_small)(size_t, void __user *, const void *);
84 size_t (*copy_in_user)(size_t, void __user *, const void __user *);
85 size_t (*clear_user)(size_t, void __user *);
86 size_t (*strnlen_user)(size_t, const char __user *);
87 size_t (*strncpy_from_user)(size_t, const char __user *, char *);
88 int (*futex_atomic_op)(int op, u32 __user *, int oparg, int *old);
89 int (*futex_atomic_cmpxchg)(u32 *, u32 __user *, u32 old, u32 new);
[all …]
/linux-3.4.99/arch/ia64/include/asm/
Duaccess.h101 case 2: __ret = (__put_user((x), (u8 __user *)(ptr))) \
102 | (__put_user((x) >> 8, ((u8 __user *)(ptr) + 1))); break; \
103 case 4: __ret = (__put_user((x), (u16 __user *)(ptr))) \
104 | (__put_user((x) >> 16, ((u16 __user *)(ptr) + 1))); break; \
105 case 8: __ret = (__put_user((x), (u32 __user *)(ptr))) \
106 | (__put_user((x) >> 32, ((u32 __user *)(ptr) + 1))); break; \
119 case 2: __ret = (__get_user((x), (u8 __user *)(ptr))) \
120 | (__get_user((x) >> 8, ((u8 __user *)(ptr) + 1))); break; \
121 case 4: __ret = (__get_user((x), (u16 __user *)(ptr))) \
122 | (__get_user((x) >> 16, ((u16 __user *)(ptr) + 1))); break; \
[all …]
/linux-3.4.99/include/asm-generic/
Dsyscalls.h13 void __user *parent_tid, void __user *child_tid,
26 asmlinkage long sys_execve(const char __user *filename,
27 const char __user *const __user *argv,
28 const char __user *const __user *envp,
45 asmlinkage long sys_sigaltstack(const stack_t __user *, stack_t __user *,
54 asmlinkage long sys_rt_sigsuspend(sigset_t __user *unewset, size_t sigsetsize);
58 asmlinkage long sys_rt_sigaction(int sig, const struct sigaction __user *act,
59 struct sigaction __user *oact, size_t sigsetsize);
/linux-3.4.99/ipc/
Dsyscall.c17 unsigned long, third, void __user *, ptr, long, fifth) in SYSCALL_DEFINE6() argument
26 return sys_semtimedop(first, (struct sembuf __user *)ptr, in SYSCALL_DEFINE6()
29 return sys_semtimedop(first, (struct sembuf __user *)ptr, in SYSCALL_DEFINE6()
31 (const struct timespec __user *)fifth); in SYSCALL_DEFINE6()
39 if (get_user(fourth.__pad, (void __user * __user *) ptr)) in SYSCALL_DEFINE6()
45 return sys_msgsnd(first, (struct msgbuf __user *) ptr, in SYSCALL_DEFINE6()
55 (struct ipc_kludge __user *) ptr, in SYSCALL_DEFINE6()
63 (struct msgbuf __user *) ptr, in SYSCALL_DEFINE6()
69 return sys_msgctl(first, second, (struct msqid_ds __user *)ptr); in SYSCALL_DEFINE6()
75 ret = do_shmat(first, (char __user *)ptr, in SYSCALL_DEFINE6()
[all …]
Dcompat_mq.c26 const struct compat_mq_attr __user *uattr) in get_compat_mq_attr()
38 struct compat_mq_attr __user *uattr) in put_compat_mq_attr()
49 asmlinkage long compat_sys_mq_open(const char __user *u_name, in compat_sys_mq_open()
51 struct compat_mq_attr __user *u_attr) in compat_sys_mq_open()
53 void __user *p = NULL; in compat_sys_mq_open()
67 static int compat_prepare_timeout(struct timespec __user * *p, in compat_prepare_timeout()
68 const struct compat_timespec __user *u) in compat_prepare_timeout()
82 const char __user *u_msg_ptr, in compat_sys_mq_timedsend()
84 const struct compat_timespec __user *u_abs_timeout) in compat_sys_mq_timedsend()
86 struct timespec __user *u_ts; in compat_sys_mq_timedsend()
[all …]
/linux-3.4.99/arch/s390/lib/
Duaccess.h11 extern size_t copy_from_user_std(size_t, const void __user *, void *);
12 extern size_t copy_to_user_std(size_t, void __user *, const void *);
13 extern size_t strnlen_user_std(size_t, const char __user *);
14 extern size_t strncpy_from_user_std(size_t, const char __user *, char *);
15 extern int futex_atomic_cmpxchg_std(u32 *, u32 __user *, u32, u32);
16 extern int futex_atomic_op_std(int, u32 __user *, int, int *);
18 extern size_t copy_from_user_pt(size_t, const void __user *, void *);
19 extern size_t copy_to_user_pt(size_t, void __user *, const void *);
20 extern int futex_atomic_op_pt(int, u32 __user *, int, int *);
21 extern int futex_atomic_cmpxchg_pt(u32 *, u32 __user *, u32, u32);
/linux-3.4.99/arch/alpha/kernel/
Dosf_sys.c99 struct osf_dirent __user *dirent;
100 long __user *basep;
109 struct osf_dirent __user *dirent; in osf_filldir()
134 dirent = (void __user *)dirent + reclen; in osf_filldir()
144 struct osf_dirent __user *, dirent, unsigned int, count, in SYSCALL_DEFINE4() argument
145 long __user *, basep) in SYSCALL_DEFINE4() argument
213 linux_to_osf_statfs(struct kstatfs *linux_stat, struct osf_statfs __user *osf_stat, in linux_to_osf_statfs()
233 SYSCALL_DEFINE3(osf_statfs, const char __user *, pathname, in SYSCALL_DEFINE3() argument
234 struct osf_statfs __user *, buffer, unsigned long, bufsiz) in SYSCALL_DEFINE3() argument
244 struct osf_statfs __user *, buffer, unsigned long, bufsiz) in SYSCALL_DEFINE3() argument
[all …]
/linux-3.4.99/arch/powerpc/include/asm/
Duaccess.h188 __typeof__(*(ptr)) __user *__pu_addr = (ptr); \
199 __typeof__(*(ptr)) __user *__pu_addr = (ptr); \
209 __typeof__(*(ptr)) __user *__pu_addr = (ptr); \
277 const __typeof__(*(ptr)) __user *__gu_addr = (ptr); \
291 const __typeof__(*(ptr)) __user *__gu_addr = (ptr); \
305 const __typeof__(*(ptr)) __user *__gu_addr = (ptr); \
317 const __typeof__(*(ptr)) __user *__gu_addr = (ptr); \
327 extern unsigned long __copy_tofrom_user(void __user *to,
328 const void __user *from, unsigned long size);
333 const void __user *from, unsigned long n) in copy_from_user()
[all …]
/linux-3.4.99/arch/xtensa/include/asm/
Dsyscall.h24 const struct sigaction __user *,
25 struct sigaction __user *,
27 asmlinkage long xtensa_shmat(int, char __user *, int);
33 asmlinkage long sys_pselect6(int n, fd_set __user *inp, fd_set __user *outp,
34 fd_set __user *exp, struct timespec __user *tsp, void __user *sig);
35 asmlinkage long sys_ppoll(struct pollfd __user *ufds, unsigned int nfds,
36 struct timespec __user *tsp, const sigset_t __user *sigmask,
/linux-3.4.99/kernel/
Dfutex_compat.c22 fetch_robust_entry(compat_uptr_t *uentry, struct robust_list __user **entry, in fetch_robust_entry()
23 compat_uptr_t __user *head, unsigned int *pi) in fetch_robust_entry()
34 static void __user *futex_uaddr(struct robust_list __user *entry, in futex_uaddr()
38 void __user *uaddr = compat_ptr(base + futex_offset); in futex_uaddr()
51 struct compat_robust_list_head __user *head = curr->compat_robust_list; in compat_exit_robust_list()
52 struct robust_list __user *entry, *next_entry, *pending; in compat_exit_robust_list()
82 while (entry != (struct robust_list __user *) &head->list) { in compat_exit_robust_list()
88 (compat_uptr_t __user *)&entry->next, &next_pi); in compat_exit_robust_list()
94 void __user *uaddr = futex_uaddr(entry, futex_offset); in compat_exit_robust_list()
113 void __user *uaddr = futex_uaddr(pending, futex_offset); in compat_exit_robust_list()
[all …]

12345678910>>...84