Home
last modified time | relevance | path

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

/arch/arm64/kernel/
Dsignal.c58 struct rt_sigframe __user *sigframe; member
77 sizeof(user->sigframe->uc.uc_mcontext.__reserved); in init_user_layout()
172 char __user *base = (char __user *)user->sigframe; in apply_user_offset()
466 struct rt_sigframe __user *sf = user->sigframe; in setup_sigframe()
500 char __user *sfp = (char __user *)user->sigframe; in setup_sigframe()
562 user->sigframe = (struct rt_sigframe __user *)sp; in get_sigframe()
567 if (!access_ok(VERIFY_WRITE, user->sigframe, sp_top - sp)) in get_sigframe()
579 regs->sp = (unsigned long)user->sigframe; in setup_return()
601 frame = user.sigframe; in setup_rt_frame()
/arch/ia64/kernel/
Dsigframe.h8 struct sigframe { struct
Dasm-offsets.c31 DEFINE(SIGFRAME_SIZE, sizeof (struct sigframe)); in foo()
193 DEFINE(IA64_SIGFRAME_ARG0_OFFSET, offsetof (struct sigframe, arg0)); in foo()
194 DEFINE(IA64_SIGFRAME_ARG1_OFFSET, offsetof (struct sigframe, arg1)); in foo()
195 DEFINE(IA64_SIGFRAME_ARG2_OFFSET, offsetof (struct sigframe, arg2)); in foo()
196 DEFINE(IA64_SIGFRAME_HANDLER_OFFSET, offsetof (struct sigframe, handler)); in foo()
197 DEFINE(IA64_SIGFRAME_SIGCONTEXT_OFFSET, offsetof (struct sigframe, sc)); in foo()
Dsignal.c169 sc = &((struct sigframe __user *) (scr->pt.r12 + 16))->sc; in ia64_rt_sigreturn()
320 struct sigframe __user *frame; in setup_frame()
/arch/mn10300/kernel/
Dsigframe.h12 struct sigframe struct
Dsignal.c96 struct sigframe __user *frame; in sys_sigreturn()
100 frame = (struct sigframe __user *) current_frame()->sp; in sys_sigreturn()
204 struct sigframe __user *frame; in setup_frame()
/arch/cris/arch-v10/kernel/
Dsignal.c50 struct sigframe { struct
109 struct sigframe __user *frame = (struct sigframe *)rdusp(); in sys_sigreturn()
230 struct sigframe __user *frame; in setup_frame()
/arch/arm/kernel/
Dsignal.c174 struct sigframe { struct
181 struct sigframe sig; argument
184 static int restore_sigframe(struct pt_regs *regs, struct sigframe __user *sf) in restore_sigframe()
237 struct sigframe __user *frame; in sys_sigreturn()
250 frame = (struct sigframe __user *)regs->ARM_sp; in sys_sigreturn()
299 setup_sigframe(struct sigframe __user *sf, struct pt_regs *regs, sigset_t *set) in setup_sigframe()
470 struct sigframe __user *frame = get_sigframe(ksig, regs, sizeof(*frame)); in setup_frame()
/arch/frv/kernel/
Dsignal.c39 struct sigframe struct
87 struct sigframe __user *frame = (struct sigframe __user *) __frame->sp; in sys_sigreturn()
176 struct sigframe __user *frame; in setup_frame()
/arch/x86/include/asm/
Dsigframe.h11 #define sigframe_ia32 sigframe
/arch/s390/kernel/
Dsignal.c63 struct sigframe struct
220 struct sigframe __user *frame = in SYSCALL_DEFINE0()
221 (struct sigframe __user *) regs->gprs[15]; in SYSCALL_DEFINE0()
290 struct sigframe __user *frame; in setup_frame()
/arch/x86/um/
Dsignal.c338 struct sigframe struct
363 struct sigframe __user *frame; in setup_signal_stack_sc() argument
369 frame = (struct sigframe __user *) stack_top - 1; in setup_signal_stack_sc()
455 struct sigframe __user *frame = (struct sigframe __user *)(sp - 8); in sys_sigreturn()
/arch/unicore32/kernel/
Dsignal.c45 struct sigframe { struct
52 struct sigframe sig; argument
55 static int restore_sigframe(struct pt_regs *regs, struct sigframe __user *sf) in restore_sigframe()
136 static int setup_sigframe(struct sigframe __user *sf, struct pt_regs *regs, in setup_sigframe()
244 struct sigframe __user *frame = get_sigframe(&ksig->ka, regs, sizeof(*frame)); in setup_frame()
/arch/mips/kernel/
Dsignal.c48 struct sigframe { struct
597 struct sigframe __user *frame; in sys_sigreturn()
601 frame = (struct sigframe __user *) regs.regs[29]; in sys_sigreturn()
671 struct sigframe __user *frame; in setup_frame()
899 BUILD_BUG_ON((offsetof(struct sigframe, sf_extcontext) - in signal_setup()
900 offsetof(struct sigframe, sf_sc)) != in signal_setup()
/arch/powerpc/perf/
Dcallchain.c243 struct signal_frame_64 __user *sigframe; in perf_callchain_user_64() local
271 sigframe = (struct signal_frame_64 __user *) sp; in perf_callchain_user_64()
272 uregs = sigframe->uc.uc_mcontext.gp_regs; in perf_callchain_user_64()
/arch/sh/kernel/
Dsignal_32.c63 struct sigframe struct
156 struct sigframe __user *frame = (struct sigframe __user *)regs->regs[15]; in sys_sigreturn()
270 struct sigframe __user *frame; in setup_frame()
Dsignal_64.c129 struct sigframe { struct
258 struct sigframe __user *frame = (struct sigframe __user *) (long) REF_REG_SP; in sys_sigreturn()
379 struct sigframe __user *frame; in setup_frame()
/arch/x86/
DMakefile211 cfi-sigframe := $(call as-instr,.cfi_startproc\n.cfi_signal_frame\n.cfi_endproc,-DCONFIG_AS_CFI_SIG…
224 KBUILD_AFLAGS += $(cfi) $(cfi-sigframe) $(cfi-sections) $(asinstr) $(avx_instr) $(avx2_instr) $(avx…
225 KBUILD_CFLAGS += $(cfi) $(cfi-sigframe) $(cfi-sections) $(asinstr) $(avx_instr) $(avx2_instr) $(avx…
/arch/m68k/kernel/
Dsignal.c225 struct sigframe struct
724 struct sigframe __user *frame = (struct sigframe __user *)(usp - 4); in do_sigreturn()
825 struct sigframe __user *frame; in setup_frame()
/arch/x86/kernel/
Dsignal.c316 struct sigframe __user *frame; in __setup_frame()
612 struct sigframe __user *frame; in sys_sigreturn()
615 frame = (struct sigframe __user *)(regs->sp - 8); in sys_sigreturn()
/arch/alpha/kernel/
Dsignal.c125 struct sigframe struct
343 struct sigframe __user *frame; in setup_frame()
/arch/powerpc/kernel/
Dsignal_32.c219 struct sigframe { struct
1442 struct sigframe __user *frame; in handle_signal32()
1527 struct sigframe __user *sf; in sys_sigreturn()
1541 sf = (struct sigframe __user *)(regs->gpr[1] + __SIGNAL_FRAMESIZE); in sys_sigreturn()
/arch/microblaze/kernel/
Dsignal.c47 struct sigframe { struct