/arch/sh/kernel/ |
D | signal_32.c | 65 u16 retcode[8]; member 72 u16 retcode[8]; member 292 err |= __put_user(MOVW(7), &frame->retcode[0]); in setup_frame() 293 err |= __put_user(TRAP_NOARG, &frame->retcode[1]); in setup_frame() 294 err |= __put_user(OR_R0_R0, &frame->retcode[2]); in setup_frame() 295 err |= __put_user(OR_R0_R0, &frame->retcode[3]); in setup_frame() 296 err |= __put_user(OR_R0_R0, &frame->retcode[4]); in setup_frame() 297 err |= __put_user(OR_R0_R0, &frame->retcode[5]); in setup_frame() 298 err |= __put_user(OR_R0_R0, &frame->retcode[6]); in setup_frame() 299 err |= __put_user((__NR_sigreturn), &frame->retcode[7]); in setup_frame() [all …]
|
D | signal_64.c | 132 long long retcode[2]; member 140 long long retcode[2]; member 423 frame->retcode | 0x01); in setup_frame() 425 if (__copy_to_user(frame->retcode, in setup_frame() 515 frame->retcode | 0x01); in setup_rt_frame() 517 if (__copy_to_user(frame->retcode, in setup_rt_frame()
|
/arch/frv/kernel/ |
D | signal.c | 45 uint32_t retcode[2]; member 56 uint32_t retcode[2]; member 207 if (__put_user((__sigrestore_t)frame->retcode, &frame->pretcode) || in setup_frame() 208 __put_user(0x8efc0000|__NR_sigreturn, &frame->retcode[0]) || in setup_frame() 209 __put_user(0xc0700000, &frame->retcode[1])) in setup_frame() 212 flush_icache_range((unsigned long) frame->retcode, in setup_frame() 213 (unsigned long) (frame->retcode + 2)); in setup_frame() 231 __frame->lr = (unsigned long) &frame->retcode; in setup_frame() 288 if (__put_user((__sigrestore_t)frame->retcode, &frame->pretcode) || in setup_rt_frame() 289 __put_user(0x8efc0000|__NR_rt_sigreturn, &frame->retcode[0]) || in setup_rt_frame() [all …]
|
/arch/mn10300/kernel/ |
D | signal.c | 231 if (__put_user((void (*)(void))frame->retcode, in setup_frame() 235 if (__put_user(0x2c, (char *)(frame->retcode + 0)) || in setup_frame() 236 __put_user(__NR_sigreturn, (char *)(frame->retcode + 1)) || in setup_frame() 237 __put_user(0x00, (char *)(frame->retcode + 2)) || in setup_frame() 238 __put_user(0xf0, (char *)(frame->retcode + 3)) || in setup_frame() 239 __put_user(0xe0, (char *)(frame->retcode + 4))) in setup_frame() 241 flush_icache_range((unsigned long) frame->retcode, in setup_frame() 242 (unsigned long) frame->retcode + 5); in setup_frame() 296 if (__put_user((void(*)(void))frame->retcode, in setup_rt_frame() 299 __put_user(0x2c, (char *)(frame->retcode + 0)) || in setup_rt_frame() [all …]
|
D | sigframe.h | 20 char retcode[8]; member 32 char retcode[8]; member
|
/arch/cris/arch-v10/kernel/ |
D | signal.c | 51 unsigned char retcode[8]; /* trampoline code */ member 59 unsigned char retcode[8]; /* trampoline code */ member 254 return_ip = (unsigned long)&frame->retcode; in setup_frame() 256 err |= __put_user(0x9c5f, (short __user*)(frame->retcode+0)); in setup_frame() 257 err |= __put_user(__NR_sigreturn, (short __user*)(frame->retcode+2)); in setup_frame() 258 err |= __put_user(0xe93d, (short __user*)(frame->retcode+4)); in setup_frame() 313 return_ip = (unsigned long)&frame->retcode; in setup_rt_frame() 315 err |= __put_user(0x9c5f, (short __user *)(frame->retcode+0)); in setup_rt_frame() 317 (short __user *)(frame->retcode+2)); in setup_rt_frame() 318 err |= __put_user(0xe93d, (short __user *)(frame->retcode+4)); in setup_rt_frame()
|
/arch/c6x/kernel/ |
D | signal.c | 34 unsigned long retcode[RETCODE_SIZE >> 2]; member 147 unsigned long __user *retcode; in setup_rt_frame() local 166 retcode = (unsigned long __user *) &frame->retcode; in setup_rt_frame() 169 #define COPY(x) (err |= __put_user(x, retcode++)) in setup_rt_frame() 187 flush_icache_range((unsigned long) &frame->retcode, in setup_rt_frame() 188 (unsigned long) &frame->retcode + RETCODE_SIZE); in setup_rt_frame() 190 retcode = (unsigned long __user *) &frame->retcode; in setup_rt_frame() 194 regs->b3 = (unsigned long) retcode; in setup_rt_frame()
|
/arch/openrisc/kernel/ |
D | signal.c | 40 unsigned char retcode[16]; /* trampoline code */ member 183 return_ip = (unsigned long)&frame->retcode; in setup_rt_frame() 188 err |= __put_user(0xa960, (short *)(frame->retcode + 0)); in setup_rt_frame() 189 err |= __put_user(__NR_rt_sigreturn, (short *)(frame->retcode + 2)); in setup_rt_frame() 190 err |= __put_user(0x20000001, (unsigned long *)(frame->retcode + 4)); in setup_rt_frame() 191 err |= __put_user(0x15000000, (unsigned long *)(frame->retcode + 8)); in setup_rt_frame()
|
/arch/x86/include/asm/ |
D | sigframe.h | 40 char retcode[8]; member 55 char retcode[8]; member
|
/arch/cris/arch-v32/kernel/ |
D | signal.c | 39 unsigned char retcode[8]; /* Trampoline code. */ member 47 unsigned char retcode[8]; /* Trampoline code. */ member 254 err |= __put_user(0x9c5f, (short __user*)(frame->retcode+0)); in setup_frame() 255 err |= __put_user(__NR_sigreturn, (short __user*)(frame->retcode+2)); in setup_frame() 256 err |= __put_user(0xe93d, (short __user*)(frame->retcode+4)); in setup_frame() 325 err |= __put_user(0x9c5f, (short __user*)(frame->retcode+0)); in setup_rt_frame() 328 (short __user*)(frame->retcode+2)); in setup_rt_frame() 330 err |= __put_user(0xe93d, (short __user*)(frame->retcode+4)); in setup_rt_frame()
|
/arch/sparc/math-emu/ |
D | math_32.c | 164 int retcode = 0; /* assume all succeed */ in do_mathemu() local 182 retcode = do_one_mathemu(insn, &fpt->thread.fsr, fpt->thread.float_regs); in do_mathemu() 183 if (retcode) { in do_mathemu() 189 return retcode; in do_mathemu() 194 retcode = do_one_mathemu(fpt->thread.fpqueue[i].insn, &(fpt->thread.fsr), fpt->thread.float_regs); in do_mathemu() 195 if (!retcode) /* insn failed, no point doing any more */ in do_mathemu() 199 if (retcode) in do_mathemu() 205 return retcode; in do_mathemu()
|
/arch/metag/kernel/ |
D | signal.c | 42 unsigned long retcode[2]; member 179 err |= __put_user(code, (unsigned long __user *)(&frame->retcode[0])); in setup_rt_frame() 183 err |= __put_user(code, (unsigned long __user *)(&frame->retcode[1])); in setup_rt_frame() 189 regs->REG_RTP = (unsigned long) frame->retcode; in setup_rt_frame() 203 flush_cache_sigtramp(regs->REG_RTP, sizeof(frame->retcode)); in setup_rt_frame()
|
/arch/alpha/kernel/ |
D | signal.c | 126 unsigned int retcode[3]; member 133 unsigned int retcode[3]; member 356 err |= __put_user(INSN_MOV_R30_R16, frame->retcode+0); in setup_frame() 357 err |= __put_user(INSN_LDI_R0+__NR_sigreturn, frame->retcode+1); in setup_frame() 358 err |= __put_user(INSN_CALLSYS, frame->retcode+2); in setup_frame() 360 r26 = (unsigned long) frame->retcode; in setup_frame() 410 err |= __put_user(INSN_MOV_R30_R16, frame->retcode+0); in setup_rt_frame() 412 frame->retcode+1); in setup_rt_frame() 413 err |= __put_user(INSN_CALLSYS, frame->retcode+2); in setup_rt_frame() 415 r26 = (unsigned long) frame->retcode; in setup_rt_frame()
|
/arch/x86/um/ |
D | signal.c | 358 char retcode[8]; member 370 char retcode[8]; member 386 restorer = frame->retcode; in setup_signal_stack_sc() 404 err |= __put_user(0xb858, (short __user *)(frame->retcode+0)); in setup_signal_stack_sc() 405 err |= __put_user(__NR_sigreturn, (int __user *)(frame->retcode+2)); in setup_signal_stack_sc() 406 err |= __put_user(0x80cd, (short __user *)(frame->retcode+6)); in setup_signal_stack_sc() 431 restorer = frame->retcode; in setup_signal_stack_si() 450 err |= __put_user(0xb8, (char __user *)(frame->retcode+0)); in setup_signal_stack_si() 451 err |= __put_user(__NR_rt_sigreturn, (int __user *)(frame->retcode+1)); in setup_signal_stack_si() 452 err |= __put_user(0x80cd, (short __user *)(frame->retcode+5)); in setup_signal_stack_si()
|
/arch/arm/kernel/ |
D | signal.c | 134 unsigned long retcode[2]; member 335 unsigned long retcode; in setup_return() local 376 retcode = (unsigned long)ksig->ka.sa.sa_restorer; in setup_return() 400 retcode = mm->context.sigpage + signal_return_offset + in setup_return() 412 retcode = ((unsigned long)rc) + thumb; in setup_return() 418 regs->ARM_lr = retcode; in setup_return() 441 err = setup_return(regs, ksig, frame->retcode, frame); in setup_frame() 463 err = setup_return(regs, ksig, frame->sig.retcode, frame); in setup_rt_frame()
|
/arch/h8300/kernel/ |
D | signal.c | 66 unsigned char retcode[8]; member 183 ret = frame->retcode; in setup_rt_frame() 189 (unsigned long *)(frame->retcode + 0)); in setup_rt_frame() 191 (unsigned short *)(frame->retcode + 4)); in setup_rt_frame()
|
/arch/m68k/kernel/ |
D | signal.c | 248 char retcode[8]; member 259 char retcode[8]; member 880 err |= __put_user(frame->retcode, &frame->pretcode); in setup_frame() 883 (long __user *)(frame->retcode)); in setup_frame() 891 push_cache ((unsigned long) &frame->retcode); in setup_frame() 960 err |= __put_user(frame->retcode, &frame->pretcode); in setup_rt_frame() 963 err |= __put_user(0x203c0000, (long __user *)(frame->retcode + 0)); in setup_rt_frame() 965 (long __user *)(frame->retcode + 4)); in setup_rt_frame() 969 (long __user *)(frame->retcode + 0)); in setup_rt_frame() 970 err |= __put_user(0x4e40, (short __user *)(frame->retcode + 4)); in setup_rt_frame() [all …]
|
/arch/avr32/kernel/ |
D | signal.c | 28 unsigned long retcode; member 161 &frame->retcode); in setup_rt_frame() 184 regs->lr = (unsigned long) &frame->retcode; in setup_rt_frame()
|
/arch/arm64/kernel/ |
D | signal32.c | 96 compat_ulong_t retcode[2]; member 465 compat_ulong_t retcode; in compat_setup_return() local 484 retcode = ptr_to_compat(ka->sa.sa_restorer); in compat_setup_return() 492 retcode = AARCH32_VECTORS_BASE + in compat_setup_return() 499 regs->compat_lr = retcode; in compat_setup_return() 570 compat_setup_return(regs, &ksig->ka, frame->sig.retcode, frame, usig); in compat_setup_rt_frame() 593 compat_setup_return(regs, &ksig->ka, frame->retcode, frame, usig); in compat_setup_frame()
|
/arch/unicore32/kernel/ |
D | signal.c | 47 unsigned long retcode[2]; member 218 unsigned long retcode; in setup_return() local 230 retcode = KERN_SIGRETURN_CODE + (idx << 2); in setup_return() 234 regs->UCreg_lr = retcode; in setup_return() 257 err |= setup_return(regs, &ksig->ka, frame->retcode, frame, in setup_frame() 280 err |= setup_return(regs, &ksig->ka, frame->sig.retcode, frame, in setup_rt_frame()
|
/arch/xtensa/kernel/ |
D | signal.c | 45 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 | 299 restorer = &frame->retcode; in ia32_setup_frame() 309 put_user_ex(*((u64 *)&code), (u64 __user *)frame->retcode); in ia32_setup_frame() 383 put_user_ex(*((u64 *)&code), (u64 __user *)frame->retcode); in ia32_setup_rt_frame()
|
/arch/x86/kernel/ |
D | signal.c | 258 } __attribute__((packed)) retcode = { variable 306 restorer = &frame->retcode; in __setup_frame() 320 err |= __put_user(*((u64 *)&retcode), (u64 *)frame->retcode); in __setup_frame() 380 put_user_ex(*((u64 *)&rt_retcode), (u64 *)frame->retcode); in __setup_rt_frame()
|
/arch/blackfin/kernel/ |
D | signal.c | 35 char retcode[8]; member
|