Home
last modified time | relevance | path

Searched refs:rt_sigframe (Results 1 – 25 of 30) sorted by relevance

12

/openbmc/linux/arch/parisc/include/asm/
H A Drt_sigframe.h5 struct rt_sigframe { struct
14 (((sizeof(struct rt_sigframe) + FUNCTIONCALLFRAME) + SIGFRAME) & -SIGFRAME) argument
/openbmc/linux/arch/csky/kernel/
H A Dsignal.c41 struct rt_sigframe { struct
72 struct rt_sigframe __user *frame; in SYSCALL_DEFINE0()
78 frame = (struct rt_sigframe __user *)regs->usp; in SYSCALL_DEFINE0()
101 static int setup_sigcontext(struct rt_sigframe __user *frame, in setup_sigcontext()
139 struct rt_sigframe __user *frame; in setup_rt_frame()
/openbmc/linux/arch/hexagon/kernel/
H A Dsignal.c21 struct rt_sigframe { struct
99 struct rt_sigframe __user *frame; in setup_rt_frame()
102 frame = get_sigframe(ksig, regs, sizeof(struct rt_sigframe)); in setup_rt_frame()
104 if (!access_ok(frame, sizeof(struct rt_sigframe))) in setup_rt_frame()
226 struct rt_sigframe __user *frame; in sys_rt_sigreturn()
232 frame = (struct rt_sigframe __user *)pt_psp(regs); in sys_rt_sigreturn()
/openbmc/linux/arch/arc/kernel/
H A Dsignal.c58 struct rt_sigframe { struct
101 stash_usr_regs(struct rt_sigframe __user *sf, struct pt_regs *regs, in stash_usr_regs()
142 static int restore_usr_regs(struct pt_regs *regs, struct rt_sigframe __user *sf) in restore_usr_regs()
197 struct rt_sigframe __user *sf; in SYSCALL_DEFINE0()
211 sf = (struct rt_sigframe __force __user *)(regs->sp); in SYSCALL_DEFINE0()
272 struct rt_sigframe __user *sf; in setup_rt_frame()
276 sf = get_sigframe(ksig, regs, sizeof(struct rt_sigframe)); in setup_rt_frame()
/openbmc/linux/arch/x86/um/
H A Dsignal.c349 struct rt_sigframe struct
410 struct rt_sigframe __user *frame; in setup_signal_stack_si()
415 frame = (struct rt_sigframe __user *) stack_top - 1; in setup_signal_stack_si()
481 struct rt_sigframe struct
492 struct rt_sigframe __user *frame; in setup_signal_stack_si() argument
496 frame = (struct rt_sigframe __user *) in setup_signal_stack_si()
497 round_down(stack_top - sizeof(struct rt_sigframe), 16); in setup_signal_stack_si()
499 frame = (struct rt_sigframe __user *) ((unsigned long) frame - 128 - 8); in setup_signal_stack_si()
563 struct rt_sigframe __user *frame = in sys_rt_sigreturn()
564 (struct rt_sigframe __user *)(sp - sizeof(long)); in sys_rt_sigreturn()
/openbmc/linux/arch/x86/include/asm/
H A Dsigframe.h12 #define rt_sigframe_ia32 rt_sigframe
59 struct rt_sigframe { struct
/openbmc/linux/arch/openrisc/kernel/
H A Dsignal.c31 struct rt_sigframe { struct
75 struct rt_sigframe __user *frame = (struct rt_sigframe __user *)regs->sp; in _sys_rt_sigreturn()
159 struct rt_sigframe __user *frame; in setup_rt_frame()
/openbmc/linux/arch/xtensa/kernel/
H A Dsignal.c35 struct rt_sigframe struct
144 setup_sigcontext(struct rt_sigframe __user *frame, struct pt_regs *regs) in setup_sigcontext()
182 restore_sigcontext(struct pt_regs *regs, struct rt_sigframe __user *frame) in restore_sigcontext()
251 struct rt_sigframe __user *frame; in xtensa_rt_sigreturn()
261 frame = (struct rt_sigframe __user *) regs->areg[1]; in xtensa_rt_sigreturn()
345 struct rt_sigframe *frame; in setup_frame()
/openbmc/linux/arch/riscv/kernel/
H A Dsignal.c33 struct rt_sigframe { struct
204 struct rt_sigframe __user *frame; in get_rt_frame_size()
230 struct rt_sigframe __user *frame; in SYSCALL_DEFINE0()
238 frame = (struct rt_sigframe __user *)regs->sp; in SYSCALL_DEFINE0()
270 static long setup_sigcontext(struct rt_sigframe __user *frame, in setup_sigcontext()
320 struct rt_sigframe __user *frame; in setup_rt_frame()
/openbmc/qemu/linux-user/arm/
H A Dsignal.c101 struct rt_sigframe struct
109 QEMU_BUILD_BUG_ON(offsetof(struct rt_sigframe, sig.retcode[3]) argument
349 struct rt_sigframe *frame; in setup_rt_frame()
358 info_addr = frame_addr + offsetof(struct rt_sigframe, info); in setup_rt_frame()
359 uc_addr = frame_addr + offsetof(struct rt_sigframe, sig.uc); in setup_rt_frame()
541 struct rt_sigframe *frame = NULL; in do_rt_sigreturn()
559 frame_addr + offsetof(struct rt_sigframe, sig.uc), in do_rt_sigreturn()
641 offsetof(struct rt_sigframe, sig.retcode[3])); in setup_sigtramp()
643 offsetof(struct rt_sigframe, sig.retcode[3])); in setup_sigtramp()
/openbmc/linux/arch/microblaze/kernel/
H A Dsignal.c51 struct rt_sigframe { struct
83 struct rt_sigframe __user *frame = in sys_rt_sigreturn()
84 (struct rt_sigframe __user *)(regs->r1); in sys_rt_sigreturn()
157 struct rt_sigframe __user *frame; in setup_rt_frame()
/openbmc/qemu/linux-user/i386/
H A Dsignal.c161 struct rt_sigframe { struct
179 QEMU_BUILD_BUG_ON(offsetof(struct rt_sigframe, uc.tuc_mcontext.eip) argument
184 struct rt_sigframe { struct
514 struct rt_sigframe *frame; in setup_rt_frame()
521 frame_addr = get_sigframe(ka, env, sizeof(struct rt_sigframe), fpkind, in setup_rt_frame()
579 env->regs[R_EDX] = frame_addr + offsetof(struct rt_sigframe, info); in setup_rt_frame()
581 env->regs[R_ECX] = frame_addr + offsetof(struct rt_sigframe, uc); in setup_rt_frame()
586 env->regs[R_ESI] = frame_addr + offsetof(struct rt_sigframe, info); in setup_rt_frame()
587 env->regs[R_EDX] = frame_addr + offsetof(struct rt_sigframe, uc); in setup_rt_frame()
828 struct rt_sigframe *frame; in do_rt_sigreturn()
/openbmc/linux/arch/arm64/kernel/
H A Dsignal.c40 struct rt_sigframe { struct
51 struct rt_sigframe __user *sigframe; argument
67 #define BASE_SIGFRAME_SIZE round_up(sizeof(struct rt_sigframe), 16)
88 return round_up(max(user->size, sizeof(struct rt_sigframe)), 16); in sigframe_size()
578 struct rt_sigframe __user *sf) in parse_user_sigframe()
770 struct rt_sigframe __user *sf) in restore_sigframe()
821 struct rt_sigframe __user *frame; in SYSCALL_DEFINE0()
833 frame = (struct rt_sigframe __user *)regs->sp; in SYSCALL_DEFINE0()
938 struct rt_sigframe __user *sf = user->sigframe; in setup_sigframe()
1063 user->sigframe = (struct rt_sigframe __user *)sp; in get_sigframe()
[all …]
/openbmc/linux/arch/s390/kernel/
H A Dsignal.c99 struct rt_sigframe struct
243 struct rt_sigframe __user *frame = in SYSCALL_DEFINE0()
244 (struct rt_sigframe __user *)regs->gprs[15]; in SYSCALL_DEFINE0()
368 struct rt_sigframe __user *frame; in setup_rt_frame()
372 frame_size = sizeof(struct rt_sigframe) - sizeof(_sigregs_ext); in setup_rt_frame()
/openbmc/linux/arch/nios2/kernel/
H A Dsignal.c32 struct rt_sigframe { struct
105 struct rt_sigframe __user *frame; in do_rt_sigreturn()
109 frame = (struct rt_sigframe __user *) regs->sp; in do_rt_sigreturn()
185 struct rt_sigframe __user *frame; in setup_rt_frame()
/openbmc/linux/arch/arm/kernel/
H A Dsignal.h8 struct rt_sigframe { struct
H A Dsignal.c219 struct rt_sigframe __user *frame; in sys_rt_sigreturn()
232 frame = (struct rt_sigframe __user *)regs->ARM_sp; in sys_rt_sigreturn()
470 struct rt_sigframe __user *frame = get_sigframe(ksig, regs, sizeof(*frame)); in setup_rt_frame()
/openbmc/linux/arch/mips/kernel/
H A Dsignal.c57 struct rt_sigframe { struct
675 struct rt_sigframe __user *frame; in sys_rt_sigreturn()
681 frame = (struct rt_sigframe __user *)regs->regs[29]; in sys_rt_sigreturn()
755 struct rt_sigframe __user *frame; in setup_rt_frame()
948 (offsetof(struct rt_sigframe, rs_uc.uc_extcontext) - in signal_setup()
949 offsetof(struct rt_sigframe, rs_uc.uc_mcontext))); in signal_setup()
/openbmc/linux/arch/sh/kernel/
H A Dsignal_32.c69 struct rt_sigframe struct
188 struct rt_sigframe __user *frame = (struct rt_sigframe __user *)regs->regs[15]; in sys_rt_sigreturn()
338 struct rt_sigframe __user *frame; in setup_rt_frame()
/openbmc/qemu/linux-user/s390x/
H A Dsignal.c93 } rt_sigframe; typedef
244 rt_sigframe *frame; in setup_rt_frame()
387 rt_sigframe *frame; in do_rt_sigreturn()
/openbmc/linux/arch/x86/kernel/
H A Dsignal_64.c167 struct rt_sigframe __user *frame; in x64_setup_rt_frame()
175 frame = get_sigframe(ksig, regs, sizeof(struct rt_sigframe), &fp); in x64_setup_rt_frame()
249 struct rt_sigframe __user *frame; in SYSCALL_DEFINE0()
253 frame = (struct rt_sigframe __user *)(regs->sp - sizeof(long)); in SYSCALL_DEFINE0()
/openbmc/linux/arch/alpha/kernel/
H A Dsignal.c131 struct rt_sigframe struct
142 [offsetof(struct rt_sigframe, uc.uc_mcontext) == 176 ? 1 : -1]; argument
233 do_rt_sigreturn(struct rt_sigframe __user *frame) in do_rt_sigreturn()
377 struct rt_sigframe __user *frame; in setup_rt_frame()
/openbmc/linux/arch/parisc/kernel/
H A Dsignal.c79 struct rt_sigframe __user *frame; in sys_rt_sigreturn()
93 frame = (struct rt_sigframe __user *) in sys_rt_sigreturn()
216 struct rt_sigframe __user *frame; in setup_rt_frame()
/openbmc/linux/arch/loongarch/kernel/
H A Dsignal.c74 struct rt_sigframe { struct
908 !likely(on_sig_stack(sp - sizeof(struct rt_sigframe)))) in get_sigframe()
914 sp -= sizeof(struct rt_sigframe); in get_sigframe()
931 struct rt_sigframe __user *frame; in SYSCALL_DEFINE0()
934 frame = (struct rt_sigframe __user *)regs->regs[3]; in SYSCALL_DEFINE0()
964 struct rt_sigframe __user *frame; in setup_rt_frame()
/openbmc/linux/arch/powerpc/kernel/
H A Dsignal_32.c219 struct rt_sigframe { struct
238 return max(sizeof(struct rt_sigframe) + __SIGNAL_FRAMESIZE + 16, in get_min_sigframe_size_32() argument
739 struct rt_sigframe __user *frame; in handle_rt_signal32()
1097 struct rt_sigframe __user *rt_sf; in COMPAT_SYSCALL_DEFINE0()
1108 rt_sf = (struct rt_sigframe __user *) in COMPAT_SYSCALL_DEFINE0()

12