Home
last modified time | relevance | path

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

12345678910>>...96

/linux-6.6.21/include/linux/
Dsyscalls.h301 asmlinkage long sys_io_setup(unsigned nr_reqs, aio_context_t __user *ctx);
304 struct iocb __user * __user *);
305 asmlinkage long sys_io_cancel(aio_context_t ctx_id, struct iocb __user *iocb,
306 struct io_event __user *result);
310 struct io_event __user *events,
311 struct __kernel_timespec __user *timeout);
315 struct io_event __user *events,
316 struct old_timespec32 __user *timeout);
320 struct io_event __user *events,
321 struct __kernel_timespec __user *timeout,
[all …]
Dcompat.h133 int set_compat_user_sigmask(const compat_sigset_t __user *umask,
311 struct compat_rusage __user *);
431 const struct compat_siginfo __user *from);
432 int __copy_siginfo_to_user32(struct compat_siginfo __user *to,
438 const struct compat_sigevent __user *u_event);
440 extern int get_compat_sigset(sigset_t *set, const compat_sigset_t __user *compat);
447 put_compat_sigset(compat_sigset_t __user *compat, const sigset_t *set, in put_compat_sigset()
470 compat_sigset_t __user *__c = compat; \
493 const compat_sigset_t __user *__c = compat; \
521 compat_sigset_t __user *__c = compat; \
[all …]
Dsocket.h70 void __user *msg_control_user;
83 void __user *msg_name; /* ptr to socket address structure */
85 struct iovec __user *msg_iov; /* scatter/gather array */
87 void __user *msg_control; /* ancillary data */
123 ((void __user *)(cmsg) + sizeof(struct cmsghdr))
391 extern int move_addr_to_kernel(void __user *uaddr, int ulen, struct sockaddr_storage *kaddr);
408 extern long __sys_recvmsg(int fd, struct user_msghdr __user *msg,
410 extern long __sys_sendmsg(int fd, struct user_msghdr __user *msg,
412 extern int __sys_recvmmsg(int fd, struct mmsghdr __user *mmsg,
414 struct __kernel_timespec __user *timeout,
[all …]
Dvt_kern.h35 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 …]
/linux-6.6.21/arch/loongarch/kernel/
Dsignal.c55 _save_fp_context(void __user *fpregs, void __user *fcc, void __user *csr);
57 _restore_fp_context(void __user *fpregs, void __user *fcc, void __user *csr);
59 _save_lsx_context(void __user *fpregs, void __user *fcc, void __user *fcsr);
61 _restore_lsx_context(void __user *fpregs, void __user *fcc, void __user *fcsr);
63 _save_lasx_context(void __user *fpregs, void __user *fcc, void __user *fcsr);
65 _restore_lasx_context(void __user *fpregs, void __user *fcc, void __user *fcsr);
68 extern asmlinkage int _save_lbt_context(void __user *regs, void __user *eflags);
69 extern asmlinkage int _restore_lbt_context(void __user *regs, void __user *eflags);
70 extern asmlinkage int _save_ftop_context(void __user *ftop);
71 extern asmlinkage int _restore_ftop_context(void __user *ftop);
[all …]
/linux-6.6.21/security/keys/
Dinternal.h245 extern long keyctl_join_session_keyring(const char __user *);
246 extern long keyctl_update_key(key_serial_t, const void __user *, size_t);
252 extern long keyctl_describe_key(key_serial_t, char __user *, size_t);
253 extern long keyctl_keyring_search(key_serial_t, const char __user *,
254 const char __user *, key_serial_t);
255 extern long keyctl_read_key(key_serial_t, char __user *, size_t);
258 extern long keyctl_instantiate_key(key_serial_t, const void __user *,
264 extern long keyctl_get_security(key_serial_t keyid, char __user *buffer,
269 const struct iovec __user *,
273 const char __user *_type,
[all …]
/linux-6.6.21/arch/arm/include/asm/
Dsyscalls.h15 asmlinkage long sys_oabi_stat64(const char __user * filename,
16 struct oldabi_stat64 __user * statbuf);
17 asmlinkage long sys_oabi_lstat64(const char __user * filename,
18 struct oldabi_stat64 __user * statbuf);
20 struct oldabi_stat64 __user * statbuf);
22 const char __user *filename,
23 struct oldabi_stat64 __user *statbuf,
29 struct oabi_epoll_event __user *event);
33 struct oabi_sembuf __user *tsops,
35 const struct old_timespec32 __user *timeout);
[all …]
/linux-6.6.21/arch/x86/math-emu/
Dload_store.c68 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 …]
Dfpu_proto.h86 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 …]
Dreg_ld_str.c82 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.6.21/arch/powerpc/kernel/
Dsignal.h13 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 …]
Dsignal_32.c92 __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()
268 __unsafe_save_user_regs(struct pt_regs *regs, struct mcontext __user *frame, in __unsafe_save_user_regs()
269 struct mcontext __user *tm_frame, int ctx_has_vsx_region) in __unsafe_save_user_regs()
293 unsafe_put_user(current->thread.vrsave, (u32 __user *)&frame->mc_vregs[32], in __unsafe_save_user_regs()
328 (u32 __user *)&frame->mc_vregs + ELF_NEVRREG, failed); in __unsafe_save_user_regs()
[all …]
/linux-6.6.21/arch/powerpc/include/asm/
Duaccess.h39 __typeof__(*(ptr)) __user *__pu_addr = (ptr); \
63 __typeof__(*(ptr)) __user *_pu_addr = (ptr); \
113 __typeof__(*(ptr)) __user *__pus_addr = (ptr); \
187 case 1: __get_user_asm_goto(x, (u8 __user *)ptr, label, "lbz"); break; \
188 case 2: __get_user_asm_goto(x, (u16 __user *)ptr, label, "lhz"); break; \
189 case 4: __get_user_asm_goto(x, (u32 __user *)ptr, label, "lwz"); break; \
190 case 8: __get_user_asm2_goto(x, (u64 __user *)ptr, label); break; \
248 case 1: __get_user_asm(x, (u8 __user *)ptr, retval, "lbz"); break; \
249 case 2: __get_user_asm(x, (u16 __user *)ptr, retval, "lhz"); break; \
250 case 4: __get_user_asm(x, (u32 __user *)ptr, retval, "lwz"); break; \
[all …]
/linux-6.6.21/arch/s390/include/uapi/asm/
Dzcrypt.h39 __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.6.21/arch/arm/kernel/
Dsys_oabi-compat.c122 struct oldabi_stat64 __user *statbuf) in cp_oldabi_stat64()
148 asmlinkage long sys_oabi_stat64(const char __user * filename, in sys_oabi_stat64()
149 struct oldabi_stat64 __user * statbuf) in sys_oabi_stat64()
158 asmlinkage long sys_oabi_lstat64(const char __user * filename, in sys_oabi_lstat64()
159 struct oldabi_stat64 __user * statbuf) in sys_oabi_lstat64()
169 struct oldabi_stat64 __user * statbuf) in sys_oabi_fstat64()
179 const char __user *filename, in sys_oabi_fstatat64()
180 struct oldabi_stat64 __user *statbuf, in sys_oabi_fstatat64()
200 static int get_oabi_flock(struct flock64 *kernel, struct oabi_flock64 __user *arg) in get_oabi_flock()
204 if (copy_from_user(&user, (struct oabi_flock64 __user *)arg, in get_oabi_flock()
[all …]
/linux-6.6.21/tools/perf/trace/beauty/include/linux/
Dsocket.h70 void __user *msg_control_user;
83 void __user *msg_name; /* ptr to socket address structure */
85 struct iovec __user *msg_iov; /* scatter/gather array */
87 void __user *msg_control; /* ancillary data */
123 ((void __user *)(cmsg) + sizeof(struct cmsghdr))
390 extern int move_addr_to_kernel(void __user *uaddr, int ulen, struct sockaddr_storage *kaddr);
407 extern long __sys_recvmsg(int fd, struct user_msghdr __user *msg,
409 extern long __sys_sendmsg(int fd, struct user_msghdr __user *msg,
411 extern int __sys_recvmmsg(int fd, struct mmsghdr __user *mmsg,
413 struct __kernel_timespec __user *timeout,
[all …]
/linux-6.6.21/arch/alpha/kernel/
Dosf_sys.c105 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.6.21/arch/sparc/kernel/
Dsystbls.h15 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.6.21/net/
Dcompat.c38 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()
108 ((void __user *)((char __user *)(cmsg) + sizeof(struct compat_cmsghdr)))
116 (struct compat_cmsghdr __user *)((msg)->msg_control_user) : \
117 (struct compat_cmsghdr __user *)NULL)
123 ((char __user *)(ucmsg) - (char __user *)(mhdr)->msg_control_user)))
125 static inline struct compat_cmsghdr __user *cmsg_compat_nxthdr(struct msghdr *msg, in cmsg_compat_nxthdr()
126 struct compat_cmsghdr __user *cmsg, int cmsg_len) in cmsg_compat_nxthdr()
128 char __user *ptr = (char __user *)cmsg + CMSG_COMPAT_ALIGN(cmsg_len); in cmsg_compat_nxthdr()
[all …]
/linux-6.6.21/drivers/staging/vc04_services/interface/vchiq_arm/
Dvchiq_ioctl.h16 int __user (*callback)(enum vchiq_reason reason,
20 void __user *userdata;
35 const struct vchiq_element __user *elements;
40 void __user *data;
42 void __user *userdata;
48 struct vchiq_header __user *header;
49 void __user *service_userdata;
50 void __user *bulk_userdata;
55 struct vchiq_completion_data __user *buf;
58 void * __user *msgbufs;
[all …]
/linux-6.6.21/arch/s390/kernel/
Dcompat_linux.h81 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.6.21/arch/mips/kernel/
Dsignal.c44 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.6.21/arch/powerpc/perf/
Dcallchain_32.c33 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, &regs)) 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, &regs)) 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.6.21/ipc/
Dsyscall.c21 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.6.21/fs/
Dutimes.c80 static int do_utimes_path(int dfd, const char __user *filename, in do_utimes_path()
140 long do_utimes(int dfd, const char __user *filename, struct timespec64 *times, in do_utimes()
148 SYSCALL_DEFINE4(utimensat, int, dfd, const char __user *, filename, in SYSCALL_DEFINE4() argument
149 struct __kernel_timespec __user *, utimes, int, flags) in SYSCALL_DEFINE4() argument
174 static long do_futimesat(int dfd, const char __user *filename, in do_futimesat()
175 struct __kernel_old_timeval __user *utimes) in do_futimesat()
203 SYSCALL_DEFINE3(futimesat, int, dfd, const char __user *, filename, in SYSCALL_DEFINE3() argument
204 struct __kernel_old_timeval __user *, utimes) in SYSCALL_DEFINE3() argument
209 SYSCALL_DEFINE2(utimes, char __user *, filename, in SYSCALL_DEFINE2() argument
210 struct __kernel_old_timeval __user *, utimes) in SYSCALL_DEFINE2() argument
[all …]

12345678910>>...96