Home
last modified time | relevance | path

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

12345678910>>...98

/linux-6.12.1/include/linux/
Dsyscalls.h304 asmlinkage long sys_io_setup(unsigned nr_reqs, aio_context_t __user *ctx);
307 struct iocb __user * __user *);
308 asmlinkage long sys_io_cancel(aio_context_t ctx_id, struct iocb __user *iocb,
309 struct io_event __user *result);
313 struct io_event __user *events,
314 struct __kernel_timespec __user *timeout);
318 struct io_event __user *events,
319 struct old_timespec32 __user *timeout);
323 struct io_event __user *events,
324 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 …]
Dvt_kern.h36 int con_set_cmap(unsigned char __user *cmap);
37 int con_get_cmap(unsigned char __user *cmap);
60 int con_set_trans_old(unsigned char __user * table);
61 int con_get_trans_old(unsigned char __user * table);
62 int con_set_trans_new(unsigned short __user * table);
63 int con_get_trans_new(unsigned short __user * table);
65 int con_set_unimap(struct vc_data *vc, ushort ct, struct unipair __user *list);
66 int con_get_unimap(struct vc_data *vc, ushort ct, ushort __user *uct, struct unipair __user *list);
72 static inline int con_set_trans_old(unsigned char __user *table) in con_set_trans_old()
76 static inline int con_get_trans_old(unsigned char __user *table) in con_get_trans_old()
[all …]
Dsocket.h71 void __user *msg_control_user;
84 void __user *msg_name; /* ptr to socket address structure */
86 struct iovec __user *msg_iov; /* scatter/gather array */
88 void __user *msg_control; /* ancillary data */
124 ((void __user *)(cmsg) + sizeof(struct cmsghdr))
393 extern int move_addr_to_kernel(void __user *uaddr, int ulen, struct sockaddr_storage *kaddr);
410 extern long __sys_recvmsg(int fd, struct user_msghdr __user *msg,
412 extern long __sys_sendmsg(int fd, struct user_msghdr __user *msg,
414 extern int __sys_recvmmsg(int fd, struct mmsghdr __user *mmsg,
416 struct __kernel_timespec __user *timeout,
[all …]
/linux-6.12.1/arch/loongarch/kernel/
Dsignal.c56 _save_fp_context(void __user *fpregs, void __user *fcc, void __user *csr);
58 _restore_fp_context(void __user *fpregs, void __user *fcc, void __user *csr);
60 _save_lsx_context(void __user *fpregs, void __user *fcc, void __user *fcsr);
62 _restore_lsx_context(void __user *fpregs, void __user *fcc, void __user *fcsr);
64 _save_lasx_context(void __user *fpregs, void __user *fcc, void __user *fcsr);
66 _restore_lasx_context(void __user *fpregs, void __user *fcc, void __user *fcsr);
69 extern asmlinkage int _save_lbt_context(void __user *regs, void __user *eflags);
70 extern asmlinkage int _restore_lbt_context(void __user *regs, void __user *eflags);
71 extern asmlinkage int _save_ftop_context(void __user *ftop);
72 extern asmlinkage int _restore_ftop_context(void __user *ftop);
[all …]
/linux-6.12.1/security/keys/
Dinternal.h238 extern long keyctl_join_session_keyring(const char __user *);
239 extern long keyctl_update_key(key_serial_t, const void __user *, size_t);
245 extern long keyctl_describe_key(key_serial_t, char __user *, size_t);
246 extern long keyctl_keyring_search(key_serial_t, const char __user *,
247 const char __user *, key_serial_t);
248 extern long keyctl_read_key(key_serial_t, char __user *, size_t);
251 extern long keyctl_instantiate_key(key_serial_t, const void __user *,
257 extern long keyctl_get_security(key_serial_t keyid, char __user *buffer,
262 const struct iovec __user *,
266 const char __user *_type,
[all …]
/linux-6.12.1/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.12.1/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.12.1/arch/powerpc/kernel/
Dsignal.h10 void __user *get_sigframe(struct ksignal *ksig, struct task_struct *tsk,
19 static inline int __get_user_sigset(sigset_t *dst, const sigset_t __user *src) in __get_user_sigset()
23 return __get_user(dst->sig[0], (u64 __user *)&src->sig[0]); in __get_user_sigset()
27 const sigset_t __user *__src = src; \
35 extern unsigned long copy_vsx_to_user(void __user *to,
37 extern unsigned long copy_ckvsx_to_user(void __user *to,
40 void __user *from);
42 void __user *from);
43 unsigned long copy_fpr_to_user(void __user *to, struct task_struct *task);
44 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.12.1/arch/powerpc/include/asm/
Duaccess.h40 __typeof__(*(ptr)) __user *__pu_addr = (ptr); \
64 __typeof__(*(ptr)) __user *_pu_addr = (ptr); \
124 __typeof__(*(ptr)) __user *__pus_addr = (ptr); \
209 case 1: __get_user_asm_goto(x, (u8 __user *)ptr, label, "lbz"); break; \
210 case 2: __get_user_asm_goto(x, (u16 __user *)ptr, label, "lhz"); break; \
211 case 4: __get_user_asm_goto(x, (u32 __user *)ptr, label, "lwz"); break; \
212 case 8: __get_user_asm2_goto(x, (u64 __user *)ptr, label); break; \
270 case 1: __get_user_asm(x, (u8 __user *)ptr, retval, "lbz"); break; \
271 case 2: __get_user_asm(x, (u16 __user *)ptr, retval, "lhz"); break; \
272 case 4: __get_user_asm(x, (u32 __user *)ptr, retval, "lwz"); break; \
[all …]
/linux-6.12.1/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.12.1/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.12.1/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.12.1/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.12.1/tools/perf/trace/beauty/include/linux/
Dsocket.h71 void __user *msg_control_user;
84 void __user *msg_name; /* ptr to socket address structure */
86 struct iovec __user *msg_iov; /* scatter/gather array */
88 void __user *msg_control; /* ancillary data */
124 ((void __user *)(cmsg) + sizeof(struct cmsghdr))
393 extern int move_addr_to_kernel(void __user *uaddr, int ulen, struct sockaddr_storage *kaddr);
410 extern long __sys_recvmsg(int fd, struct user_msghdr __user *msg,
412 extern long __sys_sendmsg(int fd, struct user_msghdr __user *msg,
414 extern int __sys_recvmmsg(int fd, struct mmsghdr __user *mmsg,
416 struct __kernel_timespec __user *timeout,
[all …]
/linux-6.12.1/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.12.1/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.12.1/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.12.1/arch/mips/kernel/
Dsignal-common.h25 extern void __user *get_sigframe(struct ksignal *ksig, struct pt_regs *regs,
28 extern int fpcsr_pending(unsigned int __user *fpcsr);
36 _save_fp_context(void __user *fpregs, void __user *csr);
38 _restore_fp_context(void __user *fpregs, void __user *csr);
40 extern asmlinkage int _save_msa_all_upper(void __user *buf);
41 extern asmlinkage int _restore_msa_all_upper(void __user *buf);
43 extern int setup_sigcontext(struct pt_regs *, struct sigcontext __user *);
44 extern int restore_sigcontext(struct pt_regs *, struct sigcontext __user *);
Dsignal.c45 static int (*save_fp_context)(void __user *sc);
46 static int (*restore_fp_context)(void __user *sc);
71 static int copy_fp_to_sigcontext(void __user *sc) in copy_fp_to_sigcontext()
74 uint64_t __user *fpregs = sc + abi->off_sc_fpregs; in copy_fp_to_sigcontext()
75 uint32_t __user *csr = sc + abi->off_sc_fpc_csr; in copy_fp_to_sigcontext()
90 static int copy_fp_from_sigcontext(void __user *sc) in copy_fp_from_sigcontext()
93 uint64_t __user *fpregs = sc + abi->off_sc_fpregs; in copy_fp_from_sigcontext()
94 uint32_t __user *csr = sc + abi->off_sc_fpc_csr; in copy_fp_from_sigcontext()
111 static int copy_fp_to_sigcontext(void __user *sc) in copy_fp_to_sigcontext()
116 static int copy_fp_from_sigcontext(void __user *sc) in copy_fp_from_sigcontext()
[all …]
/linux-6.12.1/arch/x86/um/
Dsignal.c84 static int convert_fxsr_to_user(struct _fpstate __user *buf, in convert_fxsr_to_user()
88 struct _fpreg __user *to; in convert_fxsr_to_user()
106 unsigned long __user *t = (unsigned long __user *)to; in convert_fxsr_to_user()
118 struct _fpstate __user *buf) in convert_fxsr_from_user()
122 struct _fpreg __user *from; in convert_fxsr_from_user()
141 unsigned long __user *f = (unsigned long __user *)from; in convert_fxsr_from_user()
156 struct sigcontext __user *from) in copy_sc_from_user()
211 &((struct _fpstate __user *)sc.fpstate)->_fxsr_env[0], in copy_sc_from_user()
238 static int copy_sc_to_user(struct sigcontext __user *to, in copy_sc_to_user()
239 struct _xstate __user *to_fp, struct pt_regs *regs, in copy_sc_to_user()
[all …]
/linux-6.12.1/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>>...98