/arch/unicore32/include/asm/ |
D | uaccess.h | 21 #define __copy_to_user __copy_to_user macro 34 __copy_to_user(void __user *to, const void *from, unsigned long n);
|
/arch/c6x/include/asm/ |
D | uaccess.h | 61 static inline __must_check long __copy_to_user(void __user *to, in __copy_to_user() function 97 #define __copy_to_user __copy_to_user macro
|
/arch/um/include/asm/ |
D | uaccess.h | 124 #define __copy_to_user(to, from, n) copy_to_user(to, from, n) macro 126 #define __copy_to_user_inatomic __copy_to_user 156 if (__copy_to_user((__private_ptr), &__private_val, \
|
/arch/ia64/kernel/ |
D | signal.c | 36 # define PUT_SIGSET(k,u) __copy_to_user((u)->sig, (k)->sig, sizeof(sigset_t)) 122 if (__copy_to_user(to, from, sizeof(siginfo_t))) in copy_siginfo_to_user() 260 err = __copy_to_user(&sc->sc_fr[32], current->thread.fph, 96*16); in setup_sigcontext() 277 err |= __copy_to_user(&sc->sc_gr[1], &scr->pt.r1, 8); /* r1 */ in setup_sigcontext() 278 err |= __copy_to_user(&sc->sc_gr[8], &scr->pt.r8, 4*8); /* r8-r11 */ in setup_sigcontext() 279 err |= __copy_to_user(&sc->sc_gr[12], &scr->pt.r12, 2*8); /* r12-r13 */ in setup_sigcontext() 280 err |= __copy_to_user(&sc->sc_gr[15], &scr->pt.r15, 8); /* r15 */ in setup_sigcontext() 288 err |= __copy_to_user(&sc->sc_ar25, &scr->pt.ar_csd, 2*8); /* ar.csd & ar.ssd */ in setup_sigcontext() 289 err |= __copy_to_user(&sc->sc_gr[2], &scr->pt.r2, 2*8); /* r2-r3 */ in setup_sigcontext() 290 err |= __copy_to_user(&sc->sc_gr[16], &scr->pt.r16, 16*8); /* r16-r31 */ in setup_sigcontext()
|
/arch/score/include/asm/ |
D | uaccess.h | 231 if ((__copy_to_user((void *)ptr, &__pu_val, 8)) == 0) \ 262 if ((__copy_to_user((void *)__pu_addr, &__pu_val, 8)) == 0)\ 326 #define __copy_to_user(to, from, len) \ macro 332 return __copy_to_user(to, from, len); in __copy_to_user_inatomic()
|
/arch/unicore32/lib/ |
D | copy_to_user.S | 82 WEAK(__copy_to_user) 86 ENDPROC(__copy_to_user)
|
/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/parisc/hpux/ |
D | sys_hpux.c | 240 error = __copy_to_user(&name->sysname, &utsname()->sysname, in hpux_uname() 243 error |= __copy_to_user(&name->nodename, &utsname()->nodename, in hpux_uname() 246 error |= __copy_to_user(&name->release, &utsname()->release, in hpux_uname() 249 error |= __copy_to_user(&name->version, &utsname()->version, in hpux_uname() 252 error |= __copy_to_user(&name->machine, &utsname()->machine, in hpux_uname()
|
/arch/arm/lib/ |
D | copy_to_user.S | 91 WEAK(__copy_to_user) 95 ENDPROC(__copy_to_user)
|
/arch/openrisc/kernel/ |
D | signal.c | 134 err |= __copy_to_user(sc->regs.gpr, regs, 32 * sizeof(unsigned long)); in setup_sigcontext() 135 err |= __copy_to_user(&sc->regs.pc, ®s->pc, sizeof(unsigned long)); in setup_sigcontext() 136 err |= __copy_to_user(&sc->regs.sr, ®s->sr, sizeof(unsigned long)); in setup_sigcontext() 219 err |= __copy_to_user(&frame->uc.uc_sigmask, set, sizeof(*set)); in setup_rt_frame()
|
/arch/sparc/kernel/ |
D | signal_32.c | 286 err = __copy_to_user(&sf->info.si_regs, regs, sizeof(struct pt_regs)); in setup_frame() 308 err |= __copy_to_user(sf->extramask, &oldset->sig[1], in setup_frame() 311 err |= __copy_to_user(sf, (char *) regs->u_regs[UREG_FP], in setup_frame() 317 err |= __copy_to_user(sf, rp, sizeof(struct reg_window32)); in setup_frame() 389 err |= __copy_to_user(&sf->regs.u_regs, regs->u_regs, sizeof(regs->u_regs)); in setup_rt_frame() 408 err |= __copy_to_user(&sf->mask, &oldset->sig[0], sizeof(sigset_t)); in setup_rt_frame() 416 err |= __copy_to_user(sf, (char *) regs->u_regs[UREG_FP], in setup_rt_frame() 422 err |= __copy_to_user(sf, rp, sizeof(struct reg_window32)); in setup_rt_frame()
|
D | sigutil_32.c | 34 err |= __copy_to_user(&fpu->si_float_regs[0], in save_fpu_state() 40 err |= __copy_to_user(&fpu->si_fpqueue[0], in save_fpu_state()
|
/arch/powerpc/lib/ |
D | usercopy_64.c | 24 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 | 371 #define __copy_to_user(to, from, n) \ macro 376 #define __copy_to_user_inatomic __copy_to_user 380 #define copy_to_user(to, from, n) __copy_to_user(to, from, n)
|
/arch/microblaze/include/asm/ |
D | uaccess.h | 373 #define __copy_to_user(to, from, n) \ macro 376 #define __copy_to_user_inatomic(to, from, n) __copy_to_user((to), (from), (n)) 383 return __copy_to_user(to, from, n); in copy_to_user()
|
/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() 379 err |= __copy_to_user(&frame->uc.uc_sigmask, set, sizeof(*set)); in setup_frame()
|
D | ptrace.c | 131 ret |= __copy_to_user(&xtregs->cp0, &ti->xtregs_cp, in ptrace_getxregs() 134 ret |= __copy_to_user(&xtregs->opt, ®s->xtregs_opt, in ptrace_getxregs() 136 ret |= __copy_to_user(&xtregs->user,&ti->xtregs_user, in ptrace_getxregs()
|
/arch/parisc/kernel/ |
D | signal.c | 223 err |= __copy_to_user(sc->sc_iaoq, regs->iaoq, sizeof(regs->iaoq)); in setup_sigcontext() 224 err |= __copy_to_user(sc->sc_iasq, regs->iasq, sizeof(regs->iasq)); in setup_sigcontext() 230 err |= __copy_to_user(sc->sc_gr, regs->gr, sizeof(regs->gr)); in setup_sigcontext() 231 err |= __copy_to_user(sc->sc_fr, regs->fr, sizeof(regs->fr)); in setup_sigcontext() 281 err |= __copy_to_user(&compat_frame->uc.uc_sigmask, &compat_set, sizeof(compat_set)); in setup_rt_frame() 295 err |= __copy_to_user(&frame->uc.uc_sigmask, set, sizeof(*set)); in setup_rt_frame()
|
/arch/arm/include/asm/ |
D | uaccess.h | 405 extern unsigned long __must_check __copy_to_user(void __user *to, const void *from, unsigned long n… 411 #define __copy_to_user(to,from,n) (memcpy((void __force *)to, from, n), 0) macro 430 n = __copy_to_user(to, from, n); in copy_to_user() 434 #define __copy_to_user_inatomic __copy_to_user
|
/arch/s390/include/asm/ |
D | uaccess.h | 211 __copy_to_user(void __user *to, const void *from, unsigned long n) in __copy_to_user() function 219 #define __copy_to_user_inatomic __copy_to_user 240 n = __copy_to_user(to, from, n); in copy_to_user()
|
/arch/unicore32/kernel/ |
D | ksyms.c | 76 EXPORT_SYMBOL(__copy_to_user);
|
/arch/hexagon/include/asm/ |
D | uaccess.h | 76 #define __copy_to_user(to, from, n) __copy_to_user_hexagon(to, from, n) macro
|
/arch/xtensa/include/asm/ |
D | uaccess.h | 242 retval = __copy_to_user(ptr,&__v64,8); \ 424 #define __copy_to_user(to,from,n) __generic_copy_to_user_nocheck((to),(from),(n)) macro 426 #define __copy_to_user_inatomic __copy_to_user
|
/arch/s390/kernel/ |
D | compat_signal.c | 74 err |= __copy_to_user(&to->_sifields._pad, &from->_sifields._pad, SI_PAD_SIZE); in copy_siginfo_to_user32() 233 ret |= __copy_to_user(&oact->sa_mask, &set32, in sys32_rt_sigaction() 293 err = __copy_to_user(&sregs->regs, ®s32, sizeof(regs32)); in save_sigregs32() 298 return __copy_to_user(&sregs->fpregs, ¤t->thread.fp_regs, in save_sigregs32() 345 return __copy_to_user(uregs, &gprs_high, sizeof(gprs_high)); in save_sigregs_gprs_high() 474 if (__copy_to_user(&frame->sc.oldmask, &set->sig, _SIGMASK_COPY_SIZE32)) in setup_frame32() 552 err |= __copy_to_user(&frame->uc.uc_sigmask, set, sizeof(*set)); in setup_rt_frame32()
|