/arch/um/kernel/ |
D | syscall.c | 100 error = __copy_to_user(&name->sysname, &utsname()->sysname, in sys_olduname() 103 error |= __copy_to_user(&name->nodename, &utsname()->nodename, in sys_olduname() 106 error |= __copy_to_user(&name->release, &utsname()->release, in sys_olduname() 109 error |= __copy_to_user(&name->version, &utsname()->version, in sys_olduname() 112 error |= __copy_to_user(&name->machine, &utsname()->machine, in sys_olduname()
|
/arch/um/include/asm/ |
D | uaccess.h | 45 #define __copy_to_user(to, from, n) copy_to_user(to, from, n) macro 47 #define __copy_to_user_inatomic __copy_to_user 77 if (__copy_to_user((__private_ptr), &__private_val, \
|
/arch/x86/kernel/ |
D | sys_i386_32.c | 213 error = __copy_to_user(&name->sysname, &utsname()->sysname, in sys_olduname() 216 error |= __copy_to_user(&name->nodename, &utsname()->nodename, in sys_olduname() 219 error |= __copy_to_user(&name->release, &utsname()->release, in sys_olduname() 222 error |= __copy_to_user(&name->version, &utsname()->version, in sys_olduname() 225 error |= __copy_to_user(&name->machine, &utsname()->machine, in sys_olduname()
|
D | xsave.c | 112 if (__copy_to_user(buf, &tsk->thread.xstate->fxsave, in save_i387_xstate() 122 err = __copy_to_user(&fx->sw_reserved, &fx_sw_reserved, in save_i387_xstate()
|
/arch/powerpc/kernel/ |
D | syscalls.c | 276 error = __copy_to_user(&name->sysname, &utsname()->sysname, in sys_olduname() 279 error |= __copy_to_user(&name->nodename, &utsname()->nodename, in sys_olduname() 282 error |= __copy_to_user(&name->release, &utsname()->release, in sys_olduname() 285 error |= __copy_to_user(&name->version, &utsname()->version, in sys_olduname() 288 error |= __copy_to_user(&name->machine, &utsname()->machine, in sys_olduname()
|
D | signal_64.c | 103 err |= __copy_to_user(v_regs, current->thread.vr, 33 * sizeof(vector128)); in setup_sigcontext() 137 err |= __copy_to_user(&sc->gp_regs, regs, GP_REGS_SIZE); in setup_sigcontext() 312 || __copy_to_user(&old_ctx->uc_sigmask, in sys_swapcontext() 424 err |= __copy_to_user(&frame->uc.uc_sigmask, set, sizeof(*set)); in handle_rt_signal64()
|
/arch/ia64/kernel/ |
D | signal.c | 37 # define PUT_SIGSET(k,u) __copy_to_user((u)->sig, (k)->sig, sizeof(sigset_t)) 123 if (__copy_to_user(to, from, sizeof(siginfo_t))) in copy_siginfo_to_user() 261 err = __copy_to_user(&sc->sc_fr[32], current->thread.fph, 96*16); in setup_sigcontext() 278 err |= __copy_to_user(&sc->sc_gr[1], &scr->pt.r1, 8); /* r1 */ in setup_sigcontext() 279 err |= __copy_to_user(&sc->sc_gr[8], &scr->pt.r8, 4*8); /* r8-r11 */ in setup_sigcontext() 280 err |= __copy_to_user(&sc->sc_gr[12], &scr->pt.r12, 2*8); /* r12-r13 */ in setup_sigcontext() 281 err |= __copy_to_user(&sc->sc_gr[15], &scr->pt.r15, 8); /* r15 */ in setup_sigcontext() 289 err |= __copy_to_user(&sc->sc_ar25, &scr->pt.ar_csd, 2*8); /* ar.csd & ar.ssd */ in setup_sigcontext() 290 err |= __copy_to_user(&sc->sc_gr[2], &scr->pt.r2, 2*8); /* r2-r3 */ in setup_sigcontext() 291 err |= __copy_to_user(&sc->sc_gr[16], &scr->pt.r16, 16*8); /* r16-r31 */ in setup_sigcontext()
|
/arch/mips/kernel/ |
D | syscall.c | 262 error = __copy_to_user(&name->sysname, &utsname()->sysname, in SYSCALL_DEFINE1() 265 error -= __copy_to_user(&name->nodename, &utsname()->nodename, in SYSCALL_DEFINE1() 268 error -= __copy_to_user(&name->release, &utsname()->release, in SYSCALL_DEFINE1() 271 error -= __copy_to_user(&name->version, &utsname()->version, in SYSCALL_DEFINE1() 274 error -= __copy_to_user(&name->machine, &utsname()->machine, in SYSCALL_DEFINE1()
|
/arch/h8300/include/asm/ |
D | uaccess.h | 117 #define __copy_to_user(to, from, n) copy_to_user(to, from, n) macro 118 #define __copy_to_user_inatomic __copy_to_user
|
/arch/sparc/kernel/ |
D | signal_32.c | 302 err |= __copy_to_user(&fpu->si_float_regs[0], in save_fpu_state() 308 err |= __copy_to_user(&fpu->si_fpqueue[0], in save_fpu_state() 339 err = __copy_to_user(&sf->info.si_regs, regs, sizeof(struct pt_regs)); in setup_frame() 351 err |= __copy_to_user(sf->extramask, &oldset->sig[1], in setup_frame() 353 err |= __copy_to_user(sf, (char *) regs->u_regs[UREG_FP], in setup_frame() 419 err |= __copy_to_user(&sf->regs.u_regs, regs->u_regs, sizeof(regs->u_regs)); in setup_rt_frame() 428 err |= __copy_to_user(&sf->mask, &oldset->sig[0], sizeof(sigset_t)); in setup_rt_frame() 435 err |= __copy_to_user(sf, (char *) regs->u_regs[UREG_FP], in setup_rt_frame()
|
/arch/arm/lib/ |
D | copy_to_user.S | 89 ENTRY(__copy_to_user) 93 ENDPROC(__copy_to_user)
|
/arch/parisc/hpux/ |
D | sys_hpux.c | 269 error = __copy_to_user(&name->sysname, &utsname()->sysname, in hpux_uname() 272 error |= __copy_to_user(&name->nodename, &utsname()->nodename, in hpux_uname() 275 error |= __copy_to_user(&name->release, &utsname()->release, in hpux_uname() 278 error |= __copy_to_user(&name->version, &utsname()->version, in hpux_uname() 281 error |= __copy_to_user(&name->machine, &utsname()->machine, in hpux_uname()
|
/arch/arm/include/asm/ |
D | uaccess.h | 388 extern unsigned long __must_check __copy_to_user(void __user *to, const void *from, unsigned long n… 392 #define __copy_to_user(to,from,n) (memcpy((void __force *)to, from, n), 0) macro 411 n = __copy_to_user(to, from, n); in copy_to_user() 415 #define __copy_to_user_inatomic __copy_to_user
|
/arch/s390/include/asm/ |
D | uaccess.h | 207 __copy_to_user(void __user *to, const void *from, unsigned long n) in __copy_to_user() function 215 #define __copy_to_user_inatomic __copy_to_user 236 n = __copy_to_user(to, from, n); in copy_to_user()
|
/arch/m68k/include/asm/ |
D | uaccess_no.h | 134 #define __copy_to_user(to, from, n) copy_to_user(to, from, n) macro 135 #define __copy_to_user_inatomic __copy_to_user
|
D | uaccess_mm.h | 355 #define __copy_to_user(to, from, n) \ macro 360 #define __copy_to_user_inatomic __copy_to_user 364 #define copy_to_user(to, from, n) __copy_to_user(to, from, n)
|
/arch/parisc/kernel/ |
D | signal.c | 230 err |= __copy_to_user(sc->sc_iaoq, regs->iaoq, sizeof(regs->iaoq)); in setup_sigcontext() 231 err |= __copy_to_user(sc->sc_iasq, regs->iasq, sizeof(regs->iasq)); in setup_sigcontext() 237 err |= __copy_to_user(sc->sc_gr, regs->gr, sizeof(regs->gr)); in setup_sigcontext() 238 err |= __copy_to_user(sc->sc_fr, regs->fr, sizeof(regs->fr)); in setup_sigcontext() 288 err |= __copy_to_user(&compat_frame->uc.uc_sigmask, &compat_set, sizeof(compat_set)); in setup_rt_frame() 302 err |= __copy_to_user(&frame->uc.uc_sigmask, set, sizeof(*set)); in setup_rt_frame()
|
/arch/xtensa/kernel/ |
D | signal.c | 155 err |= __copy_to_user (sc->sc_a, regs->areg, 16 * 4); in setup_sigcontext() 164 err |= __copy_to_user(&frame->xtregs.cp, &ti->xtregs_cp, in setup_sigcontext() 167 err |= __copy_to_user(&frame->xtregs.opt, ®s->xtregs_opt, in setup_sigcontext() 169 err |= __copy_to_user(&frame->xtregs.user, &ti->xtregs_user, in setup_sigcontext() 382 err |= __copy_to_user(&frame->uc.uc_sigmask, set, sizeof(*set)); in setup_frame()
|
/arch/powerpc/lib/ |
D | usercopy_64.c | 24 n = __copy_to_user(to, from, n); in copy_to_user()
|
/arch/x86/ia32/ |
D | sys_ia32.c | 283 __copy_to_user(&oact->sa_mask, &set32, in sys32_rt_sigaction() 601 err = __copy_to_user(&name->sysname, &utsname()->sysname, in sys32_olduname() 604 err |= __copy_to_user(&name->nodename, &utsname()->nodename, in sys32_olduname() 607 err |= __copy_to_user(&name->release, &utsname()->release, in sys32_olduname() 610 err |= __copy_to_user(&name->version, &utsname()->version, in sys32_olduname() 617 err |= __copy_to_user(&name->machine, arch, strlen(arch) + 1); in sys32_olduname() 657 __copy_to_user(&u32p->f_fname, u.f_fname, sizeof(u.f_fname)) || in sys32_ustat() 658 __copy_to_user(&u32p->f_fpack, u.f_fpack, sizeof(u.f_fpack))) in sys32_ustat()
|
/arch/blackfin/include/asm/ |
D | uaccess.h | 190 #define __copy_to_user(to, from, n) copy_to_user(to, from, n) macro 191 #define __copy_to_user_inatomic __copy_to_user
|
/arch/sh/include/asm/ |
D | uaccess.h | 114 __copy_to_user(void __user *to, const void *from, unsigned long n) in __copy_to_user() function 119 #define __copy_to_user_inatomic __copy_to_user
|
/arch/xtensa/include/asm/ |
D | uaccess.h | 240 retval = __copy_to_user(ptr,&__v64,8); \ 422 #define __copy_to_user(to,from,n) __generic_copy_to_user_nocheck((to),(from),(n)) macro 424 #define __copy_to_user_inatomic __copy_to_user
|
/arch/parisc/include/asm/ |
D | uaccess.h | 236 #define __copy_to_user copy_to_user macro 241 #define __copy_to_user_inatomic __copy_to_user
|
/arch/avr32/include/asm/ |
D | uaccess.h | 80 static inline __kernel_size_t __copy_to_user(void __user *to, const void *from, in __copy_to_user() function 92 #define __copy_to_user_inatomic __copy_to_user
|