Home
last modified time | relevance | path

Searched refs:sigcontext (Results 1 – 25 of 69) sorted by relevance

123

/linux-6.6.21/arch/mips/kernel/
Dasm-offsets.c223 OFFSET(SC_REGS, sigcontext, sc_regs); in output_sc_defines()
224 OFFSET(SC_FPREGS, sigcontext, sc_fpregs); in output_sc_defines()
225 OFFSET(SC_ACX, sigcontext, sc_acx); in output_sc_defines()
226 OFFSET(SC_MDHI, sigcontext, sc_mdhi); in output_sc_defines()
227 OFFSET(SC_MDLO, sigcontext, sc_mdlo); in output_sc_defines()
228 OFFSET(SC_PC, sigcontext, sc_pc); in output_sc_defines()
229 OFFSET(SC_FPC_CSR, sigcontext, sc_fpc_csr); in output_sc_defines()
230 OFFSET(SC_FPC_EIR, sigcontext, sc_fpc_eir); in output_sc_defines()
231 OFFSET(SC_HI1, sigcontext, sc_hi1); in output_sc_defines()
232 OFFSET(SC_LO1, sigcontext, sc_lo1); in output_sc_defines()
[all …]
Dsignal_n32.c35 extern int setup_sigcontext(struct pt_regs *, struct sigcontext __user *);
36 extern int restore_sigcontext(struct pt_regs *, struct sigcontext __user *);
42 struct sigcontext uc_mcontext;
143 .off_sc_fpregs = offsetof(struct sigcontext, sc_fpregs),
144 .off_sc_fpc_csr = offsetof(struct sigcontext, sc_fpc_csr),
145 .off_sc_used_math = offsetof(struct sigcontext, sc_used_math),
/linux-6.6.21/arch/ia64/kernel/
Dasm-offsets.c173 DEFINE(IA64_SIGCONTEXT_IP_OFFSET, offsetof (struct sigcontext, sc_ip)); in foo()
174 DEFINE(IA64_SIGCONTEXT_AR_BSP_OFFSET, offsetof (struct sigcontext, sc_ar_bsp)); in foo()
175 DEFINE(IA64_SIGCONTEXT_AR_FPSR_OFFSET, offsetof (struct sigcontext, sc_ar_fpsr)); in foo()
176 DEFINE(IA64_SIGCONTEXT_AR_RNAT_OFFSET, offsetof (struct sigcontext, sc_ar_rnat)); in foo()
177 DEFINE(IA64_SIGCONTEXT_AR_UNAT_OFFSET, offsetof (struct sigcontext, sc_ar_unat)); in foo()
178 DEFINE(IA64_SIGCONTEXT_B0_OFFSET, offsetof (struct sigcontext, sc_br[0])); in foo()
179 DEFINE(IA64_SIGCONTEXT_CFM_OFFSET, offsetof (struct sigcontext, sc_cfm)); in foo()
180 DEFINE(IA64_SIGCONTEXT_FLAGS_OFFSET, offsetof (struct sigcontext, sc_flags)); in foo()
181 DEFINE(IA64_SIGCONTEXT_FR6_OFFSET, offsetof (struct sigcontext, sc_fr[6])); in foo()
182 DEFINE(IA64_SIGCONTEXT_PR_OFFSET, offsetof (struct sigcontext, sc_pr)); in foo()
[all …]
/linux-6.6.21/arch/csky/kernel/
Dsignal.c16 static int restore_fpu_state(struct sigcontext __user *sc) in restore_fpu_state()
28 static int save_fpu_state(struct sigcontext __user *sc) in save_fpu_state()
37 #define restore_fpu_state(sigcontext) (0) argument
38 #define save_fpu_state(sigcontext) (0) argument
52 struct sigcontext __user *sc) in restore_sigcontext()
104 struct sigcontext __user *sc = &frame->uc.uc_mcontext; in setup_sigcontext()
/linux-6.6.21/arch/x86/include/uapi/asm/
Dsigcontext.h282 # define sigcontext sigcontext_32 macro
284 # define sigcontext sigcontext_64 macro
300 struct sigcontext { struct
325 struct sigcontext { struct
/linux-6.6.21/arch/mips/include/uapi/asm/
Dsigcontext.h34 struct sigcontext { struct
70 struct sigcontext { struct
/linux-6.6.21/arch/m68k/kernel/
Dsignal.c182 static inline void save_a5_state(struct sigcontext *sc, struct pt_regs *regs) in save_a5_state()
206 static inline void save_a5_state(struct sigcontext *sc, struct pt_regs *regs) in save_a5_state()
229 struct sigcontext __user *psc;
232 struct sigcontext sc;
255 static inline int restore_fpu_state(struct sigcontext *sc) in restore_fpu_state()
429 static inline void save_fpu_state(struct sigcontext *sc, struct pt_regs *regs) in save_fpu_state()
555 static inline int restore_fpu_state(struct sigcontext *sc) in restore_fpu_state()
565 static inline void save_fpu_state(struct sigcontext *sc, struct pt_regs *regs) in save_fpu_state()
677 restore_sigcontext(struct pt_regs *regs, struct sigcontext __user *usc, void __user *fp) in restore_sigcontext()
680 struct sigcontext context; in restore_sigcontext()
[all …]
/linux-6.6.21/arch/x86/um/
Dsignal.c155 struct sigcontext __user *from) in copy_sc_from_user()
157 struct sigcontext sc; in copy_sc_from_user()
237 static int copy_sc_to_user(struct sigcontext __user *to, in copy_sc_to_user()
241 struct sigcontext sc; in copy_sc_to_user()
244 memset(&sc, 0, sizeof(struct sigcontext)); in copy_sc_to_user()
287 err = copy_to_user(to, &sc, sizeof(struct sigcontext)); in copy_sc_to_user()
343 struct sigcontext sc;
458 struct sigcontext __user *sc = &frame->sc; in sys_sigreturn()
/linux-6.6.21/arch/powerpc/kernel/
Dsignal_64.c81 static elf_vrreg_t __user *sigcontext_vmx_regs(struct sigcontext __user *sc) in sigcontext_vmx_regs()
114 static long notrace __unsafe_setup_sigcontext(struct sigcontext __user *sc, in __unsafe_setup_sigcontext()
206 static long setup_tm_sigcontexts(struct sigcontext __user *sc, in setup_tm_sigcontexts()
207 struct sigcontext __user *tm_sc, in setup_tm_sigcontexts()
338 int sig, struct sigcontext __user *sc) in __unsafe_restore_sigcontext()
438 struct sigcontext __user *sc, in restore_tm_sigcontexts()
439 struct sigcontext __user *tm_sc) in restore_tm_sigcontexts()
614 static long restore_tm_sigcontexts(struct task_struct *tsk, struct sigcontext __user *sc, in restore_tm_sigcontexts()
615 struct sigcontext __user *tm_sc) in restore_tm_sigcontexts()
/linux-6.6.21/arch/sh/kernel/
Dsignal_32.c64 struct sigcontext sc;
77 static inline int restore_sigcontext_fpu(struct sigcontext __user *sc) in restore_sigcontext_fpu()
89 static inline int save_sigcontext_fpu(struct sigcontext __user *sc, in save_sigcontext_fpu()
115 restore_sigcontext(struct pt_regs *regs, struct sigcontext __user *sc, int *r0_p) in restore_sigcontext()
221 setup_sigcontext(struct sigcontext __user *sc, struct pt_regs *regs, in setup_sigcontext()
/linux-6.6.21/arch/hexagon/include/uapi/asm/
Dsigcontext.h30 struct sigcontext { struct
/linux-6.6.21/arch/microblaze/include/uapi/asm/
Dsigcontext.h16 struct sigcontext { struct
/linux-6.6.21/arch/nios2/include/uapi/asm/
Dsigcontext.h26 struct sigcontext { struct
/linux-6.6.21/arch/arc/include/uapi/asm/
Dsigcontext.h19 struct sigcontext { struct
/linux-6.6.21/arch/openrisc/include/uapi/asm/
Dsigcontext.h29 struct sigcontext { struct
/linux-6.6.21/arch/csky/include/uapi/asm/
Dsigcontext.h8 struct sigcontext { struct
/linux-6.6.21/arch/sh/include/cpu-common/cpu/
Dsigcontext.h5 struct sigcontext { struct
/linux-6.6.21/arch/parisc/include/uapi/asm/
Dsigcontext.h10 struct sigcontext { struct
/linux-6.6.21/arch/xtensa/include/asm/
Ducontext.h18 struct sigcontext uc_mcontext;
/linux-6.6.21/include/uapi/asm-generic/
Ducontext.h9 struct sigcontext uc_mcontext;
/linux-6.6.21/arch/parisc/include/asm/
Ducontext.h9 struct sigcontext uc_mcontext;
/linux-6.6.21/arch/xtensa/include/uapi/asm/
Dsigcontext.h16 struct sigcontext { struct
/linux-6.6.21/arch/alpha/include/asm/
Ducontext.h10 struct sigcontext uc_mcontext;
/linux-6.6.21/arch/ia64/include/uapi/asm/
Ducontext.h6 struct sigcontext uc_mcontext;
/linux-6.6.21/arch/arm64/include/uapi/asm/
Ducontext.h30 struct sigcontext uc_mcontext;

123