Home
last modified time | relevance | path

Searched refs:retcode (Results 1 – 23 of 23) sorted by relevance

/arch/sh/kernel/
Dsignal_32.c123 u16 retcode[8]; member
130 u16 retcode[8]; member
372 err |= __put_user(MOVW(7), &frame->retcode[0]); in setup_frame()
373 err |= __put_user(TRAP_NOARG, &frame->retcode[1]); in setup_frame()
374 err |= __put_user(OR_R0_R0, &frame->retcode[2]); in setup_frame()
375 err |= __put_user(OR_R0_R0, &frame->retcode[3]); in setup_frame()
376 err |= __put_user(OR_R0_R0, &frame->retcode[4]); in setup_frame()
377 err |= __put_user(OR_R0_R0, &frame->retcode[5]); in setup_frame()
378 err |= __put_user(OR_R0_R0, &frame->retcode[6]); in setup_frame()
379 err |= __put_user((__NR_sigreturn), &frame->retcode[7]); in setup_frame()
[all …]
Dsignal_64.c271 long long retcode[2]; member
279 long long retcode[2]; member
583 DEREF_REG_PR = (unsigned long) frame->retcode | 0x01; in setup_frame()
587 if (__copy_to_user(frame->retcode, in setup_frame()
699 DEREF_REG_PR = (unsigned long) frame->retcode | 0x01; in setup_rt_frame()
703 if (__copy_to_user(frame->retcode, in setup_rt_frame()
/arch/mn10300/kernel/
Dsignal.c313 if (__put_user((void (*)(void))frame->retcode, in setup_frame()
317 if (__put_user(0x2c, (char *)(frame->retcode + 0)) || in setup_frame()
318 __put_user(__NR_sigreturn, (char *)(frame->retcode + 1)) || in setup_frame()
319 __put_user(0x00, (char *)(frame->retcode + 2)) || in setup_frame()
320 __put_user(0xf0, (char *)(frame->retcode + 3)) || in setup_frame()
321 __put_user(0xe0, (char *)(frame->retcode + 4))) in setup_frame()
323 flush_icache_range((unsigned long) frame->retcode, in setup_frame()
324 (unsigned long) frame->retcode + 5); in setup_frame()
395 if (__put_user((void(*)(void))frame->retcode, in setup_rt_frame()
398 __put_user(0x2c, (char *)(frame->retcode + 0)) || in setup_rt_frame()
[all …]
Dsigframe.h20 char retcode[8]; member
32 char retcode[8]; member
/arch/frv/kernel/
Dsignal.c104 uint32_t retcode[2]; member
115 uint32_t retcode[2]; member
286 if (__put_user((__sigrestore_t)frame->retcode, &frame->pretcode) || in setup_frame()
287 __put_user(0x8efc0000|__NR_sigreturn, &frame->retcode[0]) || in setup_frame()
288 __put_user(0xc0700000, &frame->retcode[1])) in setup_frame()
291 flush_icache_range((unsigned long) frame->retcode, in setup_frame()
292 (unsigned long) (frame->retcode + 2)); in setup_frame()
297 __frame->lr = (unsigned long) &frame->retcode; in setup_frame()
384 if (__put_user((__sigrestore_t)frame->retcode, &frame->pretcode) || in setup_rt_frame()
385 __put_user(0x8efc0000|__NR_rt_sigreturn, &frame->retcode[0]) || in setup_rt_frame()
[all …]
/arch/cris/arch-v10/kernel/
Dsignal.c109 unsigned char retcode[8]; /* trampoline code */ member
117 unsigned char retcode[8]; /* trampoline code */ member
330 return_ip = (unsigned long)&frame->retcode; in setup_frame()
332 err |= __put_user(0x9c5f, (short __user*)(frame->retcode+0)); in setup_frame()
333 err |= __put_user(__NR_sigreturn, (short __user*)(frame->retcode+2)); in setup_frame()
334 err |= __put_user(0xe93d, (short __user*)(frame->retcode+4)); in setup_frame()
391 return_ip = (unsigned long)&frame->retcode; in setup_rt_frame()
393 err |= __put_user(0x9c5f, (short __user *)(frame->retcode+0)); in setup_rt_frame()
395 (short __user *)(frame->retcode+2)); in setup_rt_frame()
396 err |= __put_user(0xe93d, (short __user *)(frame->retcode+4)); in setup_rt_frame()
/arch/x86/include/asm/
Dsigframe.h41 char retcode[8]; member
56 char retcode[8]; member
/arch/sparc/math-emu/
Dmath_32.c163 int retcode = 0; /* assume all succeed */ in do_mathemu() local
179 retcode = do_one_mathemu(insn, &fpt->thread.fsr, fpt->thread.float_regs); in do_mathemu()
180 if (retcode) { in do_mathemu()
186 return retcode; in do_mathemu()
191 retcode = do_one_mathemu(fpt->thread.fpqueue[i].insn, &(fpt->thread.fsr), fpt->thread.float_regs); in do_mathemu()
192 if (!retcode) /* insn failed, no point doing any more */ in do_mathemu()
196 if (retcode) in do_mathemu()
202 return retcode; in do_mathemu()
/arch/um/sys-i386/
Dsignal.c308 char retcode[8]; member
320 char retcode[8]; member
338 restorer = frame->retcode; in setup_signal_stack_sc()
367 err |= __put_user(0xb858, (short __user *)(frame->retcode+0)); in setup_signal_stack_sc()
368 err |= __put_user(__NR_sigreturn, (int __user *)(frame->retcode+2)); in setup_signal_stack_sc()
369 err |= __put_user(0x80cd, (short __user *)(frame->retcode+6)); in setup_signal_stack_sc()
403 restorer = frame->retcode; in setup_signal_stack_si()
425 err |= __put_user(0xb8, (char __user *)(frame->retcode+0)); in setup_signal_stack_si()
426 err |= __put_user(__NR_rt_sigreturn, (int __user *)(frame->retcode+1)); in setup_signal_stack_si()
427 err |= __put_user(0x80cd, (short __user *)(frame->retcode+5)); in setup_signal_stack_si()
/arch/cris/arch-v32/kernel/
Dsignal.c42 unsigned char retcode[8]; /* Trampoline code. */ member
50 unsigned char retcode[8]; /* Trampoline code. */ member
340 err |= __put_user(0x9c5f, (short __user*)(frame->retcode+0)); in setup_frame()
341 err |= __put_user(__NR_sigreturn, (short __user*)(frame->retcode+2)); in setup_frame()
342 err |= __put_user(0xe93d, (short __user*)(frame->retcode+4)); in setup_frame()
420 err |= __put_user(0x9c5f, (short __user*)(frame->retcode+0)); in setup_rt_frame()
423 (short __user*)(frame->retcode+2)); in setup_rt_frame()
425 err |= __put_user(0xe93d, (short __user*)(frame->retcode+4)); in setup_rt_frame()
/arch/h8300/kernel/
Dsignal.c162 unsigned char retcode[8]; member
179 unsigned char retcode[8]; member
350 ret = frame->retcode; in setup_frame()
356 (unsigned long *)(frame->retcode + 0)); in setup_frame()
357 err |= __put_user(0x5700, (unsigned short *)(frame->retcode + 4)); in setup_frame()
426 ret = frame->retcode; in setup_rt_frame()
432 (unsigned long *)(frame->retcode + 0)); in setup_rt_frame()
433 err |= __put_user(0x5700, (unsigned short *)(frame->retcode + 4)); in setup_rt_frame()
/arch/alpha/kernel/
Dsignal.c214 unsigned int retcode[3]; member
221 unsigned int retcode[3]; member
454 err |= __put_user(INSN_MOV_R30_R16, frame->retcode+0); in setup_frame()
455 err |= __put_user(INSN_LDI_R0+__NR_sigreturn, frame->retcode+1); in setup_frame()
456 err |= __put_user(INSN_CALLSYS, frame->retcode+2); in setup_frame()
458 r26 = (unsigned long) frame->retcode; in setup_frame()
517 err |= __put_user(INSN_MOV_R30_R16, frame->retcode+0); in setup_rt_frame()
519 frame->retcode+1); in setup_rt_frame()
520 err |= __put_user(INSN_CALLSYS, frame->retcode+2); in setup_rt_frame()
522 r26 = (unsigned long) frame->retcode; in setup_rt_frame()
/arch/s390/kernel/
Dsignal.c43 __u8 retcode[S390_SYSCALL_SIZE]; member
49 __u8 retcode[S390_SYSCALL_SIZE]; member
294 frame->retcode | PSW_ADDR_AMODE; in setup_frame()
296 (u16 __user *)(frame->retcode))) in setup_frame()
361 frame->retcode | PSW_ADDR_AMODE; in setup_rt_frame()
363 (u16 __user *)(frame->retcode))) in setup_rt_frame()
Dcompat_signal.c42 __u8 retcode[S390_SYSCALL_SIZE]; member
48 __u8 retcode[S390_SYSCALL_SIZE]; member
485 regs->gprs[14] = (__u64) frame->retcode; in setup_frame32()
487 (u16 __user *)(frame->retcode))) in setup_frame32()
548 regs->gprs[14] = (__u64) frame->retcode; in setup_rt_frame32()
550 (u16 __user *)(frame->retcode)); in setup_rt_frame32()
/arch/arm/kernel/
Dsignal.c204 unsigned long retcode[2]; member
411 unsigned long retcode; in setup_return() local
437 retcode = (unsigned long)ka->sa.sa_restorer; in setup_return()
453 retcode = KERN_SIGRETURN_CODE + (idx << 2) + thumb; in setup_return()
462 retcode = ((unsigned long)rc) + thumb; in setup_return()
468 regs->ARM_lr = retcode; in setup_return()
491 err = setup_return(regs, ka, frame->retcode, frame, usig); in setup_frame()
520 err = setup_return(regs, ka, frame->sig.retcode, frame, usig); in setup_rt_frame()
/arch/m68k/kernel/
Dsignal.c176 char retcode[8]; member
187 char retcode[8]; member
819 err |= __put_user(frame->retcode, &frame->pretcode); in setup_frame()
822 (long __user *)(frame->retcode)); in setup_frame()
827 push_cache ((unsigned long) &frame->retcode); in setup_frame()
899 err |= __put_user(frame->retcode, &frame->pretcode); in setup_rt_frame()
902 (long __user *)(frame->retcode + 0)); in setup_rt_frame()
903 err |= __put_user(0x4e40, (short __user *)(frame->retcode + 4)); in setup_rt_frame()
908 push_cache ((unsigned long) &frame->retcode); in setup_rt_frame()
/arch/avr32/kernel/
Dsignal.c36 unsigned long retcode; member
174 &frame->retcode); in setup_rt_frame()
202 regs->lr = (unsigned long) &frame->retcode; in setup_rt_frame()
/arch/ia64/ia32/
Dia32_signal.c51 char retcode[8]; member
63 char retcode[8]; member
828 err |= __put_user(0xb858, (short __user *)(frame->retcode+0)); in setup_frame_ia32()
829 err |= __put_user(__IA32_NR_sigreturn, (int __user *)(frame->retcode+2)); in setup_frame_ia32()
830 err |= __put_user(0x80cd, (short __user *)(frame->retcode+6)); in setup_frame_ia32()
906 err |= __put_user(0xb8, (char __user *)(frame->retcode+0)); in setup_rt_frame_ia32()
907 err |= __put_user(__IA32_NR_rt_sigreturn, (int __user *)(frame->retcode+1)); in setup_rt_frame_ia32()
908 err |= __put_user(0x80cd, (short __user *)(frame->retcode+5)); in setup_rt_frame_ia32()
/arch/xtensa/kernel/
Dsignal.c49 unsigned char retcode[6]; member
390 err |= gen_return_code(frame->retcode); in setup_frame()
395 ra = (unsigned long) frame->retcode; in setup_frame()
/arch/x86/kernel/
Dsignal.c197 } __attribute__((packed)) retcode = { variable
292 restorer = &frame->retcode; in __setup_frame()
306 err |= __put_user(*((u64 *)&retcode), (u64 *)frame->retcode); in __setup_frame()
375 err |= __put_user(*((u64 *)&rt_retcode), (u64 *)frame->retcode); in __setup_rt_frame()
/arch/x86/ia32/
Dia32_signal.c438 restorer = &frame->retcode; in ia32_setup_frame()
446 err |= __put_user(*((u64 *)&code), (u64 *)frame->retcode); in ia32_setup_frame()
533 err |= __put_user(*((u64 *)&code), (u64 *)frame->retcode); in ia32_setup_rt_frame()
/arch/m68knommu/kernel/
Dsignal.c164 char retcode[8]; member
175 char retcode[8]; member
/arch/blackfin/kernel/
Dsignal.c59 char retcode[8]; member