/linux-4.4.14/arch/x86/include/uapi/asm/ |
H A D | sigcontext32.h | 4 /* This is a legacy file - all the type definitions are in sigcontext.h: */ 6 #include <asm/sigcontext.h>
|
H A D | ucontext.h | 7 * sigcontext struct (uc_mcontext).
|
H A D | sigcontext.h | 5 * Linux signal context definitions. The sigcontext includes a complex 27 * used to extend the fpstate pointer in the sigcontext, which now includes the 185 * Extended state pointed to by sigcontext::fpstate. 277 * Create the real 'struct sigcontext' type: 281 # define sigcontext sigcontext_32 macro 283 # define sigcontext sigcontext_64 macro 288 * The old user-space sigcontext definition, just in case user-space still 289 * relies on it. The kernel definition (in asm/sigcontext.h) has unified 299 struct sigcontext { struct 324 struct sigcontext { struct
|
/linux-4.4.14/arch/x86/include/asm/ |
H A D | sigcontext.h | 4 /* This is a legacy header - all kernel code includes <uapi/asm/sigcontext.h> directly. */ 6 #include <uapi/asm/sigcontext.h>
|
H A D | sighandling.h | 16 int restore_sigcontext(struct pt_regs *regs, struct sigcontext __user *sc); 17 int setup_sigcontext(struct sigcontext __user *sc, void __user *fpstate,
|
H A D | sigframe.h | 4 #include <uapi/asm/sigcontext.h> 76 struct sigcontext uc_mcontext; /* the 64-bit sigcontext type */
|
H A D | ia32.h | 13 #include <uapi/asm/sigcontext.h>
|
H A D | signal.h | 37 #include <uapi/asm/sigcontext.h>
|
H A D | processor.h | 14 #include <uapi/asm/sigcontext.h>
|
/linux-4.4.14/arch/alpha/include/asm/ |
H A D | ucontext.h | 9 struct sigcontext uc_mcontext;
|
H A D | signal.h | 26 #include <asm/sigcontext.h>
|
/linux-4.4.14/include/asm-generic/ |
H A D | signal.h | 10 #include <asm/sigcontext.h>
|
/linux-4.4.14/include/uapi/asm-generic/ |
H A D | ucontext.h | 8 struct sigcontext uc_mcontext;
|
/linux-4.4.14/arch/parisc/include/asm/ |
H A D | ucontext.h | 8 struct sigcontext uc_mcontext;
|
H A D | signal.h | 31 #include <asm/sigcontext.h>
|
/linux-4.4.14/arch/cris/include/asm/ |
H A D | ucontext.h | 8 struct sigcontext uc_mcontext;
|
H A D | signal.h | 21 #include <asm/sigcontext.h>
|
/linux-4.4.14/arch/frv/include/asm/ |
H A D | ucontext.h | 8 struct sigcontext uc_mcontext;
|
/linux-4.4.14/arch/ia64/include/uapi/asm/ |
H A D | ucontext.h | 5 struct sigcontext uc_mcontext;
|
H A D | sigcontext.h | 34 struct sigcontext { struct
|
/linux-4.4.14/arch/m32r/include/asm/ |
H A D | ucontext.h | 8 struct sigcontext uc_mcontext;
|
H A D | signal.h | 20 #include <asm/sigcontext.h>
|
/linux-4.4.14/arch/avr32/include/asm/ |
H A D | ucontext.h | 8 struct sigcontext uc_mcontext;
|
H A D | signal.h | 28 #include <asm/sigcontext.h>
|
/linux-4.4.14/arch/score/include/uapi/asm/ |
H A D | sigcontext.h | 5 * Keep this struct definition in sync with the sigcontext fragment 8 struct sigcontext { struct
|
/linux-4.4.14/arch/sh/include/cpu-common/cpu/ |
H A D | sigcontext.h | 4 struct sigcontext { struct
|
/linux-4.4.14/arch/xtensa/include/uapi/asm/ |
H A D | sigcontext.h | 2 * include/asm-xtensa/sigcontext.h 15 struct sigcontext { struct
|
/linux-4.4.14/arch/unicore32/include/uapi/asm/ |
H A D | sigcontext.h | 2 * linux/arch/unicore32/include/asm/sigcontext.h 21 struct sigcontext { struct
|
/linux-4.4.14/arch/powerpc/include/uapi/asm/ |
H A D | ucontext.h | 5 #include <asm/sigcontext.h> 32 struct sigcontext uc_mcontext; /* last for extensibility */
|
H A D | sigcontext.h | 16 struct sigcontext { struct 29 * To maintain compatibility with current implementations the sigcontext is 33 * the alignment of the containing sigcontext or ucontext. It is the 34 * responsibility of the code setting the sigcontext to set this pointer to
|
/linux-4.4.14/arch/mn10300/kernel/ |
H A D | sigframe.h | 16 struct sigcontext *psc; 17 struct sigcontext sc;
|
H A D | asm-offsets.c | 20 OFFSET(SIGCONTEXT_d0, sigcontext, d0); foo() 21 OFFSET(SIGCONTEXT_d1, sigcontext, d1); foo()
|
H A D | signal.c | 38 struct sigcontext __user *sc, long *_d0) restore_sigcontext() 156 static int setup_sigcontext(struct sigcontext __user *sc, setup_sigcontext()
|
/linux-4.4.14/arch/cris/include/uapi/asm/ |
H A D | sigcontext.h | 1 /* $Id: sigcontext.h,v 1.1 2000/07/10 16:32:31 bjornw Exp $ */ 17 struct sigcontext { struct
|
/linux-4.4.14/arch/frv/include/uapi/asm/ |
H A D | sigcontext.h | 0 /* sigcontext.h: FRV signal context 21 struct sigcontext { struct
|
/linux-4.4.14/arch/ia64/kernel/ |
H A D | sigframe.h | 15 unsigned long arg2; /* sigcontext pointer */ 22 struct sigcontext sc;
|
H A D | asm-offsets.c | 16 #include <asm/sigcontext.h> 176 DEFINE(IA64_SIGCONTEXT_IP_OFFSET, offsetof (struct sigcontext, sc_ip)); foo() 177 DEFINE(IA64_SIGCONTEXT_AR_BSP_OFFSET, offsetof (struct sigcontext, sc_ar_bsp)); foo() 178 DEFINE(IA64_SIGCONTEXT_AR_FPSR_OFFSET, offsetof (struct sigcontext, sc_ar_fpsr)); foo() 179 DEFINE(IA64_SIGCONTEXT_AR_RNAT_OFFSET, offsetof (struct sigcontext, sc_ar_rnat)); foo() 180 DEFINE(IA64_SIGCONTEXT_AR_UNAT_OFFSET, offsetof (struct sigcontext, sc_ar_unat)); foo() 181 DEFINE(IA64_SIGCONTEXT_B0_OFFSET, offsetof (struct sigcontext, sc_br[0])); foo() 182 DEFINE(IA64_SIGCONTEXT_CFM_OFFSET, offsetof (struct sigcontext, sc_cfm)); foo() 183 DEFINE(IA64_SIGCONTEXT_FLAGS_OFFSET, offsetof (struct sigcontext, sc_flags)); foo() 184 DEFINE(IA64_SIGCONTEXT_FR6_OFFSET, offsetof (struct sigcontext, sc_fr[6])); foo() 185 DEFINE(IA64_SIGCONTEXT_PR_OFFSET, offsetof (struct sigcontext, sc_pr)); foo() 186 DEFINE(IA64_SIGCONTEXT_R12_OFFSET, offsetof (struct sigcontext, sc_gr[12])); foo() 187 DEFINE(IA64_SIGCONTEXT_RBS_BASE_OFFSET,offsetof (struct sigcontext, sc_rbs_base)); foo() 188 DEFINE(IA64_SIGCONTEXT_LOADRS_OFFSET, offsetof (struct sigcontext, sc_loadrs)); foo()
|
H A D | signal.c | 27 #include <asm/sigcontext.h> 43 restore_sigcontext (struct sigcontext __user *sc, struct sigscratch *scr) restore_sigcontext() 164 struct sigcontext __user *sc; ia64_rt_sigreturn() 219 * This does just the minimum required setup of sigcontext. 225 setup_sigcontext (struct sigcontext __user *sc, sigset_t *mask, struct sigscratch *scr) setup_sigcontext() 265 /* Copy scratch regs to sigcontext if the signal didn't interrupt a syscall. */ setup_sigcontext()
|
H A D | gate.S | 13 #include <asm/sigcontext.h> 95 * sigcontext. However, the user-level sigreturn() needs to do much more than
|
/linux-4.4.14/arch/xtensa/include/asm/ |
H A D | signal.h | 20 #include <asm/sigcontext.h>
|
H A D | ucontext.h | 18 struct sigcontext uc_mcontext;
|
/linux-4.4.14/arch/s390/include/asm/fpu/ |
H A D | types.h | 11 #include <asm/sigcontext.h>
|
/linux-4.4.14/arch/s390/include/asm/ |
H A D | signal.h | 13 #include <asm/sigcontext.h>
|
/linux-4.4.14/arch/sh/include/cpu-sh4/cpu/ |
H A D | sigcontext.h | 4 struct sigcontext { struct
|
/linux-4.4.14/arch/m68k/include/uapi/asm/ |
H A D | sigcontext.h | 4 struct sigcontext { struct
|
/linux-4.4.14/arch/microblaze/include/uapi/asm/ |
H A D | sigcontext.h | 15 struct sigcontext { struct
|
/linux-4.4.14/arch/parisc/include/uapi/asm/ |
H A D | sigcontext.h | 9 struct sigcontext { struct
|
/linux-4.4.14/arch/h8300/include/asm/ |
H A D | signal.h | 20 #include <asm/sigcontext.h>
|
/linux-4.4.14/arch/h8300/include/uapi/asm/ |
H A D | sigcontext.h | 4 struct sigcontext { struct
|
/linux-4.4.14/arch/arm/include/asm/ |
H A D | signal.h | 21 #include <asm/sigcontext.h>
|
H A D | ucontext.h | 7 * struct sigcontext only has room for the basic registers, but struct 20 struct sigcontext uc_mcontext;
|
/linux-4.4.14/arch/tile/include/asm/ |
H A D | signal.h | 21 int restore_sigcontext(struct pt_regs *, struct sigcontext __user *); 22 int setup_sigcontext(struct sigcontext __user *, struct pt_regs *);
|
/linux-4.4.14/arch/tile/include/uapi/asm/ |
H A D | sigcontext.h | 23 * struct sigcontext has the same shape as struct pt_regs, 26 struct sigcontext { struct
|
H A D | ptrace.h | 52 * system call or exception. "struct sigcontext" has the same shape.
|
/linux-4.4.14/arch/metag/include/uapi/asm/ |
H A D | sigcontext.h | 7 * In a sigcontext structure we need to store the active state of the 12 struct sigcontext { struct
|
/linux-4.4.14/arch/mips/kernel/ |
H A D | asm-offsets.c | 216 COMMENT("Linux sigcontext offsets."); output_sc_defines() 217 OFFSET(SC_REGS, sigcontext, sc_regs); output_sc_defines() 218 OFFSET(SC_FPREGS, sigcontext, sc_fpregs); output_sc_defines() 219 OFFSET(SC_ACX, sigcontext, sc_acx); output_sc_defines() 220 OFFSET(SC_MDHI, sigcontext, sc_mdhi); output_sc_defines() 221 OFFSET(SC_MDLO, sigcontext, sc_mdlo); output_sc_defines() 222 OFFSET(SC_PC, sigcontext, sc_pc); output_sc_defines() 223 OFFSET(SC_FPC_CSR, sigcontext, sc_fpc_csr); output_sc_defines() 224 OFFSET(SC_FPC_EIR, sigcontext, sc_fpc_eir); output_sc_defines() 225 OFFSET(SC_HI1, sigcontext, sc_hi1); output_sc_defines() 226 OFFSET(SC_LO1, sigcontext, sc_lo1); output_sc_defines() 227 OFFSET(SC_HI2, sigcontext, sc_hi2); output_sc_defines() 228 OFFSET(SC_LO2, sigcontext, sc_lo2); output_sc_defines() 229 OFFSET(SC_HI3, sigcontext, sc_hi3); output_sc_defines() 230 OFFSET(SC_LO3, sigcontext, sc_lo3); output_sc_defines() 238 COMMENT("Linux sigcontext offsets."); output_sc_defines() 239 OFFSET(SC_REGS, sigcontext, sc_regs); output_sc_defines() 240 OFFSET(SC_FPREGS, sigcontext, sc_fpregs); output_sc_defines() 241 OFFSET(SC_MDHI, sigcontext, sc_mdhi); output_sc_defines() 242 OFFSET(SC_MDLO, sigcontext, sc_mdlo); output_sc_defines() 243 OFFSET(SC_PC, sigcontext, sc_pc); output_sc_defines() 244 OFFSET(SC_FPC_CSR, sigcontext, sc_fpc_csr); output_sc_defines()
|
H A D | signal_n32.c | 49 extern int setup_sigcontext(struct pt_regs *, struct sigcontext __user *); 50 extern int restore_sigcontext(struct pt_regs *, struct sigcontext __user *); 56 struct sigcontext uc_mcontext; 155 .off_sc_fpregs = offsetof(struct sigcontext, sc_fpregs), 156 .off_sc_fpc_csr = offsetof(struct sigcontext, sc_fpc_csr), 157 .off_sc_used_math = offsetof(struct sigcontext, sc_used_math),
|
H A D | signal.c | 53 struct sigcontext sf_sc; 137 * We can just pretend the sigcontext is always embedded in a struct sc_to_extcontext() 138 * ucontext here, because the offset from sigcontext to extended sc_to_extcontext() 332 /* touch the sigcontext and try again */ protected_save_fp_context() 337 return err; /* really bad sigcontext */ protected_save_fp_context() 395 /* touch the sigcontext and try again */ protected_restore_fp_context() 400 break; /* really bad sigcontext */ protected_restore_fp_context() 410 int setup_sigcontext(struct pt_regs *regs, struct sigcontext __user *sc) setup_sigcontext() 487 int restore_sigcontext(struct pt_regs *regs, struct sigcontext __user *sc) restore_sigcontext() 688 * a2 = pointer to struct sigcontext setup_frame() 761 .off_sc_fpregs = offsetof(struct sigcontext, sc_fpregs), 762 .off_sc_fpc_csr = offsetof(struct sigcontext, sc_fpc_csr), 763 .off_sc_used_math = offsetof(struct sigcontext, sc_used_math), 887 * The offset from sigcontext to extended context should be the same signal_setup()
|
H A D | r4k_fpu.S | 41 * @a0 - pointer to fpregs field of sigcontext 42 * @a1 - pointer to fpc_csr field of sigcontext 112 * @a0 - pointer to fpregs field of sigcontext 113 * @a1 - pointer to fpc_csr field of sigcontext
|
H A D | kgdb.c | 34 #include <asm/sigcontext.h>
|
H A D | signal32.c | 337 * a2 = pointer to struct sigcontext setup_frame_32()
|
/linux-4.4.14/arch/arc/include/uapi/asm/ |
H A D | sigcontext.h | 18 struct sigcontext { struct
|
H A D | ptrace.h | 20 * -sigcontext (SA_SIGNINFO signal frame) 29 * Also, sigcontext only care about the scratch regs as that is what we really
|
/linux-4.4.14/arch/mips/include/asm/ |
H A D | signal.h | 21 #include <asm/sigcontext.h>
|
H A D | sigcontext.h | 12 #include <uapi/asm/sigcontext.h>
|
H A D | fpu.h | 30 struct sigcontext;
|
/linux-4.4.14/arch/mips/include/uapi/asm/ |
H A D | sigcontext.h | 30 * Keep this struct definition in sync with the sigcontext fragment 33 struct sigcontext { struct 60 * Keep this struct definition in sync with the sigcontext fragment 69 struct sigcontext { struct
|
H A D | ucontext.h | 10 * sigcontext. They are placed sequentially in memory at the end of struct 58 struct sigcontext uc_mcontext;
|
/linux-4.4.14/arch/mn10300/include/asm/ |
H A D | ucontext.h | 18 struct sigcontext uc_mcontext;
|
H A D | signal.h | 31 #include <asm/sigcontext.h>
|
H A D | fpu.h | 19 #include <asm/sigcontext.h>
|
/linux-4.4.14/arch/ia64/include/asm/ |
H A D | signal.h | 29 # include <asm/sigcontext.h>
|
/linux-4.4.14/arch/x86/include/asm/fpu/ |
H A D | signal.h | 8 # include <uapi/asm/sigcontext.h>
|
/linux-4.4.14/arch/alpha/include/uapi/asm/ |
H A D | sigcontext.h | 4 struct sigcontext { struct
|
/linux-4.4.14/arch/sh/include/uapi/asm/ |
H A D | sigcontext.h | 4 struct sigcontext { struct
|
/linux-4.4.14/arch/nios2/include/uapi/asm/ |
H A D | sigcontext.h | 25 struct sigcontext { struct
|
/linux-4.4.14/arch/avr32/include/uapi/asm/ |
H A D | sigcontext.h | 11 struct sigcontext { struct
|
/linux-4.4.14/arch/arm/include/uapi/asm/ |
H A D | sigcontext.h | 9 struct sigcontext { struct
|
/linux-4.4.14/arch/score/kernel/ |
H A D | asm-offsets.c | 168 COMMENT("Linux sigcontext offsets."); output_sc_defines() 169 OFFSET(SC_REGS, sigcontext, sc_regs); output_sc_defines() 170 OFFSET(SC_MDCEH, sigcontext, sc_mdceh); output_sc_defines() 171 OFFSET(SC_MDCEL, sigcontext, sc_mdcel); output_sc_defines() 172 OFFSET(SC_PC, sigcontext, sc_pc); output_sc_defines() 173 OFFSET(SC_PSR, sigcontext, sc_psr); output_sc_defines() 174 OFFSET(SC_ECR, sigcontext, sc_ecr); output_sc_defines() 175 OFFSET(SC_EMA, sigcontext, sc_ema); output_sc_defines()
|
H A D | signal.c | 44 static int setup_sigcontext(struct pt_regs *regs, struct sigcontext __user *sc) setup_sigcontext() 78 static int restore_sigcontext(struct pt_regs *regs, struct sigcontext __user *sc) restore_sigcontext()
|
/linux-4.4.14/arch/m68k/include/asm/ |
H A D | signal.h | 21 #include <asm/sigcontext.h>
|
/linux-4.4.14/arch/openrisc/include/uapi/asm/ |
H A D | sigcontext.h | 28 struct sigcontext { struct
|
/linux-4.4.14/arch/hexagon/include/uapi/asm/ |
H A D | sigcontext.h | 29 struct sigcontext { struct
|
/linux-4.4.14/arch/m32r/include/uapi/asm/ |
H A D | sigcontext.h | 4 struct sigcontext { struct
|
/linux-4.4.14/arch/arm64/include/uapi/asm/ |
H A D | ucontext.h | 29 struct sigcontext uc_mcontext;
|
H A D | sigcontext.h | 25 struct sigcontext { struct
|
/linux-4.4.14/arch/sparc/include/asm/ |
H A D | sigcontext.h | 5 #include <uapi/asm/sigcontext.h> 71 struct sigcontext { struct
|
/linux-4.4.14/arch/x86/um/ |
H A D | signal.c | 154 struct sigcontext __user *from) copy_sc_from_user() 156 struct sigcontext sc; copy_sc_from_user() 246 static int copy_sc_to_user(struct sigcontext __user *to, copy_sc_to_user() 250 struct sigcontext sc; copy_sc_to_user() 253 memset(&sc, 0, sizeof(struct sigcontext)); copy_sc_to_user() 296 err = copy_to_user(to, &sc, sizeof(struct sigcontext)); copy_sc_to_user() 355 struct sigcontext sc; 470 struct sigcontext __user *sc = &frame->sc; sys_sigreturn()
|
/linux-4.4.14/arch/alpha/kernel/ |
H A D | signal.c | 26 #include <asm/sigcontext.h> 125 struct sigcontext sc; 147 restore_sigcontext(struct sigcontext __user *sc, struct pt_regs *regs) restore_sigcontext() 198 a given sigcontext. This because it's impossible to set *all* 202 do_sigreturn(struct sigcontext __user *sc) do_sigreturn() 207 /* Verify that it's a good sigcontext before using it */ do_sigreturn() 281 setup_sigcontext(struct sigcontext __user *sc, struct pt_regs *regs, setup_sigcontext() 372 regs->r18 = (unsigned long) &frame->sc; /* a2: sigcontext pointer */ setup_frame()
|
/linux-4.4.14/arch/c6x/include/uapi/asm/ |
H A D | sigcontext.h | 15 struct sigcontext { struct
|
/linux-4.4.14/arch/s390/include/uapi/asm/ |
H A D | sigcontext.h | 76 struct sigcontext struct
|
/linux-4.4.14/arch/mn10300/include/uapi/asm/ |
H A D | sigcontext.h | 20 struct sigcontext { struct
|
/linux-4.4.14/arch/blackfin/include/uapi/asm/ |
H A D | sigcontext.h | 11 struct sigcontext { struct
|
/linux-4.4.14/arch/sh/kernel/ |
H A D | signal_64.c | 130 struct sigcontext sc; 145 restore_sigcontext_fpu(struct pt_regs *regs, struct sigcontext __user *sc) restore_sigcontext_fpu() 167 setup_sigcontext_fpu(struct pt_regs *regs, struct sigcontext __user *sc) setup_sigcontext_fpu() 193 restore_sigcontext_fpu(struct pt_regs *regs, struct sigcontext __user *sc) restore_sigcontext_fpu() 198 setup_sigcontext_fpu(struct pt_regs *regs, struct sigcontext __user *sc) setup_sigcontext_fpu() 205 restore_sigcontext(struct pt_regs *regs, struct sigcontext __user *sc, long long *r2_p) restore_sigcontext() 325 setup_sigcontext(struct sigcontext __user *sc, struct pt_regs *regs, setup_sigcontext() 441 The glibc profiling support for SH-5 needs to be passed a sigcontext setup_frame() 443 support was changed to receive the sigcontext through the 2nd setup_frame() 445 the 3rd argument. Until libc.so is stabilised, pass the sigcontext setup_frame()
|
H A D | signal_32.c | 63 struct sigcontext sc; 76 static inline int restore_sigcontext_fpu(struct sigcontext __user *sc) restore_sigcontext_fpu() 88 static inline int save_sigcontext_fpu(struct sigcontext __user *sc, save_sigcontext_fpu() 114 restore_sigcontext(struct pt_regs *regs, struct sigcontext __user *sc, int *r0_p) restore_sigcontext() 217 setup_sigcontext(struct sigcontext __user *sc, struct pt_regs *regs, setup_sigcontext()
|
/linux-4.4.14/arch/tile/kernel/ |
H A D | signal.c | 46 struct sigcontext __user *sc) restore_sigcontext() 54 * Enforce that sigcontext is like pt_regs, and doesn't mess restore_sigcontext() 57 BUILD_BUG_ON(sizeof(struct sigcontext) != sizeof(struct pt_regs)); restore_sigcontext() 58 BUILD_BUG_ON(sizeof(struct sigcontext) % 8 != 0); restore_sigcontext() 108 int setup_sigcontext(struct sigcontext __user *sc, struct pt_regs *regs) setup_sigcontext()
|
H A D | compat_signal.c | 42 struct sigcontext uc_mcontext;
|
/linux-4.4.14/arch/powerpc/kernel/ |
H A D | signal_64.c | 28 #include <asm/sigcontext.h> 78 * element. For historical reasons sigcontext might not be quad word aligned, 80 * sigcontext for more detail. 83 static elf_vrreg_t __user *sigcontext_vmx_regs(struct sigcontext __user *sc) sigcontext_vmx_regs() 90 * Set up the sigcontext for the signal frame. 93 static long setup_sigcontext(struct sigcontext __user *sc, struct pt_regs *regs, setup_sigcontext() 177 * registers and set up the 'normal' sigcontext registers with rolled-back 180 * examine the transactional registers in the 2nd sigcontext to determine the 183 static long setup_tm_sigcontexts(struct sigcontext __user *sc, setup_tm_sigcontexts() 184 struct sigcontext __user *tm_sc, setup_tm_sigcontexts() 205 /* Remove TM bits from thread's MSR. The MSR in the sigcontext setup_tm_sigcontexts() 309 * Restore the sigcontext from the signal frame. 313 struct sigcontext __user *sc) restore_sigcontext() 412 struct sigcontext __user *sc, restore_tm_sigcontexts() 413 struct sigcontext __user *tm_sc) restore_tm_sigcontexts()
|
H A D | signal_32.c | 43 #include <asm/sigcontext.h> 64 #define sigcontext sigcontext32 macro 211 * a sigcontext struct 219 struct sigcontext sctx; /* the sigcontext */ 222 struct sigcontext sctx_transact; 521 /* Remove TM bits from thread's MSR. The MSR in the sigcontext save_tm_user_regs() 1419 struct sigcontext __user *sc; handle_signal32() 1430 sc = (struct sigcontext __user *) &frame->sctx; handle_signal32() 1503 struct sigcontext __user *sc; sys_sigreturn() 1504 struct sigcontext sigctx; sys_sigreturn()
|
/linux-4.4.14/arch/sparc/kernel/ |
H A D | sigutil_32.c | 7 #include <asm/sigcontext.h>
|
H A D | sigutil_64.c | 7 #include <asm/sigcontext.h>
|
H A D | signal_64.c | 432 /* The sigcontext is passed in this way because of how it setup_rt_frame() 433 * is defined in GLIBC's /usr/include/bits/sigcontext.h setup_rt_frame()
|
/linux-4.4.14/arch/m68k/kernel/ |
H A D | signal.c | 199 static inline void save_a5_state(struct sigcontext *sc, struct pt_regs *regs) save_a5_state() 224 static inline void save_a5_state(struct sigcontext *sc, struct pt_regs *regs) save_a5_state() 247 struct sigcontext __user *psc; 250 struct sigcontext sc; 273 static inline int restore_fpu_state(struct sigcontext *sc) restore_fpu_state() 447 static inline void save_fpu_state(struct sigcontext *sc, struct pt_regs *regs) save_fpu_state() 573 static inline int restore_fpu_state(struct sigcontext *sc) restore_fpu_state() 583 static inline void save_fpu_state(struct sigcontext *sc, struct pt_regs *regs) save_fpu_state() 651 restore_sigcontext(struct pt_regs *regs, struct sigcontext __user *usc, void __user *fp) restore_sigcontext() 654 struct sigcontext context; restore_sigcontext() 791 static void setup_sigcontext(struct sigcontext *sc, struct pt_regs *regs, setup_sigcontext() 850 struct sigcontext context; setup_frame()
|
/linux-4.4.14/arch/s390/kernel/ |
H A D | signal.c | 39 * | struct sigcontext | 64 struct sigcontext sc; 289 struct sigcontext sc; setup_frame() 310 /* Create struct sigcontext on the signal stack */ setup_frame() 355 /* We forgot to include these in the sigcontext. setup_frame()
|
H A D | compat_linux.h | 20 /* asm/sigcontext.h */
|
H A D | compat_signal.c | 442 /* We forgot to include these in the sigcontext. setup_frame32()
|
/linux-4.4.14/arch/microblaze/kernel/ |
H A D | signal.c | 48 struct sigcontext sc; 60 struct sigcontext __user *sc, int *rval_p) restore_sigcontext() 120 setup_sigcontext(struct sigcontext __user *sc, struct pt_regs *regs, setup_sigcontext()
|
/linux-4.4.14/arch/frv/kernel/ |
H A D | signal.c | 43 struct sigcontext sc; 59 static int restore_sigcontext(struct sigcontext __user *sc, int *_gr8) restore_sigcontext() 140 static int setup_sigcontext(struct sigcontext __user *sc, unsigned long mask) setup_sigcontext()
|
/linux-4.4.14/arch/cris/arch-v10/kernel/ |
H A D | signal.c | 49 struct sigcontext sc; 64 restore_sigcontext(struct pt_regs *regs, struct sigcontext __user *sc) restore_sigcontext() 85 * (we cannot just pop the sigcontext since we aligned the sp and restore_sigcontext() 178 static int setup_sigcontext(struct sigcontext __user *sc, setup_sigcontext()
|
/linux-4.4.14/arch/metag/kernel/ |
H A D | signal.c | 46 struct sigcontext __user *sc) restore_sigcontext() 102 static int setup_sigcontext(struct sigcontext __user *sc, struct pt_regs *regs, setup_sigcontext()
|
/linux-4.4.14/arch/h8300/kernel/ |
H A D | signal.c | 73 restore_sigcontext(struct sigcontext *usc, int *pd0) restore_sigcontext() 132 static int setup_sigcontext(struct sigcontext __user *sc, struct pt_regs *regs, setup_sigcontext()
|
/linux-4.4.14/arch/hexagon/kernel/ |
H A D | signal.c | 47 static int setup_sigcontext(struct pt_regs *regs, struct sigcontext __user *sc) setup_sigcontext() 77 struct sigcontext __user *sc) restore_sigcontext()
|
/linux-4.4.14/arch/m32r/kernel/ |
H A D | signal.c | 45 restore_sigcontext(struct pt_regs *regs, struct sigcontext __user *sc, restore_sigcontext() 122 setup_sigcontext(struct sigcontext __user *sc, struct pt_regs *regs, setup_sigcontext()
|
/linux-4.4.14/arch/avr32/kernel/ |
H A D | signal.c | 32 restore_sigcontext(struct pt_regs *regs, struct sigcontext __user *sc) restore_sigcontext() 102 setup_sigcontext(struct sigcontext __user *sc, struct pt_regs *regs) setup_sigcontext()
|
/linux-4.4.14/arch/blackfin/kernel/ |
H A D | signal.c | 41 rt_restore_sigcontext(struct pt_regs *regs, struct sigcontext __user *sc, int *pr0) rt_restore_sigcontext() 108 static inline int rt_setup_sigcontext(struct sigcontext *sc, struct pt_regs *regs) rt_setup_sigcontext()
|
/linux-4.4.14/arch/cris/arch-v32/kernel/ |
H A D | signal.c | 37 struct sigcontext sc; 55 restore_sigcontext(struct pt_regs *regs, struct sigcontext __user *sc) restore_sigcontext() 171 setup_sigcontext(struct sigcontext __user *sc, struct pt_regs *regs, setup_sigcontext()
|
/linux-4.4.14/arch/x86/entry/vdso/vdso32/ |
H A D | sigreturn.S | 74 saved value of the stack pointer in the sigcontext. Which
|
/linux-4.4.14/arch/sparc/include/uapi/asm/ |
H A D | signal.h | 4 #include <asm/sigcontext.h>
|
/linux-4.4.14/arch/x86/kernel/fpu/ |
H A D | signal.c | 18 * user fpstate pointer in the sigcontext. 382 * pointed by the fpstate pointer in the sigcontext.
|
/linux-4.4.14/arch/c6x/kernel/ |
H A D | signal.c | 38 struct sigcontext __user *sc) restore_sigcontext() 100 static int setup_sigcontext(struct sigcontext __user *sc, struct pt_regs *regs, setup_sigcontext()
|
/linux-4.4.14/arch/openrisc/kernel/ |
H A D | signal.c | 44 struct sigcontext __user *sc) restore_sigcontext() 110 static int setup_sigcontext(struct pt_regs *regs, struct sigcontext __user *sc) setup_sigcontext()
|
/linux-4.4.14/arch/x86/kernel/ |
H A D | signal.c | 64 int restore_sigcontext(struct pt_regs *regs, struct sigcontext __user *sc) restore_sigcontext() 122 int setup_sigcontext(struct sigcontext __user *sc, void __user *fpstate, setup_sigcontext() 664 * so that register information in the sigcontext is correct and handle_signal()
|
/linux-4.4.14/arch/parisc/kernel/ |
H A D | signal.c | 58 * Do a signal return - restore sigcontext. 71 restore_sigcontext(struct sigcontext __user *sc, struct pt_regs *regs) restore_sigcontext() 195 setup_sigcontext(struct sigcontext __user *sc, struct pt_regs *regs, int in_syscall) setup_sigcontext()
|
H A D | entry.S | 841 * context via sigcontext. Also Filter the PSW for the same reason. 862 * (we don't store them in the sigcontext), so set them 1756 /* Don't save regs, we are going to restore them from sigcontext. */ 1815 /* Save callee-save registers (for sigcontext).
|
H A D | signal32.c | 136 * Set up the sigcontext structure for this process.
|
H A D | syscall.S | 154 /* Save some registers for sigcontext and potential task
|
/linux-4.4.14/arch/xtensa/kernel/ |
H A D | signal.c | 137 struct sigcontext __user *sc = &frame->uc.uc_mcontext; setup_sigcontext() 176 struct sigcontext __user *sc = &frame->uc.uc_mcontext; restore_sigcontext()
|
/linux-4.4.14/arch/powerpc/perf/ |
H A D | callchain.c | 19 #include <asm/sigcontext.h> 340 #define sigcontext32 sigcontext
|
/linux-4.4.14/arch/um/os-Linux/ |
H A D | signal.c | 37 /* For segfaults, we want the data from the sigcontext. */ sig_handler_common()
|
/linux-4.4.14/arch/x86/math-emu/ |
H A D | fpu_emu.h | 74 #include <uapi/asm/sigcontext.h> /* for struct _fpstate */
|
/linux-4.4.14/arch/powerpc/kernel/vdso64/ |
H A D | sigtramp.S | 38 for a sigcontext pointer. */
|
/linux-4.4.14/arch/x86/ia32/ |
H A D | ia32_signal.c | 29 #include <uapi/asm/sigcontext.h>
|
/linux-4.4.14/tools/testing/selftests/x86/ |
H A D | sigreturn.c | 22 * sigcontext frame, plug in the values to be tested, and then return,
|