Lines Matching refs:regs
84 void show_regs(struct pt_regs * regs) in show_regs() argument
88 regs->pc, regs->regs[15], regs->sr, ctrl_inl(MMU_TEA), print_tainted()); in show_regs()
90 regs->regs[0],regs->regs[1], in show_regs()
91 regs->regs[2],regs->regs[3]); in show_regs()
93 regs->regs[4],regs->regs[5], in show_regs()
94 regs->regs[6],regs->regs[7]); in show_regs()
96 regs->regs[8],regs->regs[9], in show_regs()
97 regs->regs[10],regs->regs[11]); in show_regs()
99 regs->regs[12],regs->regs[13], in show_regs()
100 regs->regs[14]); in show_regs()
102 regs->mach, regs->macl, regs->gbr, regs->pr); in show_regs()
180 int dump_fpu(struct pt_regs *regs, elf_fpregset_t *fpu) in dump_fpu() argument
202 struct task_struct *p, struct pt_regs *regs) in copy_thread() argument
213 *childregs = *regs; in copy_thread()
215 if (user_mode(regs)) { in copy_thread()
216 childregs->regs[15] = usp; in copy_thread()
218 childregs->regs[15] = (unsigned long)p+2*PAGE_SIZE; in copy_thread()
220 childregs->regs[0] = 0; /* Set return value for child */ in copy_thread()
235 void dump_thread(struct pt_regs * regs, struct user * dump) in dump_thread() argument
240 dump->start_stack = regs->regs[15] & ~(PAGE_SIZE - 1); in dump_thread()
247 dump->regs = *regs; in dump_thread()
249 dump->u_fpvalid = dump_fpu(regs, &dump->fpu); in dump_thread()
317 struct pt_regs regs) in sys_fork() argument
319 return do_fork(SIGCHLD, regs.regs[15], ®s, 0); in sys_fork()
324 struct pt_regs regs) in sys_clone() argument
327 newsp = regs.regs[15]; in sys_clone()
328 return do_fork(clone_flags, newsp, ®s, 0); in sys_clone()
343 struct pt_regs regs) in sys_vfork() argument
345 return do_fork(CLONE_VFORK | CLONE_VM | SIGCHLD, regs.regs[15], ®s, 0); in sys_vfork()
353 struct pt_regs regs) in sys_execve() argument
363 error = do_execve(filename, uargv, uenvp, ®s); in sys_execve()
411 struct pt_regs regs) in break_point_trap() argument
425 struct pt_regs regs) in break_point_trap_software() argument
427 regs.pc -= 2; in break_point_trap_software()