/linux-6.1.9/include/linux/ |
D | syscalls.h | 312 asmlinkage long sys_io_setup(unsigned nr_reqs, aio_context_t __user *ctx); 315 struct iocb __user * __user *); 316 asmlinkage long sys_io_cancel(aio_context_t ctx_id, struct iocb __user *iocb, 317 struct io_event __user *result); 321 struct io_event __user *events, 322 struct __kernel_timespec __user *timeout); 326 struct io_event __user *events, 327 struct old_timespec32 __user *timeout); 331 struct io_event __user *events, 332 struct __kernel_timespec __user *timeout, [all …]
|
D | compat.h | 135 int set_compat_user_sigmask(const compat_sigset_t __user *umask, 313 struct compat_rusage __user *); 433 const struct compat_siginfo __user *from); 434 int __copy_siginfo_to_user32(struct compat_siginfo __user *to, 440 const struct compat_sigevent __user *u_event); 442 extern int get_compat_sigset(sigset_t *set, const compat_sigset_t __user *compat); 449 put_compat_sigset(compat_sigset_t __user *compat, const sigset_t *set, in put_compat_sigset() 472 compat_sigset_t __user *__c = compat; \ 495 const compat_sigset_t __user *__c = compat; \ 523 compat_sigset_t __user *__c = compat; \ [all …]
|
D | socket.h | 67 void __user *msg_control_user; 80 void __user *msg_name; /* ptr to socket address structure */ 82 struct iovec __user *msg_iov; /* scatter/gather array */ 84 void __user *msg_control; /* ancillary data */ 120 ((void __user *)(cmsg) + sizeof(struct cmsghdr)) 383 extern int move_addr_to_kernel(void __user *uaddr, int ulen, struct sockaddr_storage *kaddr); 400 extern long __sys_recvmsg(int fd, struct user_msghdr __user *msg, 402 extern long __sys_sendmsg(int fd, struct user_msghdr __user *msg, 404 extern int __sys_recvmmsg(int fd, struct mmsghdr __user *mmsg, 406 struct __kernel_timespec __user *timeout, [all …]
|
D | vt_kern.h | 35 int con_set_cmap(unsigned char __user *cmap); 36 int con_get_cmap(unsigned char __user *cmap); 53 int con_set_trans_old(unsigned char __user * table); 54 int con_get_trans_old(unsigned char __user * table); 55 int con_set_trans_new(unsigned short __user * table); 56 int con_get_trans_new(unsigned short __user * table); 58 int con_set_unimap(struct vc_data *vc, ushort ct, struct unipair __user *list); 59 int con_get_unimap(struct vc_data *vc, ushort ct, ushort __user *uct, struct unipair __user *list); 65 static inline int con_set_trans_old(unsigned char __user *table) in con_set_trans_old() 69 static inline int con_get_trans_old(unsigned char __user *table) in con_get_trans_old() [all …]
|
D | uaccess.h | 59 __copy_from_user_inatomic(void *to, const void __user *from, unsigned long n) in __copy_from_user_inatomic() 71 __copy_from_user(void *to, const void __user *from, unsigned long n) in __copy_from_user() 99 __copy_to_user_inatomic(void __user *to, const void *from, unsigned long n) in __copy_to_user_inatomic() 109 __copy_to_user(void __user *to, const void *from, unsigned long n) in __copy_to_user() 121 _copy_from_user(void *to, const void __user *from, unsigned long n) in _copy_from_user() 136 _copy_from_user(void *, const void __user *, unsigned long); 141 _copy_to_user(void __user *to, const void *from, unsigned long n) in _copy_to_user() 154 _copy_to_user(void __user *, const void *, unsigned long); 158 copy_from_user(void *to, const void __user *from, unsigned long n) in copy_from_user() 166 copy_to_user(void __user *to, const void *from, unsigned long n) in copy_to_user() [all …]
|
/linux-6.1.9/security/keys/ |
D | internal.h | 236 extern long keyctl_join_session_keyring(const char __user *); 237 extern long keyctl_update_key(key_serial_t, const void __user *, size_t); 243 extern long keyctl_describe_key(key_serial_t, char __user *, size_t); 244 extern long keyctl_keyring_search(key_serial_t, const char __user *, 245 const char __user *, key_serial_t); 246 extern long keyctl_read_key(key_serial_t, char __user *, size_t); 249 extern long keyctl_instantiate_key(key_serial_t, const void __user *, 255 extern long keyctl_get_security(key_serial_t keyid, char __user *buffer, 260 const struct iovec __user *, 264 const char __user *_type, [all …]
|
/linux-6.1.9/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-6.1.9/arch/powerpc/kernel/ |
D | signal.h | 13 void __user *get_sigframe(struct ksignal *ksig, struct task_struct *tsk, 22 static inline int __get_user_sigset(sigset_t *dst, const sigset_t __user *src) in __get_user_sigset() 26 return __get_user(dst->sig[0], (u64 __user *)&src->sig[0]); in __get_user_sigset() 30 const sigset_t __user *__src = src; \ 38 extern unsigned long copy_vsx_to_user(void __user *to, 40 extern unsigned long copy_ckvsx_to_user(void __user *to, 43 void __user *from); 45 void __user *from); 46 unsigned long copy_fpr_to_user(void __user *to, struct task_struct *task); 47 unsigned long copy_ckfpr_to_user(void __user *to, struct task_struct *task); [all …]
|
D | signal_32.c | 92 __unsafe_save_general_regs(struct pt_regs *regs, struct mcontext __user *frame) in __unsafe_save_general_regs() 113 __unsafe_restore_general_regs(struct pt_regs *regs, struct mcontext __user *sr) in __unsafe_restore_general_regs() 134 sigset_t __user *__us = uset ; \ 143 #define from_user_ptr(p) ((void __user *)(p)) 146 __unsafe_save_general_regs(struct pt_regs *regs, struct mcontext __user *frame) in __unsafe_save_general_regs() 156 int __unsafe_restore_general_regs(struct pt_regs *regs, struct mcontext __user *sr) in __unsafe_restore_general_regs() 267 static int __unsafe_save_user_regs(struct pt_regs *regs, struct mcontext __user *frame, in __unsafe_save_user_regs() 268 struct mcontext __user *tm_frame, int ctx_has_vsx_region) in __unsafe_save_user_regs() 292 unsafe_put_user(current->thread.vrsave, (u32 __user *)&frame->mc_vregs[32], in __unsafe_save_user_regs() 327 (u32 __user *)&frame->mc_vregs + ELF_NEVRREG, failed); in __unsafe_save_user_regs() [all …]
|
/linux-6.1.9/arch/powerpc/include/asm/ |
D | uaccess.h | 39 __typeof__(*(ptr)) __user *__pu_addr = (ptr); \ 63 __typeof__(*(ptr)) __user *_pu_addr = (ptr); \ 101 __typeof__(*(ptr)) __user *__pus_addr = (ptr); \ 163 case 1: __get_user_asm_goto(x, (u8 __user *)ptr, label, "lbz"); break; \ 164 case 2: __get_user_asm_goto(x, (u16 __user *)ptr, label, "lhz"); break; \ 165 case 4: __get_user_asm_goto(x, (u32 __user *)ptr, label, "lwz"); break; \ 166 case 8: __get_user_asm2_goto(x, (u64 __user *)ptr, label); break; \ 224 case 1: __get_user_asm(x, (u8 __user *)ptr, retval, "lbz"); break; \ 225 case 2: __get_user_asm(x, (u16 __user *)ptr, retval, "lhz"); break; \ 226 case 4: __get_user_asm(x, (u32 __user *)ptr, retval, "lwz"); break; \ [all …]
|
/linux-6.1.9/arch/s390/include/uapi/asm/ |
D | zcrypt.h | 39 __u8 __user *inputdata; 41 __u8 __user *outputdata; 43 __u8 __user *b_key; 44 __u8 __user *n_modulus; 62 __u8 __user *inputdata; 64 __u8 __user *outputdata; 66 __u8 __user *bp_key; 67 __u8 __user *bq_key; 68 __u8 __user *np_prime; 69 __u8 __user *nq_prime; [all …]
|
/linux-6.1.9/arch/loongarch/kernel/ |
D | signal.c | 50 _save_fp_context(void __user *fpregs, void __user *fcc, void __user *csr); 52 _restore_fp_context(void __user *fpregs, void __user *fcc, void __user *csr); 71 static void __user *get_ctx_through_ctxinfo(struct sctx_info *info) in get_ctx_through_ctxinfo() 73 return (void __user *)((char *)info + sizeof(struct sctx_info)); in get_ctx_through_ctxinfo() 80 static int copy_fpu_to_sigcontext(struct fpu_context __user *ctx) in copy_fpu_to_sigcontext() 84 uint64_t __user *regs = (uint64_t *)&ctx->regs; in copy_fpu_to_sigcontext() 85 uint64_t __user *fcc = &ctx->fcc; in copy_fpu_to_sigcontext() 86 uint32_t __user *fcsr = &ctx->fcsr; in copy_fpu_to_sigcontext() 99 static int copy_fpu_from_sigcontext(struct fpu_context __user *ctx) in copy_fpu_from_sigcontext() 104 uint64_t __user *regs = (uint64_t *)&ctx->regs; in copy_fpu_from_sigcontext() [all …]
|
/linux-6.1.9/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() 197 static int get_oabi_flock(struct flock64 *kernel, struct oabi_flock64 __user *arg) in get_oabi_flock() 201 if (copy_from_user(&user, (struct oabi_flock64 __user *)arg, in get_oabi_flock() [all …]
|
/linux-6.1.9/tools/perf/trace/beauty/include/linux/ |
D | socket.h | 67 void __user *msg_control_user; 80 void __user *msg_name; /* ptr to socket address structure */ 82 struct iovec __user *msg_iov; /* scatter/gather array */ 84 void __user *msg_control; /* ancillary data */ 120 ((void __user *)(cmsg) + sizeof(struct cmsghdr)) 383 extern int move_addr_to_kernel(void __user *uaddr, int ulen, struct sockaddr_storage *kaddr); 400 extern long __sys_recvmsg(int fd, struct user_msghdr __user *msg, 402 extern long __sys_sendmsg(int fd, struct user_msghdr __user *msg, 404 extern int __sys_recvmmsg(int fd, struct mmsghdr __user *mmsg, 406 struct __kernel_timespec __user *timeout, [all …]
|
/linux-6.1.9/arch/alpha/kernel/ |
D | osf_sys.c | 105 struct osf_dirent __user *dirent; 106 long __user *basep; 115 struct osf_dirent __user *dirent; in osf_filldir() 141 dirent = (void __user *)dirent + reclen; in osf_filldir() 151 struct osf_dirent __user *, dirent, unsigned int, count, in SYSCALL_DEFINE4() argument 152 long __user *, basep) in SYSCALL_DEFINE4() argument 278 linux_to_osf_stat(struct kstat *lstat, struct osf_stat __user *osf_stat) in linux_to_osf_stat() 304 linux_to_osf_statfs(struct kstatfs *linux_stat, struct osf_statfs __user *osf_stat, in linux_to_osf_statfs() 325 linux_to_osf_statfs64(struct kstatfs *linux_stat, struct osf_statfs64 __user *osf_stat, in linux_to_osf_statfs64() 344 SYSCALL_DEFINE3(osf_statfs, const char __user *, pathname, in SYSCALL_DEFINE3() argument [all …]
|
/linux-6.1.9/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-6.1.9/net/ |
D | compat.c | 38 struct sockaddr __user **save_addr) in __get_compat_msghdr() 84 struct compat_msghdr __user *umsg, in get_compat_msghdr() 85 struct sockaddr __user **save_addr, in get_compat_msghdr() 107 ((void __user *)((char __user *)(cmsg) + sizeof(struct compat_cmsghdr))) 115 (struct compat_cmsghdr __user *)((msg)->msg_control) : \ 116 (struct compat_cmsghdr __user *)NULL) 122 ((char __user *)(ucmsg) - (char __user *)(mhdr)->msg_control_user))) 124 static inline struct compat_cmsghdr __user *cmsg_compat_nxthdr(struct msghdr *msg, in cmsg_compat_nxthdr() 125 struct compat_cmsghdr __user *cmsg, int cmsg_len) in cmsg_compat_nxthdr() 127 char __user *ptr = (char __user *)cmsg + CMSG_COMPAT_ALIGN(cmsg_len); in cmsg_compat_nxthdr() [all …]
|
/linux-6.1.9/arch/s390/kernel/ |
D | compat_linux.h | 81 long compat_sys_s390_truncate64(const char __user *path, u32 high, u32 low); 83 long compat_sys_s390_pread64(unsigned int fd, char __user *ubuf, compat_size_t count, u32 high, u32… 84 long compat_sys_s390_pwrite64(unsigned int fd, const char __user *ubuf, compat_size_t count, u32 hi… 86 long compat_sys_s390_stat64(const char __user *filename, struct stat64_emu31 __user *statbuf); 87 long compat_sys_s390_lstat64(const char __user *filename, struct stat64_emu31 __user *statbuf); 88 long compat_sys_s390_fstat64(unsigned int fd, struct stat64_emu31 __user *statbuf); 89 …ompat_sys_s390_fstatat64(unsigned int dfd, const char __user *filename, struct stat64_emu31 __user… 90 long compat_sys_s390_old_mmap(struct mmap_arg_struct_emu31 __user *arg); 91 long compat_sys_s390_mmap2(struct mmap_arg_struct_emu31 __user *arg); 92 long compat_sys_s390_read(unsigned int fd, char __user *buf, compat_size_t count); [all …]
|
/linux-6.1.9/drivers/staging/vc04_services/interface/vchiq_arm/ |
D | vchiq_ioctl.h | 15 enum vchiq_status __user (*callback)(enum vchiq_reason reason, 19 void __user *userdata; 34 const struct vchiq_element __user *elements; 39 void __user *data; 41 void __user *userdata; 47 struct vchiq_header __user *header; 48 void __user *service_userdata; 49 void __user *bulk_userdata; 54 struct vchiq_completion_data __user *buf; 57 void * __user *msgbufs; [all …]
|
/linux-6.1.9/arch/mips/kernel/ |
D | signal.c | 44 static int (*save_fp_context)(void __user *sc); 45 static int (*restore_fp_context)(void __user *sc); 70 static int copy_fp_to_sigcontext(void __user *sc) in copy_fp_to_sigcontext() 73 uint64_t __user *fpregs = sc + abi->off_sc_fpregs; in copy_fp_to_sigcontext() 74 uint32_t __user *csr = sc + abi->off_sc_fpc_csr; in copy_fp_to_sigcontext() 89 static int copy_fp_from_sigcontext(void __user *sc) in copy_fp_from_sigcontext() 92 uint64_t __user *fpregs = sc + abi->off_sc_fpregs; in copy_fp_from_sigcontext() 93 uint32_t __user *csr = sc + abi->off_sc_fpc_csr; in copy_fp_from_sigcontext() 110 static int copy_fp_to_sigcontext(void __user *sc) in copy_fp_to_sigcontext() 115 static int copy_fp_from_sigcontext(void __user *sc) in copy_fp_from_sigcontext() [all …]
|
/linux-6.1.9/arch/powerpc/perf/ |
D | callchain_32.c | 33 static int read_user_stack_32(const unsigned int __user *ptr, unsigned int *ret) in read_user_stack_32() 81 struct signal_frame_32 __user *sf; in sane_signal_32_frame() 84 sf = (struct signal_frame_32 __user *) (unsigned long) sp; in sane_signal_32_frame() 85 if (read_user_stack_32((unsigned int __user *) &sf->sctx.regs, ®s)) in sane_signal_32_frame() 92 struct rt_signal_frame_32 __user *sf; in sane_rt_signal_32_frame() 95 sf = (struct rt_signal_frame_32 __user *) (unsigned long) sp; in sane_rt_signal_32_frame() 96 if (read_user_stack_32((unsigned int __user *) &sf->uc.uc_regs, ®s)) in sane_rt_signal_32_frame() 101 static unsigned int __user *signal_frame_32_regs(unsigned int sp, in signal_frame_32_regs() 104 struct mcontext32 __user *mctx = NULL; in signal_frame_32_regs() 105 struct signal_frame_32 __user *sf; in signal_frame_32_regs() [all …]
|
/linux-6.1.9/ipc/ |
D | syscall.c | 21 unsigned long third, void __user * ptr, long fifth) in ksys_ipc() 30 return ksys_semtimedop(first, (struct sembuf __user *)ptr, in ksys_ipc() 35 (const struct __kernel_timespec __user *)fifth); in ksys_ipc() 38 (const struct old_timespec32 __user *)fifth); in ksys_ipc() 48 if (get_user(arg, (unsigned long __user *) ptr)) in ksys_ipc() 54 return ksys_msgsnd(first, (struct msgbuf __user *) ptr, in ksys_ipc() 64 (struct ipc_kludge __user *) ptr, in ksys_ipc() 72 (struct msgbuf __user *) ptr, in ksys_ipc() 79 (struct msqid_ds __user *)ptr); in ksys_ipc() 85 ret = do_shmat(first, (char __user *)ptr, in ksys_ipc() [all …]
|
/linux-6.1.9/fs/ |
D | utimes.c | 79 static int do_utimes_path(int dfd, const char __user *filename, in do_utimes_path() 139 long do_utimes(int dfd, const char __user *filename, struct timespec64 *times, in do_utimes() 147 SYSCALL_DEFINE4(utimensat, int, dfd, const char __user *, filename, in SYSCALL_DEFINE4() argument 148 struct __kernel_timespec __user *, utimes, int, flags) in SYSCALL_DEFINE4() argument 173 static long do_futimesat(int dfd, const char __user *filename, in do_futimesat() 174 struct __kernel_old_timeval __user *utimes) in do_futimesat() 202 SYSCALL_DEFINE3(futimesat, int, dfd, const char __user *, filename, in SYSCALL_DEFINE3() argument 203 struct __kernel_old_timeval __user *, utimes) in SYSCALL_DEFINE3() argument 208 SYSCALL_DEFINE2(utimes, char __user *, filename, in SYSCALL_DEFINE2() argument 209 struct __kernel_old_timeval __user *, utimes) in SYSCALL_DEFINE2() argument [all …]
|