/arch/nios2/kernel/ |
D | signal.c | 48 err = __get_user(temp, &uc->uc_mcontext.version); in rt_restore_ucontext() 52 err |= __get_user(regs->r1, &gregs[0]); in rt_restore_ucontext() 53 err |= __get_user(regs->r2, &gregs[1]); in rt_restore_ucontext() 54 err |= __get_user(regs->r3, &gregs[2]); in rt_restore_ucontext() 55 err |= __get_user(regs->r4, &gregs[3]); in rt_restore_ucontext() 56 err |= __get_user(regs->r5, &gregs[4]); in rt_restore_ucontext() 57 err |= __get_user(regs->r6, &gregs[5]); in rt_restore_ucontext() 58 err |= __get_user(regs->r7, &gregs[6]); in rt_restore_ucontext() 59 err |= __get_user(regs->r8, &gregs[7]); in rt_restore_ucontext() 60 err |= __get_user(regs->r9, &gregs[8]); in rt_restore_ucontext() [all …]
|
D | misaligned.c | 98 fault |= __get_user(d0, (u8 *)(addr+0)); in handle_unaligned_c() 99 fault |= __get_user(d1, (u8 *)(addr+1)); in handle_unaligned_c() 116 fault |= __get_user(d0, (u8 *)(addr+0)); in handle_unaligned_c() 117 fault |= __get_user(d1, (u8 *)(addr+1)); in handle_unaligned_c() 140 fault |= __get_user(d0, (u8 *)(addr+0)); in handle_unaligned_c() 141 fault |= __get_user(d1, (u8 *)(addr+1)); in handle_unaligned_c() 142 fault |= __get_user(d2, (u8 *)(addr+2)); in handle_unaligned_c() 143 fault |= __get_user(d3, (u8 *)(addr+3)); in handle_unaligned_c()
|
/arch/alpha/kernel/ |
D | signal.c | 69 __get_user(new_ka.sa.sa_handler, &act->sa_handler) || in SYSCALL_DEFINE3() 70 __get_user(new_ka.sa.sa_flags, &act->sa_flags) || in SYSCALL_DEFINE3() 71 __get_user(mask, &act->sa_mask)) in SYSCALL_DEFINE3() 153 long i, err = __get_user(regs->pc, &sc->sc_pc); in restore_sigcontext() 159 err |= __get_user(regs->r0, sc->sc_regs+0); in restore_sigcontext() 160 err |= __get_user(regs->r1, sc->sc_regs+1); in restore_sigcontext() 161 err |= __get_user(regs->r2, sc->sc_regs+2); in restore_sigcontext() 162 err |= __get_user(regs->r3, sc->sc_regs+3); in restore_sigcontext() 163 err |= __get_user(regs->r4, sc->sc_regs+4); in restore_sigcontext() 164 err |= __get_user(regs->r5, sc->sc_regs+5); in restore_sigcontext() [all …]
|
/arch/sparc/kernel/ |
D | signal_64.c | 58 err = __get_user(pc, &((*grp)[MC_PC])); in sparc64_set_context() 59 err |= __get_user(npc, &((*grp)[MC_NPC])); in sparc64_set_context() 66 if (__get_user(set.sig[0], &ucp->uc_sigmask.sig[0])) in sparc64_set_context() 80 err |= __get_user(regs->y, &((*grp)[MC_Y])); in sparc64_set_context() 81 err |= __get_user(tstate, &((*grp)[MC_TSTATE])); in sparc64_set_context() 84 err |= __get_user(regs->u_regs[UREG_G1], (&(*grp)[MC_G1])); in sparc64_set_context() 85 err |= __get_user(regs->u_regs[UREG_G2], (&(*grp)[MC_G2])); in sparc64_set_context() 86 err |= __get_user(regs->u_regs[UREG_G3], (&(*grp)[MC_G3])); in sparc64_set_context() 87 err |= __get_user(regs->u_regs[UREG_G4], (&(*grp)[MC_G4])); in sparc64_set_context() 88 err |= __get_user(regs->u_regs[UREG_G5], (&(*grp)[MC_G5])); in sparc64_set_context() [all …]
|
D | signal32.c | 113 if (__get_user(pc, &sf->info.si_regs.pc) || in do_sigreturn32() 114 __get_user(npc, &sf->info.si_regs.npc)) in do_sigreturn32() 128 err = __get_user(regs->y, &sf->info.si_regs.y); in do_sigreturn32() 129 err |= __get_user(psr, &sf->info.si_regs.psr); in do_sigreturn32() 132 err |= __get_user(regs->u_regs[i], &sf->info.si_regs.u_regs[i]); in do_sigreturn32() 134 err |= __get_user(i, &sf->v8plus.g_upper[0]); in do_sigreturn32() 139 err |= __get_user(((u32 *)regs->u_regs)[2*i], &sf->v8plus.g_upper[i]); in do_sigreturn32() 140 err |= __get_user(asi, &sf->v8plus.asi); in do_sigreturn32() 153 err |= __get_user(fpu_save, &sf->fpu_save); in do_sigreturn32() 156 err |= __get_user(rwin_save, &sf->rwin_save); in do_sigreturn32() [all …]
|
D | signal_32.c | 100 err = __get_user(pc, &sf->info.si_regs.pc); in do_sigreturn() 101 err |= __get_user(npc, &sf->info.si_regs.npc); in do_sigreturn() 117 err |= __get_user(fpu_save, &sf->fpu_save); in do_sigreturn() 120 err |= __get_user(rwin_save, &sf->rwin_save); in do_sigreturn() 127 err |= __get_user(set.sig[0], &sf->info.si_mask); in do_sigreturn() 161 err = __get_user(pc, &sf->regs.pc); in do_rt_sigreturn() 162 err |= __get_user(npc, &sf->regs.npc); in do_rt_sigreturn() 165 err |= __get_user(regs->y, &sf->regs.y); in do_rt_sigreturn() 166 err |= __get_user(psr, &sf->regs.psr); in do_rt_sigreturn() 176 err |= __get_user(fpu_save, &sf->fpu_save); in do_rt_sigreturn() [all …]
|
D | sigutil_64.c | 53 err |= __get_user(current_thread_info()->xfsr[0], &fpu->si_fsr); in restore_fpu_state() 54 err |= __get_user(current_thread_info()->gsr[0], &fpu->si_gsr); in restore_fpu_state() 91 err |= __get_user(t->rwbuf_stkptrs[i], in restore_rwin_state()
|
D | sigutil_32.c | 73 err |= __get_user(current->thread.fsr, &fpu->si_fsr); in restore_fpu_state() 74 err |= __get_user(current->thread.fpqdepth, &fpu->si_fpqdepth); in restore_fpu_state() 117 err |= __get_user(t->rwbuf_stkptrs[i], in restore_rwin_state()
|
/arch/hexagon/kernel/ |
D | signal.c | 74 err |= __get_user(regs->sa0, &sc->sc_regs.sa0); in restore_sigcontext() 75 err |= __get_user(regs->lc0, &sc->sc_regs.lc0); in restore_sigcontext() 76 err |= __get_user(regs->sa1, &sc->sc_regs.sa1); in restore_sigcontext() 77 err |= __get_user(regs->lc1, &sc->sc_regs.lc1); in restore_sigcontext() 78 err |= __get_user(regs->m0, &sc->sc_regs.m0); in restore_sigcontext() 79 err |= __get_user(regs->m1, &sc->sc_regs.m1); in restore_sigcontext() 80 err |= __get_user(regs->usr, &sc->sc_regs.usr); in restore_sigcontext() 81 err |= __get_user(regs->preds, &sc->sc_regs.p3_0); in restore_sigcontext() 82 err |= __get_user(regs->gp, &sc->sc_regs.gp); in restore_sigcontext() 83 err |= __get_user(regs->ugp, &sc->sc_regs.ugp); in restore_sigcontext() [all …]
|
/arch/powerpc/kernel/ |
D | signal_64.c | 343 err |= __get_user(regs->nip, &sc->gp_regs[PT_NIP]); in restore_sigcontext() 345 err |= __get_user(msr, &sc->gp_regs[PT_MSR]); in restore_sigcontext() 348 err |= __get_user(regs->orig_gpr3, &sc->gp_regs[PT_ORIG_R3]); in restore_sigcontext() 349 err |= __get_user(regs->ctr, &sc->gp_regs[PT_CTR]); in restore_sigcontext() 350 err |= __get_user(regs->link, &sc->gp_regs[PT_LNK]); in restore_sigcontext() 351 err |= __get_user(regs->xer, &sc->gp_regs[PT_XER]); in restore_sigcontext() 352 err |= __get_user(regs->ccr, &sc->gp_regs[PT_CCR]); in restore_sigcontext() 355 err |= __get_user(regs->dar, &sc->gp_regs[PT_DAR]); in restore_sigcontext() 356 err |= __get_user(regs->dsisr, &sc->gp_regs[PT_DSISR]); in restore_sigcontext() 357 err |= __get_user(regs->result, &sc->gp_regs[PT_RESULT]); in restore_sigcontext() [all …]
|
D | syscalls.c | 88 || __get_user(n, buffer) 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()
|
D | signal_32.c | 131 if (__get_user(gregs[i], &sr->mc_gregs[i])) in restore_general_regs() 499 err |= __get_user(msr, &sr->mc_gregs[PT_MSR]); in restore_user_regs() 526 if (__get_user(current->thread.vrsave, (u32 __user *)&sr->mc_vregs[32])) in restore_user_regs() 572 if (__get_user(current->thread.spefscr, (u32 __user *)&sr->mc_vregs + ELF_NEVRREG)) in restore_user_regs() 607 err |= __get_user(current->thread.tm_tfhar, &sr->mc_gregs[PT_NIP]); in restore_tm_user_regs() 609 err |= __get_user(msr, &sr->mc_gregs[PT_MSR]); in restore_tm_user_regs() 635 if (__get_user(current->thread.ckvrsave, in restore_tm_user_regs() 637 __get_user(current->thread.vrsave, in restore_tm_user_regs() 682 if (__get_user(current->thread.spefscr, (u32 __user *)&sr->mc_vregs in restore_tm_user_regs() 688 if (__get_user(msr_hi, &tm_sr->mc_gregs[PT_MSR])) in restore_tm_user_regs() [all …]
|
/arch/parisc/kernel/ |
D | signal32.c | 50 err |= __get_user(compat_reg,&sc->sc_gr[regn]); in restore_sigcontext32() 53 err |= __get_user(compat_regt,&rf->rf_gr[regn]); in restore_sigcontext32() 65 err |= __get_user(compat_reg, &sc->sc_iaoq[0]); in restore_sigcontext32() 67 err |= __get_user(compat_regt, &rf->rf_iaoq[0]); in restore_sigcontext32() 73 err |= __get_user(compat_reg, &sc->sc_iaoq[1]); in restore_sigcontext32() 75 err |= __get_user(compat_regt, &rf->rf_iaoq[1]); in restore_sigcontext32() 83 err |= __get_user(compat_reg, &sc->sc_iasq[0]); in restore_sigcontext32() 85 err |= __get_user(compat_regt, &rf->rf_iasq[0]); in restore_sigcontext32() 89 err |= __get_user(compat_reg, &sc->sc_iasq[1]); in restore_sigcontext32() 91 err |= __get_user(compat_regt, &rf->rf_iasq[1]); in restore_sigcontext32() [all …]
|
/arch/ia64/kernel/ |
D | signal.c | 40 # define GET_SIGSET(k,u) __get_user((k)->sig[0], &(u)->sig[0]) 53 err = __get_user(flags, &sc->sc_flags); in restore_sigcontext() 54 err |= __get_user(nat, &sc->sc_nat); in restore_sigcontext() 55 err |= __get_user(ip, &sc->sc_ip); /* instruction pointer */ in restore_sigcontext() 56 err |= __get_user(cfm, &sc->sc_cfm); in restore_sigcontext() 57 err |= __get_user(um, &sc->sc_um); /* user mask */ in restore_sigcontext() 58 err |= __get_user(rsc, &sc->sc_ar_rsc); in restore_sigcontext() 59 err |= __get_user(scr->pt.ar_unat, &sc->sc_ar_unat); in restore_sigcontext() 60 err |= __get_user(scr->pt.ar_fpsr, &sc->sc_ar_fpsr); in restore_sigcontext() 61 err |= __get_user(scr->pt.ar_pfs, &sc->sc_ar_pfs); in restore_sigcontext() [all …]
|
D | ptrace.c | 997 retval |= __get_user(pt->cr_iip, &ppr->cr_iip); in ptrace_setregs() 998 retval |= __get_user(psr, &ppr->cr_ipsr); in ptrace_setregs() 1002 retval |= __get_user(pt->ar_pfs, &ppr->ar[PT_AUR_PFS]); in ptrace_setregs() 1003 retval |= __get_user(rsc, &ppr->ar[PT_AUR_RSC]); in ptrace_setregs() 1004 retval |= __get_user(pt->ar_bspstore, &ppr->ar[PT_AUR_BSPSTORE]); in ptrace_setregs() 1005 retval |= __get_user(pt->ar_unat, &ppr->ar[PT_AUR_UNAT]); in ptrace_setregs() 1006 retval |= __get_user(pt->ar_ccv, &ppr->ar[PT_AUR_CCV]); in ptrace_setregs() 1007 retval |= __get_user(pt->ar_fpsr, &ppr->ar[PT_AUR_FPSR]); in ptrace_setregs() 1009 retval |= __get_user(ec, &ppr->ar[PT_AUR_EC]); in ptrace_setregs() 1010 retval |= __get_user(lc, &ppr->ar[PT_AUR_LC]); in ptrace_setregs() [all …]
|
/arch/mips/kernel/ |
D | signal_o32.c | 95 err |= __get_user(regs->cp0_epc, &sc->sc_pc); in restore_sigcontext32() 96 err |= __get_user(regs->hi, &sc->sc_mdhi); in restore_sigcontext32() 97 err |= __get_user(regs->lo, &sc->sc_mdlo); in restore_sigcontext32() 99 err |= __get_user(treg, &sc->sc_hi1); mthi1(treg); in restore_sigcontext32() 100 err |= __get_user(treg, &sc->sc_lo1); mtlo1(treg); in restore_sigcontext32() 101 err |= __get_user(treg, &sc->sc_hi2); mthi2(treg); in restore_sigcontext32() 102 err |= __get_user(treg, &sc->sc_lo2); mtlo2(treg); in restore_sigcontext32() 103 err |= __get_user(treg, &sc->sc_hi3); mthi3(treg); in restore_sigcontext32() 104 err |= __get_user(treg, &sc->sc_lo3); mtlo3(treg); in restore_sigcontext32() 105 err |= __get_user(treg, &sc->sc_dsp); wrdsp(treg, DSP_MASK); in restore_sigcontext32() [all …]
|
D | signal.c | 101 err |= __get_user(fpr_val, &fpregs[i]); in copy_fp_from_sigcontext() 104 err |= __get_user(current->thread.fpu.fcr31, csr); in copy_fp_from_sigcontext() 244 err |= __get_user(val, &msa->wr[i]); in restore_msa_extcontext() 293 err = __get_user(ext.magic, (unsigned int *)buf); in restore_extcontext() 300 err = __get_user(ext.size, (unsigned int *)(buf in restore_extcontext() 387 err = __get_user(used, used_math); in protected_restore_fp_context() 425 err = __get_user(tmp, &fpregs[0]) | in protected_restore_fp_context() 426 __get_user(tmp, &fpregs[31]) | in protected_restore_fp_context() 427 __get_user(tmp, csr); in protected_restore_fp_context() 502 err = __get_user(csr, fpcsr); in fpcsr_pending() [all …]
|
D | signal32.c | 51 err |= __get_user(handler, &act->sa_handler); 53 err |= __get_user(new_ka.sa.sa_flags, &act->sa_flags); 54 err |= __get_user(mask, &act->sa_mask.sig[0]);
|
/arch/mips/include/asm/ |
D | termios.h | 38 err = __get_user(iflag, &termio->c_iflag); in user_termio_to_kernel_termios() 40 err |=__get_user(oflag, &termio->c_oflag); in user_termio_to_kernel_termios() 42 err |=__get_user(cflag, &termio->c_cflag); in user_termio_to_kernel_termios() 44 err |=__get_user(lflag, &termio->c_lflag); in user_termio_to_kernel_termios() 46 err |=__get_user(termios->c_line, &termio->c_line); in user_termio_to_kernel_termios()
|
/arch/m68k/kernel/ |
D | signal.c | 350 if (__get_user(*(long *)fpstate, (long __user *)&uc->uc_fpstate)) in rt_restore_fpu_state() 742 err = __get_user(temp, &uc->uc_mcontext.version); in rt_restore_ucontext() 746 err |= __get_user(regs->d0, &gregs[0]); in rt_restore_ucontext() 747 err |= __get_user(regs->d1, &gregs[1]); in rt_restore_ucontext() 748 err |= __get_user(regs->d2, &gregs[2]); in rt_restore_ucontext() 749 err |= __get_user(regs->d3, &gregs[3]); in rt_restore_ucontext() 750 err |= __get_user(regs->d4, &gregs[4]); in rt_restore_ucontext() 751 err |= __get_user(regs->d5, &gregs[5]); in rt_restore_ucontext() 752 err |= __get_user(sw->d6, &gregs[6]); in rt_restore_ucontext() 753 err |= __get_user(sw->d7, &gregs[7]); in rt_restore_ucontext() [all …]
|
/arch/sh/kernel/ |
D | signal_32.c | 120 #define COPY(x) err |= __get_user(regs->x, &sc->sc_##x) in restore_sigcontext() 144 err |= __get_user (owned_fp, &sc->sc_ownedfp); in restore_sigcontext() 151 err |= __get_user(*r0_p, &sc->sc_regs[0]); in restore_sigcontext() 168 if (__get_user(set.sig[0], &frame->sc.oldmask) in sys_sigreturn() 321 err |= __get_user(regs->pc, &funcptr->text); in setup_frame() 322 err |= __get_user(regs->regs[12], &funcptr->GOT); in setup_frame() 391 err |= __get_user(regs->pc, &funcptr->text); in setup_rt_frame() 392 err |= __get_user(regs->regs[12], &funcptr->GOT); in setup_rt_frame()
|
/arch/x86/kernel/ |
D | stacktrace.c | 104 if (__get_user(frame->next_fp, &fp->next_fp) || in copy_stack_frame() 105 __get_user(frame->ret_addr, &fp->ret_addr)) in copy_stack_frame()
|
/arch/parisc/include/asm/ |
D | uaccess.h | 33 #define get_user __get_user 98 #define __get_user(val, ptr) \ macro
|
/arch/csky/abiv2/ |
D | fpu.c | 32 fault = __get_user(instr_low, (u16 *)instrptr); in fpu_libc_helper() 36 fault = __get_user(instr_hi, (u16 *)(instrptr + 2)); in fpu_libc_helper()
|
/arch/powerpc/platforms/powernv/ |
D | opal-lpc.c | 320 rc = __get_user(data, (u32 __user *)ubuf); in lpc_debug_write() 324 rc = __get_user(data, (u16 __user *)ubuf); in lpc_debug_write() 328 rc = __get_user(data, (u8 __user *)ubuf); in lpc_debug_write()
|