Lines Matching refs:tregs

93 	struct pt_regs *tregs;  in fixup_exception()  local
102 tregs = (struct pt_regs *)((long)regs + regs->stkadj); in fixup_exception()
103 tregs->vector = regs->vector; in fixup_exception()
104 tregs->format = FORMAT; in fixup_exception()
105 tregs->pc = fixup->fixup; in fixup_exception()
106 tregs->sr = regs->sr; in fixup_exception()
815 struct pt_regs *tregs = rte_regs(regs); in setup_sigcontext() local
822 sc->sc_sr = tregs->sr; in setup_sigcontext()
823 sc->sc_pc = tregs->pc; in setup_sigcontext()
824 sc->sc_formatvec = tregs->format << 12 | tregs->vector; in setup_sigcontext()
832 struct pt_regs *tregs = rte_regs(regs); in rt_setup_ucontext() local
853 err |= __put_user(tregs->pc, &gregs[16]); in rt_setup_ucontext()
854 err |= __put_user(tregs->sr, &gregs[17]); in rt_setup_ucontext()
855 err |= __put_user((tregs->format << 12) | tregs->vector, &uc->uc_formatvec); in rt_setup_ucontext()
872 struct pt_regs *tregs = rte_regs(regs); in setup_frame() local
873 int fsize = frame_extra_sizes(tregs->format); in setup_frame()
879 tregs->format); in setup_frame()
890 err |= __put_user(tregs->vector, &frame->code); in setup_frame()
923 tregs = rte_regs(regs); in setup_frame()
925 tregs->vector = 0; in setup_frame()
926 tregs->format = 0; in setup_frame()
927 tregs->sr = regs->sr; in setup_frame()
935 tregs->pc = (unsigned long) ksig->ka.sa.sa_handler; in setup_frame()
945 struct pt_regs *tregs = rte_regs(regs); in setup_rt_frame() local
946 int fsize = frame_extra_sizes(tregs->format); in setup_rt_frame()
1003 tregs = rte_regs(regs); in setup_rt_frame()
1005 tregs->vector = 0; in setup_rt_frame()
1006 tregs->format = 0; in setup_rt_frame()
1007 tregs->sr = regs->sr; in setup_rt_frame()
1015 tregs->pc = (unsigned long) ksig->ka.sa.sa_handler; in setup_rt_frame()