Lines Matching refs:regs
109 void show_regs(struct pt_regs * regs) in show_regs() argument
113 regs->format, regs->vector, regs->pc, regs->sr, print_tainted()); in show_regs()
115 regs->orig_d0, regs->d0, regs->a2, regs->a1); in show_regs()
117 regs->a0, regs->d5, regs->d4); in show_regs()
119 regs->d3, regs->d2, regs->d1); in show_regs()
120 if (!(regs->sr & PS_S)) in show_regs()
183 asmlinkage int m68k_fork(struct pt_regs *regs) in m68k_fork() argument
185 return do_fork(SIGCHLD, rdusp(), regs, 0); in m68k_fork()
188 asmlinkage int m68k_vfork(struct pt_regs *regs) in m68k_vfork() argument
190 return do_fork(CLONE_VFORK | CLONE_VM | SIGCHLD, rdusp(), regs, 0); in m68k_vfork()
193 asmlinkage int m68k_clone(struct pt_regs *regs) in m68k_clone() argument
199 clone_flags = regs->d1; in m68k_clone()
200 newsp = regs->d2; in m68k_clone()
203 return do_fork(clone_flags, newsp, regs, 0); in m68k_clone()
208 struct task_struct * p, struct pt_regs * regs) in copy_thread() argument
217 *childregs = *regs; in copy_thread()
220 retp = ((unsigned long *) regs); in copy_thread()
253 int dump_fpu (struct pt_regs *regs, struct user_m68kfp_struct *fpu) in dump_fpu() argument
288 void dump_thread(struct pt_regs * regs, struct user * dump) in dump_thread() argument
305 dump->u_ar0 = (struct user_regs_struct *)((int)&dump->regs - (int)dump); in dump_thread()
306 sw = ((struct switch_stack *)regs) - 1; in dump_thread()
307 dump->regs.d1 = regs->d1; in dump_thread()
308 dump->regs.d2 = regs->d2; in dump_thread()
309 dump->regs.d3 = regs->d3; in dump_thread()
310 dump->regs.d4 = regs->d4; in dump_thread()
311 dump->regs.d5 = regs->d5; in dump_thread()
312 dump->regs.d6 = sw->d6; in dump_thread()
313 dump->regs.d7 = sw->d7; in dump_thread()
314 dump->regs.a0 = regs->a0; in dump_thread()
315 dump->regs.a1 = regs->a1; in dump_thread()
316 dump->regs.a2 = regs->a2; in dump_thread()
317 dump->regs.a3 = sw->a3; in dump_thread()
318 dump->regs.a4 = sw->a4; in dump_thread()
319 dump->regs.a5 = sw->a5; in dump_thread()
320 dump->regs.a6 = sw->a6; in dump_thread()
321 dump->regs.d0 = regs->d0; in dump_thread()
322 dump->regs.orig_d0 = regs->orig_d0; in dump_thread()
323 dump->regs.stkadj = regs->stkadj; in dump_thread()
324 dump->regs.sr = regs->sr; in dump_thread()
325 dump->regs.pc = regs->pc; in dump_thread()
326 dump->regs.fmtvec = (regs->format << 12) | regs->vector; in dump_thread()
328 dump->u_fpvalid = dump_fpu (regs, &dump->m68kfp); in dump_thread()
338 struct pt_regs *regs = (struct pt_regs *) &name; in sys_execve() local
345 error = do_execve(filename, argv, envp, regs); in sys_execve()