/arch/unicore32/kernel/ |
D | signal.c | 64 err |= __get_user(regs->UCreg_00, &sf->uc.uc_mcontext.regs.UCreg_00); in restore_sigframe() 65 err |= __get_user(regs->UCreg_01, &sf->uc.uc_mcontext.regs.UCreg_01); in restore_sigframe() 66 err |= __get_user(regs->UCreg_02, &sf->uc.uc_mcontext.regs.UCreg_02); in restore_sigframe() 67 err |= __get_user(regs->UCreg_03, &sf->uc.uc_mcontext.regs.UCreg_03); in restore_sigframe() 68 err |= __get_user(regs->UCreg_04, &sf->uc.uc_mcontext.regs.UCreg_04); in restore_sigframe() 69 err |= __get_user(regs->UCreg_05, &sf->uc.uc_mcontext.regs.UCreg_05); in restore_sigframe() 70 err |= __get_user(regs->UCreg_06, &sf->uc.uc_mcontext.regs.UCreg_06); in restore_sigframe() 71 err |= __get_user(regs->UCreg_07, &sf->uc.uc_mcontext.regs.UCreg_07); in restore_sigframe() 72 err |= __get_user(regs->UCreg_08, &sf->uc.uc_mcontext.regs.UCreg_08); in restore_sigframe() 73 err |= __get_user(regs->UCreg_09, &sf->uc.uc_mcontext.regs.UCreg_09); in restore_sigframe() [all …]
|
/arch/ia64/include/uapi/asm/ |
D | ucontext.h | 5 struct sigcontext uc_mcontext; member 8 #define uc_link uc_mcontext.sc_gr[0] /* wrong type; nobody cares */ 9 #define uc_sigmask uc_mcontext.sc_sigmask 10 #define uc_stack uc_mcontext.sc_stack
|
/arch/arm/kernel/ |
D | signal.c | 152 __get_user_error(regs->ARM_r0, &sf->uc.uc_mcontext.arm_r0, err); in restore_sigframe() 153 __get_user_error(regs->ARM_r1, &sf->uc.uc_mcontext.arm_r1, err); in restore_sigframe() 154 __get_user_error(regs->ARM_r2, &sf->uc.uc_mcontext.arm_r2, err); in restore_sigframe() 155 __get_user_error(regs->ARM_r3, &sf->uc.uc_mcontext.arm_r3, err); in restore_sigframe() 156 __get_user_error(regs->ARM_r4, &sf->uc.uc_mcontext.arm_r4, err); in restore_sigframe() 157 __get_user_error(regs->ARM_r5, &sf->uc.uc_mcontext.arm_r5, err); in restore_sigframe() 158 __get_user_error(regs->ARM_r6, &sf->uc.uc_mcontext.arm_r6, err); in restore_sigframe() 159 __get_user_error(regs->ARM_r7, &sf->uc.uc_mcontext.arm_r7, err); in restore_sigframe() 160 __get_user_error(regs->ARM_r8, &sf->uc.uc_mcontext.arm_r8, err); in restore_sigframe() 161 __get_user_error(regs->ARM_r9, &sf->uc.uc_mcontext.arm_r9, err); in restore_sigframe() [all …]
|
/arch/arm64/kernel/ |
D | signal32.c | 62 struct compat_sigcontext uc_mcontext; member 336 __get_user_error(regs->regs[0], &sf->uc.uc_mcontext.arm_r0, err); in compat_restore_sigframe() 337 __get_user_error(regs->regs[1], &sf->uc.uc_mcontext.arm_r1, err); in compat_restore_sigframe() 338 __get_user_error(regs->regs[2], &sf->uc.uc_mcontext.arm_r2, err); in compat_restore_sigframe() 339 __get_user_error(regs->regs[3], &sf->uc.uc_mcontext.arm_r3, err); in compat_restore_sigframe() 340 __get_user_error(regs->regs[4], &sf->uc.uc_mcontext.arm_r4, err); in compat_restore_sigframe() 341 __get_user_error(regs->regs[5], &sf->uc.uc_mcontext.arm_r5, err); in compat_restore_sigframe() 342 __get_user_error(regs->regs[6], &sf->uc.uc_mcontext.arm_r6, err); in compat_restore_sigframe() 343 __get_user_error(regs->regs[7], &sf->uc.uc_mcontext.arm_r7, err); in compat_restore_sigframe() 344 __get_user_error(regs->regs[8], &sf->uc.uc_mcontext.arm_r8, err); in compat_restore_sigframe() [all …]
|
D | signal.c | 100 void *aux = sf->uc.uc_mcontext.__reserved; in restore_sigframe() 107 __get_user_error(regs->regs[i], &sf->uc.uc_mcontext.regs[i], in restore_sigframe() 109 __get_user_error(regs->sp, &sf->uc.uc_mcontext.sp, err); in restore_sigframe() 110 __get_user_error(regs->pc, &sf->uc.uc_mcontext.pc, err); in restore_sigframe() 111 __get_user_error(regs->pstate, &sf->uc.uc_mcontext.pstate, err); in restore_sigframe() 169 void *aux = sf->uc.uc_mcontext.__reserved; in setup_sigframe() 177 __put_user_error(regs->regs[i], &sf->uc.uc_mcontext.regs[i], in setup_sigframe() 179 __put_user_error(regs->sp, &sf->uc.uc_mcontext.sp, err); in setup_sigframe() 180 __put_user_error(regs->pc, &sf->uc.uc_mcontext.pc, err); in setup_sigframe() 181 __put_user_error(regs->pstate, &sf->uc.uc_mcontext.pstate, err); in setup_sigframe() [all …]
|
/arch/s390/include/uapi/asm/ |
D | ucontext.h | 23 _sigregs uc_mcontext; member 34 _sigregs uc_mcontext; member
|
/arch/powerpc/include/uapi/asm/ |
D | ucontext.h | 32 struct sigcontext uc_mcontext; /* last for extensibility */ member 36 struct mcontext uc_mcontext; member
|
/arch/x86/include/asm/ |
D | ia32.h | 21 struct sigcontext_ia32 uc_mcontext; member 30 struct sigcontext uc_mcontext; /* the 64-bit sigcontext type */ member
|
/arch/mips/kernel/ |
D | signal_n32.c | 56 struct sigcontext uc_mcontext; member 81 sig = restore_sigcontext(®s, &frame->rs_uc.uc_mcontext); in sysn32_rt_sigreturn() 121 err |= setup_sigcontext(regs, &frame->rs_uc.uc_mcontext); in setup_rt_frame_n32()
|
/arch/parisc/kernel/ |
D | signal.c | 132 &compat_frame->uc.uc_mcontext); in sys_rt_sigreturn() 134 if (restore_sigcontext32(&compat_frame->uc.uc_mcontext, in sys_rt_sigreturn() 145 &frame->uc.uc_mcontext); in sys_rt_sigreturn() 146 if (restore_sigcontext(&frame->uc.uc_mcontext, regs)) in sys_rt_sigreturn() 259 DBG(1,"setup_rt_frame: frame->uc.uc_mcontext = 0x%p\n", &compat_frame->uc.uc_mcontext); in setup_rt_frame() 260 err |= setup_sigcontext32(&compat_frame->uc.uc_mcontext, in setup_rt_frame() 271 DBG(1,"setup_rt_frame: frame->uc.uc_mcontext = 0x%p\n", &frame->uc.uc_mcontext); in setup_rt_frame() 272 err |= setup_sigcontext(&frame->uc.uc_mcontext, regs, in_syscall); in setup_rt_frame()
|
/arch/arc/kernel/ |
D | signal.c | 70 err = __copy_to_user(&(sf->uc.uc_mcontext.regs.scratch), regs, in stash_usr_regs() 71 sizeof(sf->uc.uc_mcontext.regs.scratch)); in stash_usr_regs() 86 err |= __copy_from_user(regs, &(sf->uc.uc_mcontext.regs.scratch), in restore_usr_regs() 87 sizeof(sf->uc.uc_mcontext.regs.scratch)); in restore_usr_regs()
|
/arch/sparc/kernel/ |
D | signal_64.c | 60 grp = &ucp->uc_mcontext.mc_gregs; in sparc64_set_context() 105 err |= __get_user(fp, &(ucp->uc_mcontext.mc_fp)); in sparc64_set_context() 106 err |= __get_user(i7, &(ucp->uc_mcontext.mc_i7)); in sparc64_set_context() 112 err |= __get_user(fenab, &(ucp->uc_mcontext.mc_fpregs.mcfpu_enab)); in sparc64_set_context() 118 err |= __get_user(fprs, &(ucp->uc_mcontext.mc_fpregs.mcfpu_fprs)); in sparc64_set_context() 121 &(ucp->uc_mcontext.mc_fpregs.mcfpu_fregs), in sparc64_set_context() 125 ((unsigned long __user *)&(ucp->uc_mcontext.mc_fpregs.mcfpu_fregs))+16, in sparc64_set_context() 128 &(ucp->uc_mcontext.mc_fpregs.mcfpu_fsr)); in sparc64_set_context() 130 &(ucp->uc_mcontext.mc_fpregs.mcfpu_gsr)); in sparc64_set_context() 164 mcp = &ucp->uc_mcontext; in sparc64_get_context()
|
/arch/parisc/include/asm/ |
D | ucontext.h | 8 struct sigcontext uc_mcontext; member
|
D | compat_ucontext.h | 13 struct compat_sigcontext uc_mcontext; member
|
/arch/cris/include/asm/ |
D | ucontext.h | 8 struct sigcontext uc_mcontext; member
|
/arch/frv/include/asm/ |
D | ucontext.h | 8 struct sigcontext uc_mcontext; member
|
/arch/xtensa/include/asm/ |
D | ucontext.h | 18 struct sigcontext uc_mcontext; member
|
/arch/m32r/include/asm/ |
D | ucontext.h | 8 struct sigcontext uc_mcontext; member
|
/arch/avr32/include/asm/ |
D | ucontext.h | 8 struct sigcontext uc_mcontext; member
|
/arch/mn10300/include/asm/ |
D | ucontext.h | 18 struct sigcontext uc_mcontext; member
|
/arch/alpha/include/asm/ |
D | ucontext.h | 9 struct sigcontext uc_mcontext; member
|
/arch/arm64/include/asm/ |
D | ucontext.h | 27 struct sigcontext uc_mcontext; member
|
/arch/x86/um/ |
D | stub_segv.c | 16 &uc->uc_mcontext); in stub_segv_handler()
|
/arch/mips/include/uapi/asm/ |
D | ucontext.h | 58 struct sigcontext uc_mcontext; member
|
/arch/powerpc/kernel/ |
D | signal_64.c | 596 get_user(new_msr, &new_ctx->uc_mcontext.gp_regs[PT_MSR])) in sys_swapcontext() 617 || setup_sigcontext(&old_ctx->uc_mcontext, regs, 0, NULL, 0, in sys_swapcontext() 645 if (restore_sigcontext(regs, NULL, 0, &new_ctx->uc_mcontext)) in sys_swapcontext() 678 if (__get_user(msr, &uc->uc_mcontext.gp_regs[PT_MSR])) in sys_rt_sigreturn() 685 if (restore_tm_sigcontexts(regs, &uc->uc_mcontext, in sys_rt_sigreturn() 686 &uc_transact->uc_mcontext)) in sys_rt_sigreturn() 692 if (restore_sigcontext(regs, NULL, 1, &uc->uc_mcontext)) in sys_rt_sigreturn() 736 err |= setup_tm_sigcontexts(&frame->uc.uc_mcontext, in handle_rt_signal64() 737 &frame->uc_transact.uc_mcontext, in handle_rt_signal64() 745 err |= setup_sigcontext(&frame->uc.uc_mcontext, regs, ksig->sig, in handle_rt_signal64() [all …]
|