Home
last modified time | relevance | path

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

/arch/sh/kernel/
Dsignal_32.c67 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 …]
Dsignal_64.c129 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/
Dsignal.c31 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/
Dsignal.c36 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/
Dmath_32.c165 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/
Dsigframe.h41 char retcode[8]; member
56 char retcode[8]; member
/arch/alpha/kernel/
Dsignal.c128 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/
Dsignal.c345 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/
Dsignal.h5 unsigned long retcode[4]; member
Dsignal.c367 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()
Dasm-offsets.c109 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/
Dsignal.c67 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/
Dsignal32.c323 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/
Dsignal.c231 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/
Dsignal.c44 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/
Dsignal32.h49 compat_ulong_t retcode[2]; member
/arch/xtensa/kernel/
Dsignal.c44 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/
Dia32_signal.c296 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/
Dsignal.c309 } __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/
Dsignal.c260 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()