/kernel/linux/linux-4.19/arch/alpha/kernel/ |
D | signal.c | 81 __put_user(old_ka.sa.sa_handler, &oact->sa_handler) || in SYSCALL_DEFINE3() 82 __put_user(old_ka.sa.sa_flags, &oact->sa_flags) || in SYSCALL_DEFINE3() 83 __put_user(old_ka.sa.sa_mask.sig[0], &oact->sa_mask)) in SYSCALL_DEFINE3() 277 err |= __put_user(on_sig_stack((unsigned long)sc), &sc->sc_onstack); in setup_sigcontext() 278 err |= __put_user(mask, &sc->sc_mask); in setup_sigcontext() 279 err |= __put_user(regs->pc, &sc->sc_pc); in setup_sigcontext() 280 err |= __put_user(8, &sc->sc_ps); in setup_sigcontext() 282 err |= __put_user(regs->r0 , sc->sc_regs+0); in setup_sigcontext() 283 err |= __put_user(regs->r1 , sc->sc_regs+1); in setup_sigcontext() 284 err |= __put_user(regs->r2 , sc->sc_regs+2); in setup_sigcontext() [all …]
|
/kernel/linux/linux-5.10/arch/alpha/kernel/ |
D | signal.c | 81 __put_user(old_ka.sa.sa_handler, &oact->sa_handler) || in SYSCALL_DEFINE3() 82 __put_user(old_ka.sa.sa_flags, &oact->sa_flags) || in SYSCALL_DEFINE3() 83 __put_user(old_ka.sa.sa_mask.sig[0], &oact->sa_mask)) in SYSCALL_DEFINE3() 277 err |= __put_user(on_sig_stack((unsigned long)sc), &sc->sc_onstack); in setup_sigcontext() 278 err |= __put_user(mask, &sc->sc_mask); in setup_sigcontext() 279 err |= __put_user(regs->pc, &sc->sc_pc); in setup_sigcontext() 280 err |= __put_user(8, &sc->sc_ps); in setup_sigcontext() 282 err |= __put_user(regs->r0 , sc->sc_regs+0); in setup_sigcontext() 283 err |= __put_user(regs->r1 , sc->sc_regs+1); in setup_sigcontext() 284 err |= __put_user(regs->r2 , sc->sc_regs+2); in setup_sigcontext() [all …]
|
/kernel/linux/linux-5.10/arch/nios2/kernel/ |
D | signal.c | 133 err |= __put_user(MCONTEXT_VERSION, &uc->uc_mcontext.version); in rt_setup_ucontext() 134 err |= __put_user(regs->r1, &gregs[0]); in rt_setup_ucontext() 135 err |= __put_user(regs->r2, &gregs[1]); in rt_setup_ucontext() 136 err |= __put_user(regs->r3, &gregs[2]); in rt_setup_ucontext() 137 err |= __put_user(regs->r4, &gregs[3]); in rt_setup_ucontext() 138 err |= __put_user(regs->r5, &gregs[4]); in rt_setup_ucontext() 139 err |= __put_user(regs->r6, &gregs[5]); in rt_setup_ucontext() 140 err |= __put_user(regs->r7, &gregs[6]); in rt_setup_ucontext() 141 err |= __put_user(regs->r8, &gregs[7]); in rt_setup_ucontext() 142 err |= __put_user(regs->r9, &gregs[8]); in rt_setup_ucontext() [all …]
|
/kernel/linux/linux-4.19/arch/nios2/kernel/ |
D | signal.c | 133 err |= __put_user(MCONTEXT_VERSION, &uc->uc_mcontext.version); in rt_setup_ucontext() 134 err |= __put_user(regs->r1, &gregs[0]); in rt_setup_ucontext() 135 err |= __put_user(regs->r2, &gregs[1]); in rt_setup_ucontext() 136 err |= __put_user(regs->r3, &gregs[2]); in rt_setup_ucontext() 137 err |= __put_user(regs->r4, &gregs[3]); in rt_setup_ucontext() 138 err |= __put_user(regs->r5, &gregs[4]); in rt_setup_ucontext() 139 err |= __put_user(regs->r6, &gregs[5]); in rt_setup_ucontext() 140 err |= __put_user(regs->r7, &gregs[6]); in rt_setup_ucontext() 141 err |= __put_user(regs->r8, &gregs[7]); in rt_setup_ucontext() 142 err |= __put_user(regs->r9, &gregs[8]); in rt_setup_ucontext() [all …]
|
/kernel/linux/linux-4.19/drivers/staging/comedi/ |
D | comedi_compat32.c | 111 err |= __put_user(temp.uint, &chaninfo->subdev); in compat_chaninfo() 113 err |= __put_user(compat_ptr(temp.uptr), &chaninfo->maxdata_list); in compat_chaninfo() 115 err |= __put_user(compat_ptr(temp.uptr), &chaninfo->flaglist); in compat_chaninfo() 117 err |= __put_user(compat_ptr(temp.uptr), &chaninfo->rangelist); in compat_chaninfo() 145 err |= __put_user(temp.uint, &rangeinfo->range_type); in compat_rangeinfo() 147 err |= __put_user(compat_ptr(temp.uptr), &rangeinfo->range_ptr); in compat_rangeinfo() 172 err |= __put_user(temp.uint, &cmd->subdev); in get_compat_cmd() 174 err |= __put_user(temp.uint, &cmd->flags); in get_compat_cmd() 176 err |= __put_user(temp.uint, &cmd->start_src); in get_compat_cmd() 178 err |= __put_user(temp.uint, &cmd->start_arg); in get_compat_cmd() [all …]
|
/kernel/linux/linux-4.19/arch/unicore32/kernel/ |
D | signal.c | 141 err |= __put_user(regs->UCreg_00, &sf->uc.uc_mcontext.regs.UCreg_00); in setup_sigframe() 142 err |= __put_user(regs->UCreg_01, &sf->uc.uc_mcontext.regs.UCreg_01); in setup_sigframe() 143 err |= __put_user(regs->UCreg_02, &sf->uc.uc_mcontext.regs.UCreg_02); in setup_sigframe() 144 err |= __put_user(regs->UCreg_03, &sf->uc.uc_mcontext.regs.UCreg_03); in setup_sigframe() 145 err |= __put_user(regs->UCreg_04, &sf->uc.uc_mcontext.regs.UCreg_04); in setup_sigframe() 146 err |= __put_user(regs->UCreg_05, &sf->uc.uc_mcontext.regs.UCreg_05); in setup_sigframe() 147 err |= __put_user(regs->UCreg_06, &sf->uc.uc_mcontext.regs.UCreg_06); in setup_sigframe() 148 err |= __put_user(regs->UCreg_07, &sf->uc.uc_mcontext.regs.UCreg_07); in setup_sigframe() 149 err |= __put_user(regs->UCreg_08, &sf->uc.uc_mcontext.regs.UCreg_08); in setup_sigframe() 150 err |= __put_user(regs->UCreg_09, &sf->uc.uc_mcontext.regs.UCreg_09); in setup_sigframe() [all …]
|
/kernel/linux/linux-5.10/arch/parisc/kernel/ |
D | signal32.c | 135 err |= __put_user(compat_reg, &sc->sc_iaoq[0]); in setup_sigcontext32() 141 err |= __put_user(compat_reg, &rf->rf_iaoq[0]); in setup_sigcontext32() 146 err |= __put_user(compat_reg, &sc->sc_iaoq[1]); in setup_sigcontext32() 151 err |= __put_user(compat_reg, &rf->rf_iaoq[1]); in setup_sigcontext32() 156 err |= __put_user(compat_reg, &sc->sc_iasq[0]); in setup_sigcontext32() 157 err |= __put_user(compat_reg, &sc->sc_iasq[1]); in setup_sigcontext32() 161 err |= __put_user(compat_reg, &rf->rf_iasq[0]); in setup_sigcontext32() 162 err |= __put_user(compat_reg, &rf->rf_iasq[1]); in setup_sigcontext32() 172 err |= __put_user(compat_reg, &sc->sc_iaoq[0]); in setup_sigcontext32() 177 err |= __put_user(compat_reg, &rf->rf_iaoq[0]); in setup_sigcontext32() [all …]
|
/kernel/linux/linux-4.19/arch/parisc/kernel/ |
D | signal32.c | 149 err |= __put_user(compat_reg, &sc->sc_iaoq[0]); in setup_sigcontext32() 155 err |= __put_user(compat_reg, &rf->rf_iaoq[0]); in setup_sigcontext32() 160 err |= __put_user(compat_reg, &sc->sc_iaoq[1]); in setup_sigcontext32() 165 err |= __put_user(compat_reg, &rf->rf_iaoq[1]); in setup_sigcontext32() 170 err |= __put_user(compat_reg, &sc->sc_iasq[0]); in setup_sigcontext32() 171 err |= __put_user(compat_reg, &sc->sc_iasq[1]); in setup_sigcontext32() 175 err |= __put_user(compat_reg, &rf->rf_iasq[0]); in setup_sigcontext32() 176 err |= __put_user(compat_reg, &rf->rf_iasq[1]); in setup_sigcontext32() 186 err |= __put_user(compat_reg, &sc->sc_iaoq[0]); in setup_sigcontext32() 191 err |= __put_user(compat_reg, &rf->rf_iaoq[0]); in setup_sigcontext32() [all …]
|
/kernel/linux/linux-4.19/arch/x86/ia32/ |
D | sys_ia32.c | 79 __put_user(huge_encode_dev(stat->dev), &ubuf->st_dev) || in cp_stat64() 80 __put_user(stat->ino, &ubuf->__st_ino) || in cp_stat64() 81 __put_user(stat->ino, &ubuf->st_ino) || in cp_stat64() 82 __put_user(stat->mode, &ubuf->st_mode) || in cp_stat64() 83 __put_user(stat->nlink, &ubuf->st_nlink) || in cp_stat64() 84 __put_user(uid, &ubuf->st_uid) || in cp_stat64() 85 __put_user(gid, &ubuf->st_gid) || in cp_stat64() 86 __put_user(huge_encode_dev(stat->rdev), &ubuf->st_rdev) || in cp_stat64() 87 __put_user(stat->size, &ubuf->st_size) || in cp_stat64() 88 __put_user(stat->atime.tv_sec, &ubuf->st_atime) || in cp_stat64() [all …]
|
/kernel/linux/linux-4.19/arch/sparc/kernel/ |
D | signal_64.c | 105 err |= __put_user(fp, in sparc64_set_context() 107 err |= __put_user(i7, in sparc64_set_context() 175 err |= __put_user(current->blocked.sig[0], in sparc64_get_context() 181 err |= __put_user(regs->tstate, &((*grp)[MC_TSTATE])); in sparc64_get_context() 182 err |= __put_user(regs->tpc, &((*grp)[MC_PC])); in sparc64_get_context() 183 err |= __put_user(regs->tnpc, &((*grp)[MC_NPC])); in sparc64_get_context() 184 err |= __put_user(regs->y, &((*grp)[MC_Y])); in sparc64_get_context() 185 err |= __put_user(regs->u_regs[UREG_G1], &((*grp)[MC_G1])); in sparc64_get_context() 186 err |= __put_user(regs->u_regs[UREG_G2], &((*grp)[MC_G2])); in sparc64_get_context() 187 err |= __put_user(regs->u_regs[UREG_G3], &((*grp)[MC_G3])); in sparc64_get_context() [all …]
|
D | signal32.c | 390 err |= __put_user(regs->tnpc, &sf->info.si_regs.npc); in setup_frame32() 391 err |= __put_user(regs->y, &sf->info.si_regs.y); in setup_frame32() 395 err |= __put_user(psr, &sf->info.si_regs.psr); in setup_frame32() 397 err |= __put_user(regs->u_regs[i], &sf->info.si_regs.u_regs[i]); in setup_frame32() 398 err |= __put_user(sizeof(siginfo_extra_v8plus_t), &sf->extra_size); in setup_frame32() 399 err |= __put_user(SIGINFO_EXTRA_V8PLUS_MAGIC, &sf->v8plus.g_upper[0]); in setup_frame32() 401 err |= __put_user(((u32 *)regs->u_regs)[2*i], in setup_frame32() 403 err |= __put_user((regs->tstate & TSTATE_ASI) >> 24UL, in setup_frame32() 410 err |= __put_user((u64)fp, &sf->fpu_save); in setup_frame32() 412 err |= __put_user(0, &sf->fpu_save); in setup_frame32() [all …]
|
/kernel/linux/linux-5.10/arch/sparc/kernel/ |
D | signal_64.c | 104 err |= __put_user(fp, in sparc64_set_context() 106 err |= __put_user(i7, in sparc64_set_context() 174 err |= __put_user(current->blocked.sig[0], in sparc64_get_context() 180 err |= __put_user(regs->tstate, &((*grp)[MC_TSTATE])); in sparc64_get_context() 181 err |= __put_user(regs->tpc, &((*grp)[MC_PC])); in sparc64_get_context() 182 err |= __put_user(regs->tnpc, &((*grp)[MC_NPC])); in sparc64_get_context() 183 err |= __put_user(regs->y, &((*grp)[MC_Y])); in sparc64_get_context() 184 err |= __put_user(regs->u_regs[UREG_G1], &((*grp)[MC_G1])); in sparc64_get_context() 185 err |= __put_user(regs->u_regs[UREG_G2], &((*grp)[MC_G2])); in sparc64_get_context() 186 err |= __put_user(regs->u_regs[UREG_G3], &((*grp)[MC_G3])); in sparc64_get_context() [all …]
|
D | signal32.c | 393 err |= __put_user(regs->tnpc, &sf->info.si_regs.npc); in setup_frame32() 394 err |= __put_user(regs->y, &sf->info.si_regs.y); in setup_frame32() 398 err |= __put_user(psr, &sf->info.si_regs.psr); in setup_frame32() 400 err |= __put_user(regs->u_regs[i], &sf->info.si_regs.u_regs[i]); in setup_frame32() 401 err |= __put_user(sizeof(siginfo_extra_v8plus_t), &sf->extra_size); in setup_frame32() 402 err |= __put_user(SIGINFO_EXTRA_V8PLUS_MAGIC, &sf->v8plus.g_upper[0]); in setup_frame32() 404 err |= __put_user(((u32 *)regs->u_regs)[2*i], in setup_frame32() 406 err |= __put_user((regs->tstate & TSTATE_ASI) >> 24UL, in setup_frame32() 413 err |= __put_user((u64)fp, &sf->fpu_save); in setup_frame32() 415 err |= __put_user(0, &sf->fpu_save); in setup_frame32() [all …]
|
/kernel/linux/linux-5.10/arch/h8300/kernel/ |
D | signal.c | 137 err |= __put_user(regs->er0, &sc->sc_er0); in setup_sigcontext() 138 err |= __put_user(regs->er1, &sc->sc_er1); in setup_sigcontext() 139 err |= __put_user(regs->er2, &sc->sc_er2); in setup_sigcontext() 140 err |= __put_user(regs->er3, &sc->sc_er3); in setup_sigcontext() 141 err |= __put_user(regs->er4, &sc->sc_er4); in setup_sigcontext() 142 err |= __put_user(regs->er5, &sc->sc_er5); in setup_sigcontext() 143 err |= __put_user(regs->er6, &sc->sc_er6); in setup_sigcontext() 144 err |= __put_user(rdusp(), &sc->sc_usp); in setup_sigcontext() 145 err |= __put_user(regs->pc, &sc->sc_pc); in setup_sigcontext() 146 err |= __put_user(regs->ccr, &sc->sc_ccr); in setup_sigcontext() [all …]
|
/kernel/linux/linux-4.19/arch/h8300/kernel/ |
D | signal.c | 138 err |= __put_user(regs->er0, &sc->sc_er0); in setup_sigcontext() 139 err |= __put_user(regs->er1, &sc->sc_er1); in setup_sigcontext() 140 err |= __put_user(regs->er2, &sc->sc_er2); in setup_sigcontext() 141 err |= __put_user(regs->er3, &sc->sc_er3); in setup_sigcontext() 142 err |= __put_user(regs->er4, &sc->sc_er4); in setup_sigcontext() 143 err |= __put_user(regs->er5, &sc->sc_er5); in setup_sigcontext() 144 err |= __put_user(regs->er6, &sc->sc_er6); in setup_sigcontext() 145 err |= __put_user(rdusp(), &sc->sc_usp); in setup_sigcontext() 146 err |= __put_user(regs->pc, &sc->sc_pc); in setup_sigcontext() 147 err |= __put_user(regs->ccr, &sc->sc_ccr); in setup_sigcontext() [all …]
|
/kernel/linux/linux-4.19/arch/hexagon/kernel/ |
D | signal.c | 57 err |= __put_user(regs->sa0, &sc->sc_regs.sa0); in setup_sigcontext() 58 err |= __put_user(regs->lc0, &sc->sc_regs.lc0); in setup_sigcontext() 59 err |= __put_user(regs->sa1, &sc->sc_regs.sa1); in setup_sigcontext() 60 err |= __put_user(regs->lc1, &sc->sc_regs.lc1); in setup_sigcontext() 61 err |= __put_user(regs->m0, &sc->sc_regs.m0); in setup_sigcontext() 62 err |= __put_user(regs->m1, &sc->sc_regs.m1); in setup_sigcontext() 63 err |= __put_user(regs->usr, &sc->sc_regs.usr); in setup_sigcontext() 64 err |= __put_user(regs->preds, &sc->sc_regs.p3_0); in setup_sigcontext() 65 err |= __put_user(regs->gp, &sc->sc_regs.gp); in setup_sigcontext() 66 err |= __put_user(regs->ugp, &sc->sc_regs.ugp); in setup_sigcontext() [all …]
|
/kernel/linux/linux-5.10/arch/hexagon/kernel/ |
D | signal.c | 44 err |= __put_user(regs->sa0, &sc->sc_regs.sa0); in setup_sigcontext() 45 err |= __put_user(regs->lc0, &sc->sc_regs.lc0); in setup_sigcontext() 46 err |= __put_user(regs->sa1, &sc->sc_regs.sa1); in setup_sigcontext() 47 err |= __put_user(regs->lc1, &sc->sc_regs.lc1); in setup_sigcontext() 48 err |= __put_user(regs->m0, &sc->sc_regs.m0); in setup_sigcontext() 49 err |= __put_user(regs->m1, &sc->sc_regs.m1); in setup_sigcontext() 50 err |= __put_user(regs->usr, &sc->sc_regs.usr); in setup_sigcontext() 51 err |= __put_user(regs->preds, &sc->sc_regs.p3_0); in setup_sigcontext() 52 err |= __put_user(regs->gp, &sc->sc_regs.gp); in setup_sigcontext() 53 err |= __put_user(regs->ugp, &sc->sc_regs.ugp); in setup_sigcontext() [all …]
|
/kernel/linux/linux-5.10/arch/ia64/kernel/ |
D | signal.c | 39 # define PUT_SIGSET(k,u) __put_user((k)->sig[0], &(u)->sig[0]) 187 err |= __put_user(flags, &sc->sc_flags); in setup_sigcontext() 188 err |= __put_user(nat, &sc->sc_nat); in setup_sigcontext() 190 err |= __put_user(cfm, &sc->sc_cfm); in setup_sigcontext() 191 err |= __put_user(scr->pt.cr_ipsr & IA64_PSR_UM, &sc->sc_um); in setup_sigcontext() 192 err |= __put_user(scr->pt.ar_rsc, &sc->sc_ar_rsc); in setup_sigcontext() 193 err |= __put_user(scr->pt.ar_unat, &sc->sc_ar_unat); /* ar.unat */ in setup_sigcontext() 194 err |= __put_user(scr->pt.ar_fpsr, &sc->sc_ar_fpsr); /* ar.fpsr */ in setup_sigcontext() 195 err |= __put_user(scr->pt.ar_pfs, &sc->sc_ar_pfs); in setup_sigcontext() 196 err |= __put_user(scr->pt.pr, &sc->sc_pr); /* predicates */ in setup_sigcontext() [all …]
|
/kernel/linux/linux-5.10/arch/mips/kernel/ |
D | signal.c | 82 __put_user(get_fpr64(¤t->thread.fpu.fpr[i], 0), in copy_fp_to_sigcontext() 85 err |= __put_user(current->thread.fpu.fcr31, csr); in copy_fp_to_sigcontext() 188 err = __put_user(read_msa_csr(), &msa->csr); in save_msa_extcontext() 195 err = __put_user(current->thread.fpu.msacsr, &msa->csr); in save_msa_extcontext() 199 err |= __put_user(val, &msa->wr[i]); in save_msa_extcontext() 203 err |= __put_user(MSA_EXTCONTEXT_MAGIC, &msa->ext.magic); in save_msa_extcontext() 204 err |= __put_user(sizeof(*msa), &msa->ext.size); in save_msa_extcontext() 280 if (__put_user(END_EXTCONTEXT_MAGIC, (u32 *)buf)) in save_extcontext() 362 err = __put_user(0, &fpregs[0]) | in protected_save_fp_context() 363 __put_user(0, &fpregs[31]) | in protected_save_fp_context() [all …]
|
/kernel/linux/linux-4.19/arch/mips/kernel/ |
D | signal.c | 80 __put_user(get_fpr64(¤t->thread.fpu.fpr[i], 0), in copy_fp_to_sigcontext() 83 err |= __put_user(current->thread.fpu.fcr31, csr); in copy_fp_to_sigcontext() 170 err = __put_user(read_msa_csr(), &msa->csr); in save_msa_extcontext() 177 err = __put_user(current->thread.fpu.msacsr, &msa->csr); in save_msa_extcontext() 181 err |= __put_user(val, &msa->wr[i]); in save_msa_extcontext() 185 err |= __put_user(MSA_EXTCONTEXT_MAGIC, &msa->ext.magic); in save_msa_extcontext() 186 err |= __put_user(sizeof(*msa), &msa->ext.size); in save_msa_extcontext() 251 if (__put_user(END_EXTCONTEXT_MAGIC, (u32 *)buf)) in save_extcontext() 333 err = __put_user(0, &fpregs[0]) | in protected_save_fp_context() 334 __put_user(0, &fpregs[31]) | in protected_save_fp_context() [all …]
|
/kernel/linux/linux-4.19/arch/ia64/kernel/ |
D | signal.c | 39 # define PUT_SIGSET(k,u) __put_user((k)->sig[0], &(u)->sig[0]) 187 err |= __put_user(flags, &sc->sc_flags); in setup_sigcontext() 188 err |= __put_user(nat, &sc->sc_nat); in setup_sigcontext() 190 err |= __put_user(cfm, &sc->sc_cfm); in setup_sigcontext() 191 err |= __put_user(scr->pt.cr_ipsr & IA64_PSR_UM, &sc->sc_um); in setup_sigcontext() 192 err |= __put_user(scr->pt.ar_rsc, &sc->sc_ar_rsc); in setup_sigcontext() 193 err |= __put_user(scr->pt.ar_unat, &sc->sc_ar_unat); /* ar.unat */ in setup_sigcontext() 194 err |= __put_user(scr->pt.ar_fpsr, &sc->sc_ar_fpsr); /* ar.fpsr */ in setup_sigcontext() 195 err |= __put_user(scr->pt.ar_pfs, &sc->sc_ar_pfs); in setup_sigcontext() 196 err |= __put_user(scr->pt.pr, &sc->sc_pr); /* predicates */ in setup_sigcontext() [all …]
|
/kernel/linux/linux-4.19/arch/m68k/kernel/ |
D | signal.c | 508 err |= __put_user(*(long *)fpstate, (long __user *)&uc->uc_fpstate); in rt_save_fpu_state() 853 err |= __put_user(MCONTEXT_VERSION, &uc->uc_mcontext.version); in rt_setup_ucontext() 854 err |= __put_user(regs->d0, &gregs[0]); in rt_setup_ucontext() 855 err |= __put_user(regs->d1, &gregs[1]); in rt_setup_ucontext() 856 err |= __put_user(regs->d2, &gregs[2]); in rt_setup_ucontext() 857 err |= __put_user(regs->d3, &gregs[3]); in rt_setup_ucontext() 858 err |= __put_user(regs->d4, &gregs[4]); in rt_setup_ucontext() 859 err |= __put_user(regs->d5, &gregs[5]); in rt_setup_ucontext() 860 err |= __put_user(sw->d6, &gregs[6]); in rt_setup_ucontext() 861 err |= __put_user(sw->d7, &gregs[7]); in rt_setup_ucontext() [all …]
|
/kernel/linux/linux-5.10/arch/m68k/kernel/ |
D | signal.c | 507 err |= __put_user(*(long *)fpstate, (long __user *)&uc->uc_fpstate); in rt_save_fpu_state() 860 err |= __put_user(MCONTEXT_VERSION, &uc->uc_mcontext.version); in rt_setup_ucontext() 861 err |= __put_user(regs->d0, &gregs[0]); in rt_setup_ucontext() 862 err |= __put_user(regs->d1, &gregs[1]); in rt_setup_ucontext() 863 err |= __put_user(regs->d2, &gregs[2]); in rt_setup_ucontext() 864 err |= __put_user(regs->d3, &gregs[3]); in rt_setup_ucontext() 865 err |= __put_user(regs->d4, &gregs[4]); in rt_setup_ucontext() 866 err |= __put_user(regs->d5, &gregs[5]); in rt_setup_ucontext() 867 err |= __put_user(sw->d6, &gregs[6]); in rt_setup_ucontext() 868 err |= __put_user(sw->d7, &gregs[7]); in rt_setup_ucontext() [all …]
|
/kernel/linux/linux-4.19/arch/xtensa/kernel/ |
D | signal.c | 140 #define COPY(x) err |= __put_user(regs->x, &sc->sc_##x) in setup_sigcontext() 151 err |= __put_user(0, &sc->sc_xtregs); in setup_sigcontext() 167 err |= __put_user(err ? NULL : &frame->xtregs, &sc->sc_xtregs); in setup_sigcontext() 301 err |= __put_user(0x22, &codemem[0]); in gen_return_code() 302 err |= __put_user(0x0a, &codemem[1]); in gen_return_code() 303 err |= __put_user(__NR_rt_sigreturn, &codemem[2]); in gen_return_code() 305 err |= __put_user(0x00, &codemem[3]); in gen_return_code() 306 err |= __put_user(0x05, &codemem[4]); in gen_return_code() 307 err |= __put_user(0x00, &codemem[5]); in gen_return_code() 311 err |= __put_user(0x22, &codemem[0]); in gen_return_code() [all …]
|
/kernel/linux/linux-4.19/arch/sh/kernel/ |
D | signal_32.c | 99 return __put_user(0, &sc->sc_ownedfp); in save_sigcontext_fpu() 101 if (__put_user(1, &sc->sc_ownedfp)) in save_sigcontext_fpu() 224 #define COPY(x) err |= __put_user(regs->x, &sc->sc_##x) in setup_sigcontext() 243 err |= __put_user(mask, &sc->oldmask); in setup_sigcontext() 294 err |= __put_user(MOVW(7), &frame->retcode[0]); in setup_frame() 295 err |= __put_user(TRAP_NOARG, &frame->retcode[1]); in setup_frame() 296 err |= __put_user(OR_R0_R0, &frame->retcode[2]); in setup_frame() 297 err |= __put_user(OR_R0_R0, &frame->retcode[3]); in setup_frame() 298 err |= __put_user(OR_R0_R0, &frame->retcode[4]); in setup_frame() 299 err |= __put_user(OR_R0_R0, &frame->retcode[5]); in setup_frame() [all …]
|