/kernel/linux/linux-5.10/arch/mips/kernel/ |
H A D | asm-offsets.c | 222 COMMENT("Linux sigcontext offsets."); in output_sc_defines() 223 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_hi in output_sc_defines() [all...] |
H A D | signal_n32.c | 36 extern int setup_sigcontext(struct pt_regs *, struct sigcontext __user *); 37 extern int restore_sigcontext(struct pt_regs *, struct sigcontext __user *); 43 struct sigcontext uc_mcontext; 144 .off_sc_fpregs = offsetof(struct sigcontext, sc_fpregs), 145 .off_sc_fpc_csr = offsetof(struct sigcontext, sc_fpc_csr), 146 .off_sc_used_math = offsetof(struct sigcontext, sc_used_math),
|
/kernel/linux/linux-6.6/arch/mips/kernel/ |
H A D | asm-offsets.c | 222 COMMENT("Linux sigcontext offsets."); in output_sc_defines() 223 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_hi in output_sc_defines() [all...] |
H A D | signal_n32.c | 35 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),
|
/kernel/linux/linux-5.10/arch/ia64/kernel/ |
H A D | asm-offsets.c | 17 #include <asm/sigcontext.h> 173 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_f in foo() [all...] |
/kernel/linux/linux-6.6/arch/ia64/kernel/ |
H A D | asm-offsets.c | 17 #include <asm/sigcontext.h> 173 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_f in foo() [all...] |
/kernel/linux/linux-5.10/arch/csky/kernel/ |
H A D | signal.c | 16 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) 38 #define save_fpu_state(sigcontext) (0) 52 struct sigcontext __user *sc) in restore_sigcontext() 104 struct sigcontext __user *sc = &frame->uc.uc_mcontext; in setup_sigcontext()
|
/kernel/linux/linux-6.6/arch/csky/kernel/ |
H A D | signal.c | 16 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) 38 #define save_fpu_state(sigcontext) (0) 52 struct sigcontext __user *sc) in restore_sigcontext() 104 struct sigcontext __user *sc = &frame->uc.uc_mcontext; in setup_sigcontext()
|
/kernel/linux/linux-5.10/arch/powerpc/include/uapi/asm/ |
H A D | ucontext.h | 6 #include <asm/sigcontext.h> 33 struct sigcontext uc_mcontext; /* last for extensibility */
|
/kernel/linux/linux-6.6/arch/powerpc/include/uapi/asm/ |
H A D | ucontext.h | 6 #include <asm/sigcontext.h> 33 struct sigcontext uc_mcontext; /* last for extensibility */
|
/kernel/linux/linux-5.10/arch/mips/include/uapi/asm/ |
H A D | sigcontext.h | 31 * Keep this struct definition in sync with the sigcontext fragment 34 struct sigcontext { struct 61 * Keep this struct definition in sync with the sigcontext fragment 70 struct sigcontext { struct
|
/kernel/linux/linux-5.10/arch/sparc/include/asm/ |
H A D | sigcontext.h | 6 #include <uapi/asm/sigcontext.h> 72 struct sigcontext { struct
|
/kernel/linux/linux-5.10/arch/x86/include/asm/ |
H A D | sigframe.h | 5 #include <uapi/asm/sigcontext.h> 73 struct sigcontext uc_mcontext; /* the 64-bit sigcontext type */
|
/kernel/linux/linux-6.6/arch/mips/include/uapi/asm/ |
H A D | sigcontext.h | 31 * Keep this struct definition in sync with the sigcontext fragment 34 struct sigcontext { struct 61 * Keep this struct definition in sync with the sigcontext fragment 70 struct sigcontext { struct
|
/kernel/linux/linux-6.6/arch/sparc/include/asm/ |
H A D | sigcontext.h | 6 #include <uapi/asm/sigcontext.h> 72 struct sigcontext { struct
|
/kernel/linux/linux-6.6/arch/x86/include/asm/ |
H A D | sigframe.h | 5 #include <uapi/asm/sigcontext.h> 73 struct sigcontext uc_mcontext; /* the 64-bit sigcontext type */
|
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/asm-mips/asm/ |
H A D | sigcontext.h | 28 struct sigcontext { struct 51 struct sigcontext { struct
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-mips/asm/ |
H A D | sigcontext.h | 28 struct sigcontext { struct 51 struct sigcontext { struct
|
/kernel/linux/linux-5.10/arch/m68k/kernel/ |
H A D | signal.c | 182 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() 693 restore_sigcontext(struct pt_regs *regs, struct sigcontext __user *usc, void __user *fp) in restore_sigcontext() 696 struct sigcontext contex in restore_sigcontext() [all...] |
/kernel/linux/linux-6.6/arch/m68k/kernel/ |
H A D | signal.c | 182 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 contex in restore_sigcontext() [all...] |
/kernel/linux/linux-5.10/arch/x86/include/uapi/asm/ |
H A D | sigcontext.h | 6 * Linux signal context definitions. The sigcontext includes a complex 28 * used to extend the fpstate pointer in the sigcontext, which now includes the 186 * Extended state pointed to by sigcontext::fpstate. 278 * Create the real 'struct sigcontext' type: 282 # define sigcontext sigcontext_32 macro 284 # define sigcontext sigcontext_64 macro 289 * The old user-space sigcontext definition, just in case user-space still 290 * relies on it. The kernel definition (in asm/sigcontext.h) has unified 300 struct sigcontext { struct 325 struct sigcontext { struct [all...] |
/kernel/linux/linux-6.6/arch/x86/include/uapi/asm/ |
H A D | sigcontext.h | 6 * Linux signal context definitions. The sigcontext includes a complex 28 * used to extend the fpstate pointer in the sigcontext, which now includes the 186 * Extended state pointed to by sigcontext::fpstate. 278 * Create the real 'struct sigcontext' type: 282 # define sigcontext sigcontext_32 macro 284 # define sigcontext sigcontext_64 macro 289 * The old user-space sigcontext definition, just in case user-space still 290 * relies on it. The kernel definition (in asm/sigcontext.h) has unified 300 struct sigcontext { struct 325 struct sigcontext { struct [all...] |
/kernel/linux/linux-5.10/arch/x86/um/ |
H A D | signal.c | 154 struct sigcontext __user *from) in copy_sc_from_user() 156 struct sigcontext sc; in copy_sc_from_user() 236 static int copy_sc_to_user(struct sigcontext __user *to, in copy_sc_to_user() 240 struct sigcontext sc; in copy_sc_to_user() 243 memset(&sc, 0, sizeof(struct sigcontext)); in copy_sc_to_user() 286 err = copy_to_user(to, &sc, sizeof(struct sigcontext)); in copy_sc_to_user() 342 struct sigcontext sc; 457 struct sigcontext __user *sc = &frame->sc; in sys_sigreturn()
|
/kernel/linux/linux-6.6/arch/x86/um/ |
H A D | signal.c | 155 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()
|
/kernel/linux/linux-6.6/arch/powerpc/kernel/ |
H A D | signal_64.c | 26 #include <asm/sigcontext.h> 76 * element. For historical reasons sigcontext might not be quad word aligned, 78 * sigcontext for more detail. 81 static elf_vrreg_t __user *sigcontext_vmx_regs(struct sigcontext __user *sc) in sigcontext_vmx_regs() 106 * Set up the sigcontext for the signal frame. 114 static long notrace __unsafe_setup_sigcontext(struct sigcontext __user *sc, in __unsafe_setup_sigcontext() 200 * registers and set up the 'normal' sigcontext registers with rolled-back 203 * examine the transactional registers in the 2nd sigcontext to determine the 206 static long setup_tm_sigcontexts(struct sigcontext __user *sc, in setup_tm_sigcontexts() 207 struct sigcontext __use in setup_tm_sigcontexts() [all...] |