Home
last modified time | relevance | path

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

12

/Linux-v6.6/arch/csky/kernel/
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()
/Linux-v6.6/arch/hexagon/kernel/
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()
/Linux-v6.6/arch/parisc/include/asm/
Drt_sigframe.h5 struct rt_sigframe { struct
14 (((sizeof(struct rt_sigframe) + FUNCTIONCALLFRAME) + SIGFRAME) & -SIGFRAME) argument
/Linux-v6.6/arch/arc/kernel/
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()
/Linux-v6.6/arch/x86/um/
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()
/Linux-v6.6/arch/x86/include/asm/
Dsigframe.h12 #define rt_sigframe_ia32 rt_sigframe
59 struct rt_sigframe { struct
/Linux-v6.6/arch/xtensa/kernel/
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()
/Linux-v6.6/arch/riscv/kernel/
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()
/Linux-v6.6/arch/openrisc/kernel/
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()
/Linux-v6.6/arch/microblaze/kernel/
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()
/Linux-v6.6/arch/arm64/kernel/
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)
77 user->size = offsetof(struct rt_sigframe, uc.uc_mcontext.__reserved); in init_user_layout()
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()
[all …]
/Linux-v6.6/arch/s390/kernel/
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()
/Linux-v6.6/arch/nios2/kernel/
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()
/Linux-v6.6/arch/arm/kernel/
Dsignal.h8 struct rt_sigframe { struct
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()
/Linux-v6.6/arch/mips/kernel/
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()
/Linux-v6.6/arch/sh/kernel/
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()
/Linux-v6.6/arch/x86/kernel/
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()
Dsignal.c156 # define MAX_FRAME_SIGINFO_UCTXT_SIZE sizeof(struct rt_sigframe)
/Linux-v6.6/arch/alpha/kernel/
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()
/Linux-v6.6/arch/parisc/kernel/
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()
/Linux-v6.6/arch/loongarch/kernel/
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()
/Linux-v6.6/arch/powerpc/kernel/
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()
Dsignal_64.c54 struct rt_sigframe { struct
71 return sizeof(struct rt_sigframe) + __SIGNAL_FRAMESIZE; in get_min_sigframe_size_64() argument
860 struct rt_sigframe __user *frame; in handle_rt_signal64()
/Linux-v6.6/arch/m68k/kernel/
Dsignal.c235 struct rt_sigframe struct
786 struct rt_sigframe __user *frame = (struct rt_sigframe __user *)(usp - 4); in do_rt_sigreturn()
950 struct rt_sigframe __user *frame; in setup_rt_frame()

12