Home
last modified time | relevance | path

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

12345678910>>...22

/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 …]
/arch/s390/kernel/
Dcompat_linux.h91 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 …]
/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 …]
/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 …]
/arch/powerpc/kernel/
Dsyscalls.c82 ppc_select(int n, fd_set __user *inp, fd_set __user *outp, fd_set __user *exp, struct __kernel_old_… in ppc_select()
86 unsigned long __user *buffer = (unsigned long __user *)n; in ppc_select()
89 || __get_user(inp, ((fd_set __user * __user *)(buffer+1))) in ppc_select()
90 || __get_user(outp, ((fd_set __user * __user *)(buffer+2))) in ppc_select()
91 || __get_user(exp, ((fd_set __user * __user *)(buffer+3))) in ppc_select()
92 || __get_user(tvp, ((struct __kernel_old_timeval __user * __user *)(buffer+4)))) in ppc_select()
Dsignal.h13 extern void __user *get_sigframe(struct ksignal *ksig, unsigned long sp,
22 extern unsigned long copy_fpr_to_user(void __user *to,
24 extern unsigned long copy_ckfpr_to_user(void __user *to,
27 void __user *from);
29 void __user *from);
33 extern unsigned long copy_vsx_to_user(void __user *to,
35 extern unsigned long copy_ckvsx_to_user(void __user *to,
38 void __user *from);
40 void __user *from);
Dsignal_32.c87 static inline int put_sigset_t(compat_sigset_t __user *uset, sigset_t *set) in put_sigset_t()
93 const compat_sigset_t __user *uset) in get_sigset_t()
102 struct mcontext __user *frame) in save_general_regs()
123 struct mcontext __user *sr) in restore_general_regs()
141 static inline int put_sigset_t(sigset_t __user *uset, sigset_t *set) in put_sigset_t()
146 static inline int get_sigset_t(sigset_t *set, const sigset_t __user *uset) in get_sigset_t()
152 #define from_user_ptr(p) ((void __user *)(p))
155 struct mcontext __user *frame) in save_general_regs()
162 struct mcontext __user *sr) in restore_general_regs()
238 static int save_user_regs(struct pt_regs *regs, struct mcontext __user *frame, in save_user_regs()
[all …]
/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);
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 …]
Dptrace32.c65 u32 __user * addrOthers; in compat_arch_ptrace()
70 if (get_user(addrOthers, (u32 __user * __user *) (unsigned long) addr) != 0) in compat_arch_ptrace()
77 ret = put_user(tmp, (u32 __user *) (unsigned long) data); in compat_arch_ptrace()
164 ret = put_user(tmp, (unsigned __user *) (unsigned long) data); in compat_arch_ptrace()
179 u32 __user * addrOthers; in compat_arch_ptrace()
183 if (get_user(addrOthers, (u32 __user * __user *) (unsigned long) addr) != 0) in compat_arch_ptrace()
274 (struct user_pt_regs __user *) (__u64) data); in compat_arch_ptrace()
279 (struct user_pt_regs __user *) (__u64) data); in compat_arch_ptrace()
284 ret = ptrace_getfpregs(child, (__u32 __user *) (__u64) data); in compat_arch_ptrace()
288 ret = ptrace_setfpregs(child, (__u32 __user *) (__u64) data); in compat_arch_ptrace()
[all …]
/arch/powerpc/include/asm/
Duaccess.h74 __gui_ret = gu_op(__prefix, (unsigned int __user *)__gui_ptr); \
78 (unsigned int __user *)__gui_ptr + 1); \
101 get_user((x).val, (u32 __user *)(ptr))
104 __get_user_nocheck((x).val, (u32 __user *)(ptr), sizeof(u32), true)
107 __get_user_nosleep((x).val, (u32 __user *)(ptr), sizeof(u32))
135 __typeof__(*(ptr)) __user *__pu_addr = (ptr); \
150 __typeof__(*(ptr)) __user *__pu_addr = (ptr); \
164 __typeof__(*(ptr)) __user *__pu_addr = (ptr); \
218 __typeof__(*(ptr)) __user *__pu_addr = (ptr); \
287 case 1: __get_user_asm(x, (u8 __user *)ptr, retval, "lbz"); break; \
[all …]
Dkup.h74 static inline void allow_user_access(void __user *to, const void __user *from, in allow_user_access()
76 static inline void prevent_user_access(void __user *to, const void __user *from, in prevent_user_access()
83 static inline void allow_read_from_user(const void __user *from, unsigned long size) in allow_read_from_user()
88 static inline void allow_write_to_user(void __user *to, unsigned long size) in allow_write_to_user()
93 static inline void allow_read_write_user(void __user *to, const void __user *from, in allow_read_write_user()
99 static inline void prevent_read_from_user(const void __user *from, unsigned long size) in prevent_read_from_user()
104 static inline void prevent_write_to_user(void __user *to, unsigned long size) in prevent_write_to_user()
109 static inline void prevent_read_write_user(void __user *to, const void __user *from, in prevent_read_write_user()
/arch/alpha/kernel/
Dosf_sys.c104 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 …]
/arch/s390/include/asm/
Duaccess.h53 raw_copy_from_user(void *to, const void __user *from, unsigned long n);
56 raw_copy_to_user(void __user *to, const void *from, unsigned long n);
89 static __always_inline int __put_user_fn(void *x, void __user *ptr, unsigned long size) in __put_user_fn()
96 rc = __put_get_user_asm((unsigned char __user *)ptr, in __put_user_fn()
101 rc = __put_get_user_asm((unsigned short __user *)ptr, in __put_user_fn()
106 rc = __put_get_user_asm((unsigned int __user *)ptr, in __put_user_fn()
111 rc = __put_get_user_asm((unsigned long __user *)ptr, in __put_user_fn()
122 static __always_inline int __get_user_fn(void *x, const void __user *ptr, unsigned long size) in __get_user_fn()
130 (unsigned char __user *)ptr, in __get_user_fn()
135 (unsigned short __user *)ptr, in __get_user_fn()
[all …]
/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 …]
Dcallchain_64.c26 int read_user_stack_slow(const void __user *ptr, void *buf, int nb) in read_user_stack_slow()
47 static int read_user_stack_64(const unsigned long __user *ptr, unsigned long *ret) in read_user_stack_64()
82 struct signal_frame_64 __user *sf; in sane_signal_64_frame()
85 sf = (struct signal_frame_64 __user *) sp; in sane_signal_64_frame()
86 if (read_user_stack_64((unsigned long __user *) &sf->pinfo, &pinfo) || in sane_signal_64_frame()
87 read_user_stack_64((unsigned long __user *) &sf->puc, &puc)) in sane_signal_64_frame()
100 struct signal_frame_64 __user *sigframe; in perf_callchain_user_64()
101 unsigned long __user *fp, *uregs; in perf_callchain_user_64()
109 fp = (unsigned long __user *) sp; in perf_callchain_user_64()
128 sigframe = (struct signal_frame_64 __user *) sp; in perf_callchain_user_64()
/arch/arm/kernel/
Dsys_oabi-compat.c116 struct oldabi_stat64 __user *statbuf) in cp_oldabi_stat64()
142 asmlinkage long sys_oabi_stat64(const char __user * filename, in sys_oabi_stat64()
143 struct oldabi_stat64 __user * statbuf) in sys_oabi_stat64()
152 asmlinkage long sys_oabi_lstat64(const char __user * filename, in sys_oabi_lstat64()
153 struct oldabi_stat64 __user * statbuf) in sys_oabi_lstat64()
163 struct oldabi_stat64 __user * statbuf) in sys_oabi_fstat64()
173 const char __user *filename, in sys_oabi_fstatat64()
174 struct oldabi_stat64 __user *statbuf, in sys_oabi_fstatat64()
202 if (copy_from_user(&user, (struct oabi_flock64 __user *)arg, in do_locks()
222 if (copy_to_user((struct oabi_flock64 __user *)arg, in do_locks()
[all …]
/arch/microblaze/include/asm/
Duaccess.h62 static inline int access_ok(const void __user *addr, unsigned long size) in access_ok()
90 extern unsigned long __copy_tofrom_user(void __user *to,
91 const void __user *from, unsigned long size);
94 static inline unsigned long __must_check __clear_user(void __user *to, in __clear_user()
113 static inline unsigned long __must_check clear_user(void __user *to, in clear_user()
163 const typeof(*(ptr)) __user *__gu_ptr = (ptr); \
256 typeof(*(ptr)) __user *__pu_addr = (ptr); \
310 raw_copy_from_user(void *to, const void __user *from, unsigned long n) in raw_copy_from_user()
312 return __copy_tofrom_user((__force void __user *)to, from, n); in raw_copy_from_user()
316 raw_copy_to_user(void __user *to, const void *from, unsigned long n) in raw_copy_to_user()
[all …]
/arch/powerpc/kernel/ptrace/
Dptrace-decl.h69 const void *kbuf, const void __user *ubuf);
77 const void *kbuf, const void __user *ubuf);
85 const void *kbuf, const void __user *ubuf);
93 const void *kbuf, const void __user *ubuf);
104 const void *kbuf, const void __user *ubuf,
119 const void *kbuf, const void __user *ubuf);
124 const void *kbuf, const void __user *ubuf);
129 const void *kbuf, const void __user *ubuf);
134 const void *kbuf, const void __user *ubuf);
139 const void *kbuf, const void __user *ubuf);
[all …]
/arch/arm64/kernel/
Dsignal.c51 struct rt_sigframe __user *sigframe;
52 struct frame_record __user *next_frame;
163 static void __user *apply_user_offset( in apply_user_offset()
166 char __user *base = (char __user *)user->sigframe; in apply_user_offset()
171 static int preserve_fpsimd_context(struct fpsimd_context __user *ctx) in preserve_fpsimd_context()
189 static int restore_fpsimd_context(struct fpsimd_context __user *ctx) in restore_fpsimd_context()
220 struct fpsimd_context __user *fpsimd;
221 struct sve_context __user *sve;
226 static int preserve_sve_context(struct sve_context __user *ctx) in preserve_sve_context()
251 err |= __copy_to_user((char __user *)ctx + SVE_SIG_REGS_OFFSET, in preserve_sve_context()
[all …]
/arch/x86/um/
Dsignal.c82 static int convert_fxsr_to_user(struct _fpstate __user *buf, in convert_fxsr_to_user()
86 struct _fpreg __user *to; in convert_fxsr_to_user()
104 unsigned long __user *t = (unsigned long __user *)to; in convert_fxsr_to_user()
116 struct _fpstate __user *buf) in convert_fxsr_from_user()
120 struct _fpreg __user *from; in convert_fxsr_from_user()
139 unsigned long __user *f = (unsigned long __user *)from; in convert_fxsr_from_user()
154 struct sigcontext __user *from) in copy_sc_from_user()
209 &((struct _fpstate __user *)sc.fpstate)->_fxsr_env[0], in copy_sc_from_user()
236 static int copy_sc_to_user(struct sigcontext __user *to, in copy_sc_to_user()
237 struct _xstate __user *to_fp, struct pt_regs *regs, in copy_sc_to_user()
[all …]
/arch/x86/ia32/
Dia32_signal.c61 struct sigcontext_32 __user *usc) in ia32_restore_sigcontext()
103 struct sigframe_ia32 __user *frame = (struct sigframe_ia32 __user *)(regs->sp-8); in COMPAT_SYSCALL_DEFINE0()
126 struct rt_sigframe_ia32 __user *frame; in COMPAT_SYSCALL_DEFINE0()
129 frame = (struct rt_sigframe_ia32 __user *)(regs->sp - 4); in COMPAT_SYSCALL_DEFINE0()
133 if (__get_user(set.sig[0], (__u64 __user *)&frame->uc.uc_sigmask)) in COMPAT_SYSCALL_DEFINE0()
158 __unsafe_setup_sigcontext32(struct sigcontext_32 __user *sc, in __unsafe_setup_sigcontext32()
159 void __user *fpstate, in __unsafe_setup_sigcontext32()
162 unsafe_put_user(get_user_seg(gs), (unsigned int __user *)&sc->gs, Efault); in __unsafe_setup_sigcontext32()
163 unsafe_put_user(get_user_seg(fs), (unsigned int __user *)&sc->fs, Efault); in __unsafe_setup_sigcontext32()
164 unsafe_put_user(get_user_seg(ds), (unsigned int __user *)&sc->ds, Efault); in __unsafe_setup_sigcontext32()
[all …]
/arch/x86/include/asm/
Duaccess_64.h50 raw_copy_from_user(void *dst, const void __user *src, unsigned long size) in raw_copy_from_user()
56 raw_copy_to_user(void __user *dst, const void *src, unsigned long size) in raw_copy_to_user()
62 unsigned long raw_copy_in_user(void __user *dst, const void __user *src, unsigned long size) in raw_copy_in_user()
68 extern long __copy_user_nocache(void *dst, const void __user *src,
71 extern long __copy_user_flushcache(void *dst, const void __user *src, unsigned size);
76 __copy_from_user_inatomic_nocache(void *dst, const void __user *src, in __copy_from_user_inatomic_nocache()
84 __copy_from_user_flushcache(void *dst, const void __user *src, unsigned size) in __copy_from_user_flushcache()

12345678910>>...22