sigcontext
struct sigcontext uc_mcontext;
struct sigcontext;
extern void do_sigreturn(struct sigcontext __user *);
struct sigcontext sc;
restore_sigcontext(struct sigcontext __user *sc, struct pt_regs *regs)
do_sigreturn(struct sigcontext __user *sc)
setup_sigcontext(struct sigcontext __user *sc, struct pt_regs *regs,
static int save_arcv2_regs(struct sigcontext __user *mctx, struct pt_regs *regs)
static int restore_arcv2_regs(struct sigcontext __user *mctx, struct pt_regs *regs)
struct sigcontext uc_mcontext;
struct sigcontext context;
struct sigcontext context;
context = (struct sigcontext) {
struct sigcontext uc_mcontext;
struct sigcontext __user *const sc = &sf->uc.uc_mcontext;
struct sigcontext __user *sc = &frame->uc.uc_mcontext;
static int restore_fpu_state(struct sigcontext __user *sc)
static int save_fpu_state(struct sigcontext __user *sc)
#define restore_fpu_state(sigcontext) (0)
#define save_fpu_state(sigcontext) (0)
struct sigcontext __user *sc)
static int setup_sigcontext(struct pt_regs *regs, struct sigcontext __user *sc)
struct sigcontext __user *sc)
struct sigcontext;
struct sigcontext uc_mcontext;
OFFSET(SC_REGS, sigcontext, sc_regs);
OFFSET(SC_PC, sigcontext, sc_pc);
static int setup_sigcontext(struct pt_regs *regs, struct sigcontext __user *sc,
static int parse_extcontext(struct sigcontext __user *sc, struct extctx_layout *extctx)
static int restore_sigcontext(struct pt_regs *regs, struct sigcontext __user *sc)
static inline void save_a5_state(struct sigcontext *sc, struct pt_regs *regs)
static inline void save_a5_state(struct sigcontext *sc, struct pt_regs *regs)
struct sigcontext __user *psc;
struct sigcontext sc;
static inline int restore_fpu_state(struct sigcontext *sc)
static inline void save_fpu_state(struct sigcontext *sc, struct pt_regs *regs)
static inline int restore_fpu_state(struct sigcontext *sc)
static inline void save_fpu_state(struct sigcontext *sc, struct pt_regs *regs)
restore_sigcontext(struct pt_regs *regs, struct sigcontext __user *usc, void __user *fp)
struct sigcontext context;
static void setup_sigcontext(struct sigcontext *sc, struct pt_regs *regs,
struct sigcontext context;
setup_sigcontext(struct sigcontext __user *sc, struct pt_regs *regs,
struct sigcontext sc;
struct sigcontext __user *sc, int *rval_p)
struct sigcontext uc_mcontext;
OFFSET(SC_REGS, sigcontext, sc_regs);
OFFSET(SC_FPREGS, sigcontext, sc_fpregs);
OFFSET(SC_ACX, sigcontext, sc_acx);
OFFSET(SC_MDHI, sigcontext, sc_mdhi);
OFFSET(SC_MDLO, sigcontext, sc_mdlo);
OFFSET(SC_PC, sigcontext, sc_pc);
OFFSET(SC_FPC_CSR, sigcontext, sc_fpc_csr);
OFFSET(SC_FPC_EIR, sigcontext, sc_fpc_eir);
OFFSET(SC_HI1, sigcontext, sc_hi1);
OFFSET(SC_LO1, sigcontext, sc_lo1);
OFFSET(SC_HI2, sigcontext, sc_hi2);
OFFSET(SC_LO2, sigcontext, sc_lo2);
OFFSET(SC_HI3, sigcontext, sc_hi3);
OFFSET(SC_LO3, sigcontext, sc_lo3);
OFFSET(SC_REGS, sigcontext, sc_regs);
OFFSET(SC_FPREGS, sigcontext, sc_fpregs);
OFFSET(SC_MDHI, sigcontext, sc_mdhi);
OFFSET(SC_MDLO, sigcontext, sc_mdlo);
OFFSET(SC_PC, sigcontext, sc_pc);
OFFSET(SC_FPC_CSR, sigcontext, sc_fpc_csr);
extern int setup_sigcontext(struct pt_regs *, struct sigcontext __user *);
extern int restore_sigcontext(struct pt_regs *, struct sigcontext __user *);
int setup_sigcontext(struct pt_regs *regs, struct sigcontext __user *sc)
int restore_sigcontext(struct pt_regs *regs, struct sigcontext __user *sc)
struct sigcontext sf_sc;
.off_sc_fpregs = offsetof(struct sigcontext, sc_fpregs),
.off_sc_fpc_csr = offsetof(struct sigcontext, sc_fpc_csr),
.off_sc_used_math = offsetof(struct sigcontext, sc_used_math),
.off_sc_fpregs = offsetof(struct sigcontext, sc_fpregs),
.off_sc_fpc_csr = offsetof(struct sigcontext, sc_fpc_csr),
.off_sc_used_math = offsetof(struct sigcontext, sc_used_math),
struct sigcontext uc_mcontext;
static int setup_sigcontext(struct pt_regs *regs, struct sigcontext __user *sc)
static long restore_fp_state(struct sigcontext __user *sc)
static long save_fp_state(struct sigcontext __user *sc)
struct sigcontext __user *sc)
struct sigcontext uc_mcontext;
setup_sigcontext(struct sigcontext __user *sc, struct pt_regs *regs, long in_syscall)
restore_sigcontext(struct sigcontext __user *sc, struct pt_regs *regs)
struct sigcontext uc_mcontext; /* last for extensibility */
struct sigcontext __user *sc;
struct sigcontext sigctx;
struct sigcontext sctx; /* the sigcontext */
struct sigcontext sctx_transact;
struct sigcontext __user *sc;
sc = (struct sigcontext __user *) &frame->sctx;
static long notrace __unsafe_setup_sigcontext(struct sigcontext __user *sc,
static long setup_tm_sigcontexts(struct sigcontext __user *sc,
struct sigcontext __user *tm_sc,
int sig, struct sigcontext __user *sc)
struct sigcontext __user *sc,
struct sigcontext __user *tm_sc)
static long restore_tm_sigcontexts(struct task_struct *tsk, struct sigcontext __user *sc,
struct sigcontext __user *tm_sc)
static elf_vrreg_t __user *sigcontext_vmx_regs(struct sigcontext __user *sc)
#define sigcontext32 sigcontext
struct sigcontext uc_mcontext;
struct sigcontext __user *sc)
struct sigcontext __user *sc = &frame->uc.uc_mcontext;
struct sigcontext sc;
struct sigcontext sc;
restore_sigcontext(struct pt_regs *regs, struct sigcontext __user *sc, int *r0_p)
setup_sigcontext(struct sigcontext __user *sc, struct pt_regs *regs,
struct sigcontext sc;
static inline int restore_sigcontext_fpu(struct sigcontext __user *sc)
static inline int save_sigcontext_fpu(struct sigcontext __user *sc,
struct sigcontext uc_mcontext; /* the 64-bit sigcontext type */
struct sigcontext __user *usc,
struct sigcontext sc;
if (copy_from_user(&sc, usc, offsetof(struct sigcontext, reserved1)))
__unsafe_setup_sigcontext(struct sigcontext __user *sc, void __user *fpstate,
static int copy_sc_to_user(struct sigcontext __user *to,
struct sigcontext sc;
memset(&sc, 0, sizeof(struct sigcontext));
err = copy_to_user(to, &sc, sizeof(struct sigcontext));
struct sigcontext __user *from)
struct sigcontext __user *sc = &frame->sc;
struct sigcontext sc;
struct sigcontext uc_mcontext;
struct sigcontext __user *sc = &frame->uc.uc_mcontext;
struct sigcontext __user *sc = &frame->uc.uc_mcontext;
struct sigcontext uc_mcontext;