Home
last modified time | relevance | path

Searched refs:__copy_to_user (Results 1 – 25 of 87) sorted by relevance

1234

/arch/unicore32/include/asm/
Duaccess.h21 #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/
Duaccess.h61 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/
Duaccess.h124 #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/
Dsignal.c36 # 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/
Duaccess.h231 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/
Dcopy_to_user.S82 WEAK(__copy_to_user)
86 ENDPROC(__copy_to_user)
/arch/h8300/include/asm/
Duaccess.h117 #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/
Dsys_hpux.c240 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/
Dcopy_to_user.S91 WEAK(__copy_to_user)
95 ENDPROC(__copy_to_user)
/arch/openrisc/kernel/
Dsignal.c134 err |= __copy_to_user(sc->regs.gpr, regs, 32 * sizeof(unsigned long)); in setup_sigcontext()
135 err |= __copy_to_user(&sc->regs.pc, &regs->pc, sizeof(unsigned long)); in setup_sigcontext()
136 err |= __copy_to_user(&sc->regs.sr, &regs->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/
Dsignal_32.c286 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()
Dsigutil_32.c34 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/
Dusercopy_64.c24 n = __copy_to_user(to, from, n); in copy_to_user()
/arch/m68k/include/asm/
Duaccess_no.h134 #define __copy_to_user(to, from, n) copy_to_user(to, from, n) macro
135 #define __copy_to_user_inatomic __copy_to_user
Duaccess_mm.h371 #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/
Duaccess.h373 #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/
Dsignal.c155 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, &regs->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()
Dptrace.c131 ret |= __copy_to_user(&xtregs->cp0, &ti->xtregs_cp, in ptrace_getxregs()
134 ret |= __copy_to_user(&xtregs->opt, &regs->xtregs_opt, in ptrace_getxregs()
136 ret |= __copy_to_user(&xtregs->user,&ti->xtregs_user, in ptrace_getxregs()
/arch/parisc/kernel/
Dsignal.c223 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/
Duaccess.h405 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/
Duaccess.h211 __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/
Dksyms.c76 EXPORT_SYMBOL(__copy_to_user);
/arch/hexagon/include/asm/
Duaccess.h76 #define __copy_to_user(to, from, n) __copy_to_user_hexagon(to, from, n) macro
/arch/xtensa/include/asm/
Duaccess.h242 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/
Dcompat_signal.c74 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, &regs32, sizeof(regs32)); in save_sigregs32()
298 return __copy_to_user(&sregs->fpregs, &current->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()

1234