Searched refs:sigcontext (Results 1 - 133 of 133) sorted by relevance

/linux-4.4.14/arch/x86/include/uapi/asm/
H A Dsigcontext32.h4 /* This is a legacy file - all the type definitions are in sigcontext.h: */
6 #include <asm/sigcontext.h>
H A Ducontext.h7 * sigcontext struct (uc_mcontext).
H A Dsigcontext.h5 * 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 Dsigcontext.h4 /* This is a legacy header - all kernel code includes <uapi/asm/sigcontext.h> directly. */
6 #include <uapi/asm/sigcontext.h>
H A Dsighandling.h16 int restore_sigcontext(struct pt_regs *regs, struct sigcontext __user *sc);
17 int setup_sigcontext(struct sigcontext __user *sc, void __user *fpstate,
H A Dsigframe.h4 #include <uapi/asm/sigcontext.h>
76 struct sigcontext uc_mcontext; /* the 64-bit sigcontext type */
H A Dia32.h13 #include <uapi/asm/sigcontext.h>
H A Dsignal.h37 #include <uapi/asm/sigcontext.h>
H A Dprocessor.h14 #include <uapi/asm/sigcontext.h>
/linux-4.4.14/arch/alpha/include/asm/
H A Ducontext.h9 struct sigcontext uc_mcontext;
H A Dsignal.h26 #include <asm/sigcontext.h>
/linux-4.4.14/include/asm-generic/
H A Dsignal.h10 #include <asm/sigcontext.h>
/linux-4.4.14/include/uapi/asm-generic/
H A Ducontext.h8 struct sigcontext uc_mcontext;
/linux-4.4.14/arch/parisc/include/asm/
H A Ducontext.h8 struct sigcontext uc_mcontext;
H A Dsignal.h31 #include <asm/sigcontext.h>
/linux-4.4.14/arch/cris/include/asm/
H A Ducontext.h8 struct sigcontext uc_mcontext;
H A Dsignal.h21 #include <asm/sigcontext.h>
/linux-4.4.14/arch/frv/include/asm/
H A Ducontext.h8 struct sigcontext uc_mcontext;
/linux-4.4.14/arch/ia64/include/uapi/asm/
H A Ducontext.h5 struct sigcontext uc_mcontext;
H A Dsigcontext.h34 struct sigcontext { struct
/linux-4.4.14/arch/m32r/include/asm/
H A Ducontext.h8 struct sigcontext uc_mcontext;
H A Dsignal.h20 #include <asm/sigcontext.h>
/linux-4.4.14/arch/avr32/include/asm/
H A Ducontext.h8 struct sigcontext uc_mcontext;
H A Dsignal.h28 #include <asm/sigcontext.h>
/linux-4.4.14/arch/score/include/uapi/asm/
H A Dsigcontext.h5 * 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 Dsigcontext.h4 struct sigcontext { struct
/linux-4.4.14/arch/xtensa/include/uapi/asm/
H A Dsigcontext.h2 * include/asm-xtensa/sigcontext.h
15 struct sigcontext { struct
/linux-4.4.14/arch/unicore32/include/uapi/asm/
H A Dsigcontext.h2 * linux/arch/unicore32/include/asm/sigcontext.h
21 struct sigcontext { struct
/linux-4.4.14/arch/powerpc/include/uapi/asm/
H A Ducontext.h5 #include <asm/sigcontext.h>
32 struct sigcontext uc_mcontext; /* last for extensibility */
H A Dsigcontext.h16 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 Dsigframe.h16 struct sigcontext *psc;
17 struct sigcontext sc;
H A Dasm-offsets.c20 OFFSET(SIGCONTEXT_d0, sigcontext, d0); foo()
21 OFFSET(SIGCONTEXT_d1, sigcontext, d1); foo()
H A Dsignal.c38 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 Dsigcontext.h1 /* $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 Dsigcontext.h0 /* sigcontext.h: FRV signal context
21 struct sigcontext { struct
/linux-4.4.14/arch/ia64/kernel/
H A Dsigframe.h15 unsigned long arg2; /* sigcontext pointer */
22 struct sigcontext sc;
H A Dasm-offsets.c16 #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 Dsignal.c27 #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 Dgate.S13 #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 Dsignal.h20 #include <asm/sigcontext.h>
H A Ducontext.h18 struct sigcontext uc_mcontext;
/linux-4.4.14/arch/s390/include/asm/fpu/
H A Dtypes.h11 #include <asm/sigcontext.h>
/linux-4.4.14/arch/s390/include/asm/
H A Dsignal.h13 #include <asm/sigcontext.h>
/linux-4.4.14/arch/sh/include/cpu-sh4/cpu/
H A Dsigcontext.h4 struct sigcontext { struct
/linux-4.4.14/arch/m68k/include/uapi/asm/
H A Dsigcontext.h4 struct sigcontext { struct
/linux-4.4.14/arch/microblaze/include/uapi/asm/
H A Dsigcontext.h15 struct sigcontext { struct
/linux-4.4.14/arch/parisc/include/uapi/asm/
H A Dsigcontext.h9 struct sigcontext { struct
/linux-4.4.14/arch/h8300/include/asm/
H A Dsignal.h20 #include <asm/sigcontext.h>
/linux-4.4.14/arch/h8300/include/uapi/asm/
H A Dsigcontext.h4 struct sigcontext { struct
/linux-4.4.14/arch/arm/include/asm/
H A Dsignal.h21 #include <asm/sigcontext.h>
H A Ducontext.h7 * 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 Dsignal.h21 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 Dsigcontext.h23 * struct sigcontext has the same shape as struct pt_regs,
26 struct sigcontext { struct
H A Dptrace.h52 * system call or exception. "struct sigcontext" has the same shape.
/linux-4.4.14/arch/metag/include/uapi/asm/
H A Dsigcontext.h7 * 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 Dasm-offsets.c216 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 Dsignal_n32.c49 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 Dsignal.c53 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 Dr4k_fpu.S41 * @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 Dkgdb.c34 #include <asm/sigcontext.h>
H A Dsignal32.c337 * a2 = pointer to struct sigcontext setup_frame_32()
/linux-4.4.14/arch/arc/include/uapi/asm/
H A Dsigcontext.h18 struct sigcontext { struct
H A Dptrace.h20 * -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 Dsignal.h21 #include <asm/sigcontext.h>
H A Dsigcontext.h12 #include <uapi/asm/sigcontext.h>
H A Dfpu.h30 struct sigcontext;
/linux-4.4.14/arch/mips/include/uapi/asm/
H A Dsigcontext.h30 * 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 Ducontext.h10 * 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 Ducontext.h18 struct sigcontext uc_mcontext;
H A Dsignal.h31 #include <asm/sigcontext.h>
H A Dfpu.h19 #include <asm/sigcontext.h>
/linux-4.4.14/arch/ia64/include/asm/
H A Dsignal.h29 # include <asm/sigcontext.h>
/linux-4.4.14/arch/x86/include/asm/fpu/
H A Dsignal.h8 # include <uapi/asm/sigcontext.h>
/linux-4.4.14/arch/alpha/include/uapi/asm/
H A Dsigcontext.h4 struct sigcontext { struct
/linux-4.4.14/arch/sh/include/uapi/asm/
H A Dsigcontext.h4 struct sigcontext { struct
/linux-4.4.14/arch/nios2/include/uapi/asm/
H A Dsigcontext.h25 struct sigcontext { struct
/linux-4.4.14/arch/avr32/include/uapi/asm/
H A Dsigcontext.h11 struct sigcontext { struct
/linux-4.4.14/arch/arm/include/uapi/asm/
H A Dsigcontext.h9 struct sigcontext { struct
/linux-4.4.14/arch/score/kernel/
H A Dasm-offsets.c168 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 Dsignal.c44 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 Dsignal.h21 #include <asm/sigcontext.h>
/linux-4.4.14/arch/openrisc/include/uapi/asm/
H A Dsigcontext.h28 struct sigcontext { struct
/linux-4.4.14/arch/hexagon/include/uapi/asm/
H A Dsigcontext.h29 struct sigcontext { struct
/linux-4.4.14/arch/m32r/include/uapi/asm/
H A Dsigcontext.h4 struct sigcontext { struct
/linux-4.4.14/arch/arm64/include/uapi/asm/
H A Ducontext.h29 struct sigcontext uc_mcontext;
H A Dsigcontext.h25 struct sigcontext { struct
/linux-4.4.14/arch/sparc/include/asm/
H A Dsigcontext.h5 #include <uapi/asm/sigcontext.h>
71 struct sigcontext { struct
/linux-4.4.14/arch/x86/um/
H A Dsignal.c154 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 Dsignal.c26 #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 Dsigcontext.h15 struct sigcontext { struct
/linux-4.4.14/arch/s390/include/uapi/asm/
H A Dsigcontext.h76 struct sigcontext struct
/linux-4.4.14/arch/mn10300/include/uapi/asm/
H A Dsigcontext.h20 struct sigcontext { struct
/linux-4.4.14/arch/blackfin/include/uapi/asm/
H A Dsigcontext.h11 struct sigcontext { struct
/linux-4.4.14/arch/sh/kernel/
H A Dsignal_64.c130 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 Dsignal_32.c63 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 Dsignal.c46 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 Dcompat_signal.c42 struct sigcontext uc_mcontext;
/linux-4.4.14/arch/powerpc/kernel/
H A Dsignal_64.c28 #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 Dsignal_32.c43 #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 Dsigutil_32.c7 #include <asm/sigcontext.h>
H A Dsigutil_64.c7 #include <asm/sigcontext.h>
H A Dsignal_64.c432 /* 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 Dsignal.c199 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 Dsignal.c39 * | 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 Dcompat_linux.h20 /* asm/sigcontext.h */
H A Dcompat_signal.c442 /* We forgot to include these in the sigcontext. setup_frame32()
/linux-4.4.14/arch/microblaze/kernel/
H A Dsignal.c48 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 Dsignal.c43 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 Dsignal.c49 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 Dsignal.c46 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 Dsignal.c73 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 Dsignal.c47 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 Dsignal.c45 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 Dsignal.c32 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 Dsignal.c41 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 Dsignal.c37 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 Dsigreturn.S74 saved value of the stack pointer in the sigcontext. Which
/linux-4.4.14/arch/sparc/include/uapi/asm/
H A Dsignal.h4 #include <asm/sigcontext.h>
/linux-4.4.14/arch/x86/kernel/fpu/
H A Dsignal.c18 * user fpstate pointer in the sigcontext.
382 * pointed by the fpstate pointer in the sigcontext.
/linux-4.4.14/arch/c6x/kernel/
H A Dsignal.c38 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 Dsignal.c44 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 Dsignal.c64 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 Dsignal.c58 * 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 Dentry.S841 * 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 Dsignal32.c136 * Set up the sigcontext structure for this process.
H A Dsyscall.S154 /* Save some registers for sigcontext and potential task
/linux-4.4.14/arch/xtensa/kernel/
H A Dsignal.c137 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 Dcallchain.c19 #include <asm/sigcontext.h>
340 #define sigcontext32 sigcontext
/linux-4.4.14/arch/um/os-Linux/
H A Dsignal.c37 /* For segfaults, we want the data from the sigcontext. */ sig_handler_common()
/linux-4.4.14/arch/x86/math-emu/
H A Dfpu_emu.h74 #include <uapi/asm/sigcontext.h> /* for struct _fpstate */
/linux-4.4.14/arch/powerpc/kernel/vdso64/
H A Dsigtramp.S38 for a sigcontext pointer. */
/linux-4.4.14/arch/x86/ia32/
H A Dia32_signal.c29 #include <uapi/asm/sigcontext.h>
/linux-4.4.14/tools/testing/selftests/x86/
H A Dsigreturn.c22 * sigcontext frame, plug in the values to be tested, and then return,

Completed in 4656 milliseconds