/arch/sh/kernel/ |
D | signal_32.c | 67 u16 retcode[8]; member 74 u16 retcode[8]; member 297 err |= __put_user(MOVW(7), &frame->retcode[0]); in setup_frame() 298 err |= __put_user(TRAP_NOARG, &frame->retcode[1]); in setup_frame() 299 err |= __put_user(OR_R0_R0, &frame->retcode[2]); in setup_frame() 300 err |= __put_user(OR_R0_R0, &frame->retcode[3]); in setup_frame() 301 err |= __put_user(OR_R0_R0, &frame->retcode[4]); in setup_frame() 302 err |= __put_user(OR_R0_R0, &frame->retcode[5]); in setup_frame() 303 err |= __put_user(OR_R0_R0, &frame->retcode[6]); in setup_frame() 304 err |= __put_user((__NR_sigreturn), &frame->retcode[7]); in setup_frame() [all …]
|
D | signal_64.c | 129 long long retcode[2]; member 137 long long retcode[2]; member 420 frame->retcode | 0x01); in setup_frame() 422 if (__copy_to_user(frame->retcode, in setup_frame() 512 frame->retcode | 0x01); in setup_rt_frame() 514 if (__copy_to_user(frame->retcode, in setup_rt_frame()
|
/arch/c6x/kernel/ |
D | signal.c | 31 unsigned long retcode[RETCODE_SIZE >> 2]; member 144 unsigned long __user *retcode; in setup_rt_frame() local 163 retcode = (unsigned long __user *) &frame->retcode; in setup_rt_frame() 166 #define COPY(x) (err |= __put_user(x, retcode++)) in setup_rt_frame() 184 flush_icache_range((unsigned long) &frame->retcode, in setup_rt_frame() 185 (unsigned long) &frame->retcode + RETCODE_SIZE); in setup_rt_frame() 187 retcode = (unsigned long __user *) &frame->retcode; in setup_rt_frame() 191 regs->b3 = (unsigned long) retcode; in setup_rt_frame()
|
/arch/openrisc/kernel/ |
D | signal.c | 36 unsigned char retcode[16]; /* trampoline code */ member 179 return_ip = (unsigned long)&frame->retcode; in setup_rt_frame() 184 err |= __put_user(0xa960, (short *)(frame->retcode + 0)); in setup_rt_frame() 185 err |= __put_user(__NR_rt_sigreturn, (short *)(frame->retcode + 2)); in setup_rt_frame() 186 err |= __put_user(0x20000001, (unsigned long *)(frame->retcode + 4)); in setup_rt_frame() 187 err |= __put_user(0x15000000, (unsigned long *)(frame->retcode + 8)); in setup_rt_frame()
|
/arch/sparc/math-emu/ |
D | math_32.c | 165 int retcode = 0; /* assume all succeed */ in do_mathemu() local 183 retcode = do_one_mathemu(insn, &fpt->thread.fsr, fpt->thread.float_regs); in do_mathemu() 184 if (retcode) { in do_mathemu() 190 return retcode; in do_mathemu() 195 retcode = do_one_mathemu(fpt->thread.fpqueue[i].insn, &(fpt->thread.fsr), fpt->thread.float_regs); in do_mathemu() 196 if (!retcode) /* insn failed, no point doing any more */ in do_mathemu() 200 if (retcode) in do_mathemu() 206 return retcode; in do_mathemu()
|
/arch/x86/include/asm/ |
D | sigframe.h | 41 char retcode[8]; member 56 char retcode[8]; member
|
/arch/alpha/kernel/ |
D | signal.c | 128 unsigned int retcode[3]; member 135 unsigned int retcode[3]; member 346 err |= __put_user(INSN_MOV_R30_R16, frame->retcode+0); in setup_frame() 347 err |= __put_user(INSN_LDI_R0+__NR_sigreturn, frame->retcode+1); in setup_frame() 348 err |= __put_user(INSN_CALLSYS, frame->retcode+2); in setup_frame() 350 r26 = (unsigned long) frame->retcode; in setup_frame() 400 err |= __put_user(INSN_MOV_R30_R16, frame->retcode+0); in setup_rt_frame() 402 frame->retcode+1); in setup_rt_frame() 403 err |= __put_user(INSN_CALLSYS, frame->retcode+2); in setup_rt_frame() 405 r26 = (unsigned long) frame->retcode; in setup_rt_frame()
|
/arch/x86/um/ |
D | signal.c | 345 char retcode[8]; member 357 char retcode[8]; member 373 restorer = frame->retcode; in setup_signal_stack_sc() 391 err |= __put_user(0xb858, (short __user *)(frame->retcode+0)); in setup_signal_stack_sc() 392 err |= __put_user(__NR_sigreturn, (int __user *)(frame->retcode+2)); in setup_signal_stack_sc() 393 err |= __put_user(0x80cd, (short __user *)(frame->retcode+6)); in setup_signal_stack_sc() 418 restorer = frame->retcode; in setup_signal_stack_si() 437 err |= __put_user(0xb8, (char __user *)(frame->retcode+0)); in setup_signal_stack_si() 438 err |= __put_user(__NR_rt_sigreturn, (int __user *)(frame->retcode+1)); in setup_signal_stack_si() 439 err |= __put_user(0x80cd, (short __user *)(frame->retcode+5)); in setup_signal_stack_si()
|
/arch/arm/kernel/ |
D | signal.h | 5 unsigned long retcode[4]; member
|
D | signal.c | 367 unsigned long retcode; in setup_return() local 418 retcode = (unsigned long)ksig->ka.sa.sa_restorer; in setup_return() 433 __put_user(retcode, rc+3)) in setup_return() 460 retcode = mm->context.sigpage + signal_return_offset + in setup_return() 472 retcode = ((unsigned long)rc) + thumb; in setup_return() 478 regs->ARM_lr = retcode; in setup_return() 503 err = setup_return(regs, ksig, frame->retcode, frame); in setup_frame() 525 err = setup_return(regs, ksig, frame->sig.retcode, frame); in setup_rt_frame()
|
D | asm-offsets.c | 109 DEFINE(SIGFRAME_RC3_OFFSET, offsetof(struct sigframe, retcode[3])); in main() 110 DEFINE(RT_SIGFRAME_RC3_OFFSET, offsetof(struct rt_sigframe, sig.retcode[3])); in main()
|
/arch/h8300/kernel/ |
D | signal.c | 67 unsigned char retcode[8]; member 184 ret = (unsigned char *)&frame->retcode; in setup_rt_frame() 190 (unsigned long *)(frame->retcode + 0)); in setup_rt_frame() 192 (unsigned short *)(frame->retcode + 4)); in setup_rt_frame()
|
/arch/arm64/kernel/ |
D | signal32.c | 323 compat_ulong_t retcode; in compat_setup_return() local 342 retcode = ptr_to_compat(ka->sa.sa_restorer); in compat_setup_return() 367 retcode = ptr_to_compat(vdso_trampoline) + thumb; in compat_setup_return() 374 retcode = (unsigned long)current->mm->context.vdso + in compat_setup_return() 381 regs->compat_lr = retcode; in compat_setup_return() 453 compat_setup_return(regs, &ksig->ka, frame->sig.retcode, frame, usig); in compat_setup_rt_frame() 476 compat_setup_return(regs, &ksig->ka, frame->retcode, frame, usig); in compat_setup_frame()
|
/arch/m68k/kernel/ |
D | signal.c | 231 char retcode[8]; member 242 char retcode[8]; member 933 err |= __put_user(frame->retcode, &frame->pretcode); in setup_frame() 936 (long __user *)(frame->retcode)); in setup_frame() 944 push_cache ((unsigned long) &frame->retcode); in setup_frame() 1004 err |= __put_user(frame->retcode, &frame->pretcode); in setup_rt_frame() 1007 err |= __put_user(0x203c0000, (long __user *)(frame->retcode + 0)); in setup_rt_frame() 1009 (long __user *)(frame->retcode + 4)); in setup_rt_frame() 1013 (long __user *)(frame->retcode + 0)); in setup_rt_frame() 1014 err |= __put_user(0x4e40, (short __user *)(frame->retcode + 4)); in setup_rt_frame() [all …]
|
/arch/unicore32/kernel/ |
D | signal.c | 44 unsigned long retcode[2]; member 215 unsigned long retcode; in setup_return() local 227 retcode = KERN_SIGRETURN_CODE + (idx << 2); in setup_return() 231 regs->UCreg_lr = retcode; in setup_return() 254 err |= setup_return(regs, &ksig->ka, frame->retcode, frame, in setup_frame() 277 err |= setup_return(regs, &ksig->ka, frame->sig.retcode, frame, in setup_rt_frame()
|
/arch/arm64/include/asm/ |
D | signal32.h | 49 compat_ulong_t retcode[2]; member
|
/arch/xtensa/kernel/ |
D | signal.c | 44 unsigned char retcode[6]; member 374 err |= gen_return_code(frame->retcode); in setup_frame() 379 ra = (unsigned long) frame->retcode; in setup_frame()
|
/arch/x86/ia32/ |
D | ia32_signal.c | 296 restorer = &frame->retcode; in ia32_setup_frame() 306 put_user_ex(*((u64 *)&code), (u64 __user *)frame->retcode); in ia32_setup_frame() 380 put_user_ex(*((u64 *)&code), (u64 __user *)frame->retcode); in ia32_setup_rt_frame()
|
/arch/x86/kernel/ |
D | signal.c | 309 } __attribute__((packed)) retcode = { variable 357 restorer = &frame->retcode; in __setup_frame() 371 err |= __put_user(*((u64 *)&retcode), (u64 *)frame->retcode); in __setup_frame() 431 put_user_ex(*((u64 *)&rt_retcode), (u64 *)frame->retcode); in __setup_rt_frame()
|
/arch/nds32/kernel/ |
D | signal.c | 260 unsigned long retcode; in setup_return() local 262 retcode = VDSO_SYMBOL(current->mm->context.vdso, rt_sigtramp); in setup_return() 265 regs->lp = retcode; in setup_return()
|