/Linux-v4.19/arch/s390/kernel/ |
D | compat_wrapper.c | 63 COMPAT_SYSCALL_WRAP2(creat, const char __user *, pathname, umode_t, mode); 64 COMPAT_SYSCALL_WRAP2(link, const char __user *, oldname, const char __user *, newname); 65 COMPAT_SYSCALL_WRAP1(unlink, const char __user *, pathname); 66 COMPAT_SYSCALL_WRAP1(chdir, const char __user *, filename); 67 COMPAT_SYSCALL_WRAP3(mknod, const char __user *, filename, umode_t, mode, unsigned, dev); 68 COMPAT_SYSCALL_WRAP2(chmod, const char __user *, filename, umode_t, mode); 69 COMPAT_SYSCALL_WRAP1(oldumount, char __user *, name); 70 COMPAT_SYSCALL_WRAP2(access, const char __user *, filename, int, mode); 71 COMPAT_SYSCALL_WRAP2(rename, const char __user *, oldname, const char __user *, newname); 72 COMPAT_SYSCALL_WRAP2(mkdir, const char __user *, pathname, umode_t, mode); [all …]
|
D | compat_linux.h | 91 long compat_sys_s390_chown16(const char __user *filename, u16 user, u16 group); 92 long compat_sys_s390_lchown16(const char __user *filename, u16 user, u16 group); 99 long compat_sys_s390_getresuid16(u16 __user *ruid, u16 __user *euid, u16 __user *suid); 101 long compat_sys_s390_getresgid16(u16 __user *rgid, u16 __user *egid, u16 __user *sgid); 104 long compat_sys_s390_getgroups16(int gidsetsize, u16 __user *grouplist); 105 long compat_sys_s390_setgroups16(int gidsetsize, u16 __user *grouplist); 110 long compat_sys_s390_truncate64(const char __user *path, u32 high, u32 low); 112 long compat_sys_s390_pread64(unsigned int fd, char __user *ubuf, compat_size_t count, u32 high, u32… 113 long compat_sys_s390_pwrite64(unsigned int fd, const char __user *ubuf, compat_size_t count, u32 hi… 115 long compat_sys_s390_stat64(const char __user *filename, struct stat64_emu31 __user *statbuf); [all …]
|
/Linux-v4.19/include/linux/ |
D | syscalls.h | 289 asmlinkage long sys_io_setup(unsigned nr_reqs, aio_context_t __user *ctx); 292 struct iocb __user * __user *); 293 asmlinkage long sys_io_cancel(aio_context_t ctx_id, struct iocb __user *iocb, 294 struct io_event __user *result); 298 struct io_event __user *events, 299 struct timespec __user *timeout); 303 struct io_event __user *events, 304 struct timespec __user *timeout, 308 asmlinkage long sys_setxattr(const char __user *path, const char __user *name, 309 const void __user *value, size_t size, int flags); [all …]
|
D | compat.h | 129 int get_compat_itimerval(struct itimerval *, const struct compat_itimerval __user *); 130 int put_compat_itimerval(struct compat_itimerval __user *, const struct itimerval *); 167 int compat_get_timex(struct timex *, const struct compat_timex __user *); 168 int compat_put_timex(struct compat_timex __user *, const struct timex *); 294 extern int compat_get_timespec(struct timespec *, const void __user *); 295 extern int compat_put_timespec(const struct timespec *, void __user *); 296 extern int compat_get_timeval(struct timeval *, const void __user *); 297 extern int compat_put_timeval(const struct timeval *, void __user *); 329 struct compat_rusage __user *); 451 long compat_get_bitmap(unsigned long *mask, const compat_ulong_t __user *umask, [all …]
|
D | vt_kern.h | 47 int con_set_cmap(unsigned char __user *cmap); 48 int con_get_cmap(unsigned char __user *cmap); 65 int con_set_trans_old(unsigned char __user * table); 66 int con_get_trans_old(unsigned char __user * table); 67 int con_set_trans_new(unsigned short __user * table); 68 int con_get_trans_new(unsigned short __user * table); 70 int con_set_unimap(struct vc_data *vc, ushort ct, struct unipair __user *list); 71 int con_get_unimap(struct vc_data *vc, ushort ct, ushort __user *uct, struct unipair __user *list); 79 static inline int con_set_trans_old(unsigned char __user *table) in con_set_trans_old() 83 static inline int con_get_trans_old(unsigned char __user *table) in con_get_trans_old() [all …]
|
/Linux-v4.19/arch/x86/math-emu/ |
D | load_store.c | 68 void __user * data_address) in FPU_load_store() 125 FPU_load_single((float __user *)data_address, &loaded_data); in FPU_load_store() 137 FPU_load_int32((long __user *)data_address, &loaded_data); in FPU_load_store() 143 FPU_load_double((double __user *)data_address, in FPU_load_store() 156 FPU_load_int16((short __user *)data_address, &loaded_data); in FPU_load_store() 166 (st0_ptr, st0_tag, (long __user *)data_address)) in FPU_load_store() 176 (st0_ptr, st0_tag, (long long __user *)data_address)) in FPU_load_store() 186 (st0_ptr, st0_tag, (short __user *)data_address)) in FPU_load_store() 194 (float __user *)data_address); in FPU_load_store() 198 FPU_store_int32(st0_ptr, st0_tag, (long __user *)data_address); in FPU_load_store() [all …]
|
D | fpu_proto.h | 86 extern void __user *FPU_get_address(u_char FPU_modrm, unsigned long *fpu_eip, 89 extern void __user *FPU_get_address_16(u_char FPU_modrm, unsigned long *fpu_eip, 94 void __user * data_address); 127 extern int FPU_load_extended(long double __user *s, int stnr); 128 extern int FPU_load_double(double __user *dfloat, FPU_REG *loaded_data); 129 extern int FPU_load_single(float __user *single, FPU_REG *loaded_data); 130 extern int FPU_load_int64(long long __user *_s); 131 extern int FPU_load_int32(long __user *_s, FPU_REG *loaded_data); 132 extern int FPU_load_int16(short __user *_s, FPU_REG *loaded_data); 133 extern int FPU_load_bcd(u_char __user *s); [all …]
|
D | reg_ld_str.c | 82 int FPU_load_extended(long double __user *s, int stnr) in FPU_load_extended() 95 int FPU_load_double(double __user *dfloat, FPU_REG *loaded_data) in FPU_load_double() 102 FPU_get_user(m64, 1 + (unsigned long __user *)dfloat); in FPU_load_double() 103 FPU_get_user(l64, (unsigned long __user *)dfloat); in FPU_load_double() 156 int FPU_load_single(float __user *single, FPU_REG *loaded_data) in FPU_load_single() 163 FPU_get_user(m32, (unsigned long __user *)single); in FPU_load_single() 210 int FPU_load_int64(long long __user *_s) in FPU_load_int64() 240 int FPU_load_int32(long __user *_s, FPU_REG *loaded_data) in FPU_load_int32() 269 int FPU_load_int16(short __user *_s, FPU_REG *loaded_data) in FPU_load_int16() 298 int FPU_load_bcd(u_char __user *s) in FPU_load_bcd() [all …]
|
/Linux-v4.19/arch/x86/include/asm/ |
D | uaccess_64.h | 66 raw_copy_from_user(void *dst, const void __user *src, unsigned long size) in raw_copy_from_user() 75 __get_user_asm_nozero(*(u8 *)dst, (u8 __user *)src, in raw_copy_from_user() 81 __get_user_asm_nozero(*(u16 *)dst, (u16 __user *)src, in raw_copy_from_user() 87 __get_user_asm_nozero(*(u32 *)dst, (u32 __user *)src, in raw_copy_from_user() 93 __get_user_asm_nozero(*(u64 *)dst, (u64 __user *)src, in raw_copy_from_user() 99 __get_user_asm_nozero(*(u64 *)dst, (u64 __user *)src, in raw_copy_from_user() 103 (u16 __user *)(8 + (char __user *)src), in raw_copy_from_user() 109 __get_user_asm_nozero(*(u64 *)dst, (u64 __user *)src, in raw_copy_from_user() 113 (u64 __user *)(8 + (char __user *)src), in raw_copy_from_user() 123 raw_copy_to_user(void __user *dst, const void *src, unsigned long size) in raw_copy_to_user() [all …]
|
/Linux-v4.19/net/ |
D | compat.c | 36 struct compat_msghdr __user *umsg, in get_compat_msghdr() 37 struct sockaddr __user **save_addr, in get_compat_msghdr() 91 ((void __user *)((char __user *)(cmsg) + sizeof(struct compat_cmsghdr))) 99 (struct compat_cmsghdr __user *)((msg)->msg_control) : \ 100 (struct compat_cmsghdr __user *)NULL) 108 static inline struct compat_cmsghdr __user *cmsg_compat_nxthdr(struct msghdr *msg, in cmsg_compat_nxthdr() 109 struct compat_cmsghdr __user *cmsg, int cmsg_len) in cmsg_compat_nxthdr() 111 char __user *ptr = (char __user *)cmsg + CMSG_COMPAT_ALIGN(cmsg_len); in cmsg_compat_nxthdr() 112 if ((unsigned long)(ptr + 1 - (char __user *)msg->msg_control) > in cmsg_compat_nxthdr() 115 return (struct compat_cmsghdr __user *)ptr; in cmsg_compat_nxthdr() [all …]
|
/Linux-v4.19/arch/s390/include/asm/ |
D | uaccess.h | 54 raw_copy_from_user(void *to, const void __user *from, unsigned long n); 57 raw_copy_to_user(void __user *to, const void *from, unsigned long n); 85 static inline int __put_user_fn(void *x, void __user *ptr, unsigned long size) in __put_user_fn() 92 rc = __put_get_user_asm((unsigned char __user *)ptr, in __put_user_fn() 97 rc = __put_get_user_asm((unsigned short __user *)ptr, in __put_user_fn() 102 rc = __put_get_user_asm((unsigned int __user *)ptr, in __put_user_fn() 107 rc = __put_get_user_asm((unsigned long __user *)ptr, in __put_user_fn() 115 static inline int __get_user_fn(void *x, const void __user *ptr, unsigned long size) in __get_user_fn() 123 (unsigned char __user *)ptr, in __get_user_fn() 128 (unsigned short __user *)ptr, in __get_user_fn() [all …]
|
/Linux-v4.19/include/net/ |
D | compat.h | 33 int compat_sock_get_timestamp(struct sock *, struct timeval __user *); 34 int compat_sock_get_timestampns(struct sock *, struct timespec __user *); 44 int get_compat_msghdr(struct msghdr *, struct compat_msghdr __user *, 45 struct sockaddr __user **, struct iovec **); 46 struct sock_fprog __user *get_compat_bpf_fprog(char __user *optval); 52 int compat_mc_setsockopt(struct sock *, int, int, char __user *, unsigned int, 53 int (*)(struct sock *, int, int, char __user *, 55 int compat_mc_getsockopt(struct sock *, int, int, char __user *, int __user *, 56 int (*)(struct sock *, int, int, char __user *, 57 int __user *));
|
/Linux-v4.19/arch/sparc/kernel/ |
D | systbls.h | 15 asmlinkage long sys_getdomainname(char __user *name, int len); 36 void __user *ptr, long fifth); 47 utrap_handler_t __user *old_p, 48 utrap_handler_t __user *old_d); 52 asmlinkage long compat_sys_truncate64(const char __user * path, 59 asmlinkage long compat_sys_stat64(const char __user * filename, 60 struct compat_stat64 __user *statbuf); 61 asmlinkage long compat_sys_lstat64(const char __user * filename, 62 struct compat_stat64 __user *statbuf); 64 struct compat_stat64 __user * statbuf); [all …]
|
/Linux-v4.19/arch/alpha/kernel/ |
D | osf_sys.c | 104 struct osf_dirent __user *dirent; 105 long __user *basep; 114 struct osf_dirent __user *dirent; in osf_filldir() 140 dirent = (void __user *)dirent + reclen; in osf_filldir() 150 struct osf_dirent __user *, dirent, unsigned int, count, in SYSCALL_DEFINE4() argument 151 long __user *, basep) in SYSCALL_DEFINE4() argument 277 linux_to_osf_stat(struct kstat *lstat, struct osf_stat __user *osf_stat) in linux_to_osf_stat() 303 linux_to_osf_statfs(struct kstatfs *linux_stat, struct osf_statfs __user *osf_stat, in linux_to_osf_statfs() 324 linux_to_osf_statfs64(struct kstatfs *linux_stat, struct osf_statfs64 __user *osf_stat, in linux_to_osf_statfs64() 343 SYSCALL_DEFINE3(osf_statfs, const char __user *, pathname, in SYSCALL_DEFINE3() argument [all …]
|
/Linux-v4.19/kernel/ |
D | futex_compat.c | 24 fetch_robust_entry(compat_uptr_t *uentry, struct robust_list __user **entry, in fetch_robust_entry() 25 compat_uptr_t __user *head, unsigned int *pi) in fetch_robust_entry() 36 static void __user *futex_uaddr(struct robust_list __user *entry, in futex_uaddr() 40 void __user *uaddr = compat_ptr(base + futex_offset); in futex_uaddr() 53 struct compat_robust_list_head __user *head = curr->compat_robust_list; in compat_exit_robust_list() 54 struct robust_list __user *entry, *next_entry, *pending; in compat_exit_robust_list() 84 while (entry != (struct robust_list __user *) &head->list) { in compat_exit_robust_list() 90 (compat_uptr_t __user *)&entry->next, &next_pi); in compat_exit_robust_list() 96 void __user *uaddr = futex_uaddr(entry, futex_offset); in compat_exit_robust_list() 115 void __user *uaddr = futex_uaddr(pending, futex_offset); in compat_exit_robust_list() [all …]
|
/Linux-v4.19/security/keys/ |
D | internal.h | 226 extern long keyctl_join_session_keyring(const char __user *); 227 extern long keyctl_update_key(key_serial_t, const void __user *, size_t); 232 extern long keyctl_describe_key(key_serial_t, char __user *, size_t); 233 extern long keyctl_keyring_search(key_serial_t, const char __user *, 234 const char __user *, key_serial_t); 235 extern long keyctl_read_key(key_serial_t, char __user *, size_t); 238 extern long keyctl_instantiate_key(key_serial_t, const void __user *, 244 extern long keyctl_get_security(key_serial_t keyid, char __user *buffer, 249 const struct iovec __user *, 258 const char __user *_type, [all …]
|
/Linux-v4.19/arch/powerpc/kernel/ |
D | signal_32.c | 92 static inline int put_sigset_t(compat_sigset_t __user *uset, sigset_t *set) in put_sigset_t() 98 const compat_sigset_t __user *uset) in get_sigset_t() 107 struct mcontext __user *frame) in save_general_regs() 132 struct mcontext __user *sr) in restore_general_regs() 150 static inline int put_sigset_t(sigset_t __user *uset, sigset_t *set) in put_sigset_t() 155 static inline int get_sigset_t(sigset_t *set, const sigset_t __user *uset) in get_sigset_t() 161 #define from_user_ptr(p) ((void __user *)(p)) 164 struct mcontext __user *frame) in save_general_regs() 171 struct mcontext __user *sr) in restore_general_regs() 243 unsigned long copy_fpr_to_user(void __user *to, in copy_fpr_to_user() [all …]
|
D | syscalls.c | 87 ppc_select(int n, fd_set __user *inp, fd_set __user *outp, fd_set __user *exp, struct timeval __use… in ppc_select() 91 unsigned long __user *buffer = (unsigned long __user *)n; in ppc_select() 94 || __get_user(inp, ((fd_set __user * __user *)(buffer+1))) in ppc_select() 95 || __get_user(outp, ((fd_set __user * __user *)(buffer+2))) in ppc_select() 96 || __get_user(exp, ((fd_set __user * __user *)(buffer+3))) in ppc_select() 97 || __get_user(tvp, ((struct timeval __user * __user *)(buffer+4)))) in ppc_select()
|
/Linux-v4.19/arch/xtensa/include/asm/ |
D | syscall.h | 15 asmlinkage long xtensa_shmat(int, char __user *, int); 21 asmlinkage long sys_pselect6(int n, fd_set __user *inp, fd_set __user *outp, 22 fd_set __user *exp, struct timespec __user *tsp, 23 void __user *sig); 24 asmlinkage long sys_ppoll(struct pollfd __user *ufds, unsigned int nfds, 25 struct timespec __user *tsp, 26 const sigset_t __user *sigmask,
|
/Linux-v4.19/arch/s390/include/uapi/asm/ |
D | zcrypt.h | 35 char __user *inputdata; 37 char __user *outputdata; 39 char __user *b_key; 40 char __user *n_modulus; 58 char __user *inputdata; 60 char __user *outputdata; 62 char __user *bp_key; 63 char __user *bq_key; 64 char __user *np_prime; 65 char __user *nq_prime; [all …]
|
/Linux-v4.19/arch/arm/kernel/ |
D | sys_oabi-compat.c | 119 struct oldabi_stat64 __user *statbuf) in cp_oldabi_stat64() 145 asmlinkage long sys_oabi_stat64(const char __user * filename, in sys_oabi_stat64() 146 struct oldabi_stat64 __user * statbuf) in sys_oabi_stat64() 155 asmlinkage long sys_oabi_lstat64(const char __user * filename, in sys_oabi_lstat64() 156 struct oldabi_stat64 __user * statbuf) in sys_oabi_lstat64() 166 struct oldabi_stat64 __user * statbuf) in sys_oabi_fstat64() 176 const char __user *filename, in sys_oabi_fstatat64() 177 struct oldabi_stat64 __user *statbuf, in sys_oabi_fstatat64() 205 if (copy_from_user(&user, (struct oabi_flock64 __user *)arg, in do_locks() 225 if (copy_to_user((struct oabi_flock64 __user *)arg, in do_locks() [all …]
|
/Linux-v4.19/drivers/media/v4l2-core/ |
D | v4l2-compat-ioctl32.c | 59 get_user(__x, (typeof(*__ptr) __user *)(__ptr)); \ 152 static int get_v4l2_window32(struct v4l2_window __user *p64, in get_v4l2_window32() 153 struct v4l2_window32 __user *p32, in get_v4l2_window32() 154 void __user *aux_buf, u32 aux_space) in get_v4l2_window32() 156 struct v4l2_clip32 __user *uclips; in get_v4l2_window32() 157 struct v4l2_clip __user *kclips; in get_v4l2_window32() 194 static int put_v4l2_window32(struct v4l2_window __user *p64, in put_v4l2_window32() 195 struct v4l2_window32 __user *p32) in put_v4l2_window32() 197 struct v4l2_clip __user *kclips; in put_v4l2_window32() 198 struct v4l2_clip32 __user *uclips; in put_v4l2_window32() [all …]
|
/Linux-v4.19/ipc/ |
D | syscall.c | 21 unsigned long, third, void __user *, ptr, long, fifth) in SYSCALL_DEFINE6() argument 30 return ksys_semtimedop(first, (struct sembuf __user *)ptr, in SYSCALL_DEFINE6() 35 (const struct __kernel_timespec __user *)fifth); in SYSCALL_DEFINE6() 38 (const struct compat_timespec __user *)fifth); in SYSCALL_DEFINE6() 48 if (get_user(arg, (unsigned long __user *) ptr)) in SYSCALL_DEFINE6() 54 return ksys_msgsnd(first, (struct msgbuf __user *) ptr, in SYSCALL_DEFINE6() 64 (struct ipc_kludge __user *) ptr, in SYSCALL_DEFINE6() 72 (struct msgbuf __user *) ptr, in SYSCALL_DEFINE6() 79 (struct msqid_ds __user *)ptr); in SYSCALL_DEFINE6() 85 ret = do_shmat(first, (char __user *)ptr, in SYSCALL_DEFINE6() [all …]
|
/Linux-v4.19/fs/ |
D | utimes.c | 24 SYSCALL_DEFINE2(utime, char __user *, filename, struct utimbuf __user *, times) in SYSCALL_DEFINE2() argument 119 long do_utimes(int dfd, const char __user *filename, struct timespec64 *times, in do_utimes() 168 SYSCALL_DEFINE4(utimensat, int, dfd, const char __user *, filename, in SYSCALL_DEFINE4() argument 169 struct timespec __user *, utimes, int, flags) in SYSCALL_DEFINE4() argument 187 static long do_futimesat(int dfd, const char __user *filename, in do_futimesat() 188 struct timeval __user *utimes) in do_futimesat() 216 SYSCALL_DEFINE3(futimesat, int, dfd, const char __user *, filename, in SYSCALL_DEFINE3() argument 217 struct timeval __user *, utimes) in SYSCALL_DEFINE3() argument 222 SYSCALL_DEFINE2(utimes, char __user *, filename, in SYSCALL_DEFINE2() argument 223 struct timeval __user *, utimes) in SYSCALL_DEFINE2() argument [all …]
|
/Linux-v4.19/arch/powerpc/perf/ |
D | callchain.c | 115 static int read_user_stack_slow(void __user *ptr, void *buf, int nb) in read_user_stack_slow() 156 static int read_user_stack_64(unsigned long __user *ptr, unsigned long *ret) in read_user_stack_64() 172 static int read_user_stack_32(unsigned int __user *ptr, unsigned int *ret) in read_user_stack_32() 225 struct signal_frame_64 __user *sf; in sane_signal_64_frame() 228 sf = (struct signal_frame_64 __user *) sp; in sane_signal_64_frame() 229 if (read_user_stack_64((unsigned long __user *) &sf->pinfo, &pinfo) || in sane_signal_64_frame() 230 read_user_stack_64((unsigned long __user *) &sf->puc, &puc)) in sane_signal_64_frame() 243 struct signal_frame_64 __user *sigframe; in perf_callchain_user_64() 244 unsigned long __user *fp, *uregs; in perf_callchain_user_64() 252 fp = (unsigned long __user *) sp; in perf_callchain_user_64() [all …]
|