Home
last modified time | relevance | path

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

/Linux-v5.4/arch/arm/kernel/
Dsignal.h3 struct sigframe { struct
10 struct sigframe sig; argument
Dsignal.c173 static int restore_sigframe(struct pt_regs *regs, struct sigframe __user *sf) in restore_sigframe()
226 struct sigframe __user *frame; in sys_sigreturn()
239 frame = (struct sigframe __user *)regs->ARM_sp; in sys_sigreturn()
288 setup_sigframe(struct sigframe __user *sf, struct pt_regs *regs, sigset_t *set) in setup_sigframe()
490 struct sigframe __user *frame = get_sigframe(ksig, regs, sizeof(*frame)); in setup_frame()
Dasm-offsets.c107 DEFINE(SIGFRAME_RC3_OFFSET, offsetof(struct sigframe, retcode[3])); in main()
/Linux-v5.4/arch/arm64/kernel/
Dsignal.c50 struct rt_sigframe __user *sigframe; member
70 sizeof(user->sigframe->uc.uc_mcontext.__reserved); in init_user_layout()
165 char __user *base = (char __user *)user->sigframe; in apply_user_offset()
609 struct rt_sigframe __user *sf = user->sigframe; in setup_sigframe()
650 char __user *sfp = (char __user *)user->sigframe; in setup_sigframe()
712 user->sigframe = (struct rt_sigframe __user *)sp; in get_sigframe()
717 if (!access_ok(user->sigframe, sp_top - sp)) in get_sigframe()
729 regs->sp = (unsigned long)user->sigframe; in setup_return()
753 frame = user.sigframe; in setup_rt_frame()
/Linux-v5.4/arch/ia64/kernel/
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()
Dsigframe.h8 struct sigframe { struct
Dsignal.c116 sc = &((struct sigframe __user *) (scr->pt.r12 + 16))->sc; in ia64_rt_sigreturn()
231 struct sigframe __user *frame; in setup_frame()
/Linux-v5.4/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()
/Linux-v5.4/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()
/Linux-v5.4/arch/unicore32/kernel/
Dsignal.c42 struct sigframe { struct
49 struct sigframe sig; argument
52 static int restore_sigframe(struct pt_regs *regs, struct sigframe __user *sf) in restore_sigframe()
133 static int setup_sigframe(struct sigframe __user *sf, struct pt_regs *regs, in setup_sigframe()
241 struct sigframe __user *frame = get_sigframe(&ksig->ka, regs, sizeof(*frame)); in setup_frame()
/Linux-v5.4/arch/mips/kernel/
Dsignal.c48 struct sigframe { struct
626 struct sigframe __user *frame; in sys_sigreturn()
632 frame = (struct sigframe __user *)regs->regs[29]; in sys_sigreturn()
704 struct sigframe __user *frame; in setup_frame()
935 BUILD_BUG_ON((offsetof(struct sigframe, sf_extcontext) - in signal_setup()
936 offsetof(struct sigframe, sf_sc)) != in signal_setup()
/Linux-v5.4/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.c126 struct sigframe { struct
255 struct sigframe __user *frame = (struct sigframe __user *) (long) REF_REG_SP; in sys_sigreturn()
376 struct sigframe __user *frame; in setup_frame()
/Linux-v5.4/arch/powerpc/perf/
Dcallchain.c239 struct signal_frame_64 __user *sigframe; in perf_callchain_user_64() local
267 sigframe = (struct signal_frame_64 __user *) sp; in perf_callchain_user_64()
268 uregs = sigframe->uc.uc_mcontext.gp_regs; in perf_callchain_user_64()
/Linux-v5.4/arch/x86/include/asm/
Dsigframe.h11 #define sigframe_ia32 sigframe
/Linux-v5.4/arch/x86/
DMakefile187 cfi-sigframe := $(call as-instr,.cfi_startproc\n.cfi_signal_frame\n.cfi_endproc,-DCONFIG_AS_CFI_SIG…
198 KBUILD_AFLAGS += $(cfi) $(cfi-sigframe) $(cfi-sections) $(asinstr) $(avx_instr) $(avx2_instr) $(avx…
199 KBUILD_CFLAGS += $(cfi) $(cfi-sigframe) $(cfi-sections) $(asinstr) $(avx_instr) $(avx2_instr) $(avx…
/Linux-v5.4/arch/m68k/kernel/
Dsignal.c225 struct sigframe struct
788 struct sigframe __user *frame = (struct sigframe __user *)(usp - 4); in do_sigreturn()
889 struct sigframe __user *frame; in setup_frame()
/Linux-v5.4/arch/x86/kernel/
Dsignal.c315 struct sigframe __user *frame; in __setup_frame()
611 struct sigframe __user *frame; in SYSCALL_DEFINE0()
614 frame = (struct sigframe __user *)(regs->sp - 8); in SYSCALL_DEFINE0()
/Linux-v5.4/arch/powerpc/kernel/
Dsignal_32.c193 struct sigframe { struct
1366 struct sigframe __user *frame; in handle_signal32()
1455 struct sigframe __user *sf; in COMPAT_SYSCALL_DEFINE0()
1469 sf = (struct sigframe __user *)(regs->gpr[1] + __SIGNAL_FRAMESIZE); in COMPAT_SYSCALL_DEFINE0()
/Linux-v5.4/arch/alpha/kernel/
Dsignal.c125 struct sigframe struct
331 struct sigframe __user *frame; in setup_frame()
/Linux-v5.4/arch/microblaze/kernel/
Dsignal.c47 struct sigframe { struct