Lines Matching refs:gpr
212 if ( __get_user(r, &(regs->gpr[i])) ) in show_regs()
265 childregs->gpr[3] = 0; /* Result from fork() */ in copy_thread()
278 kregs->gpr[1] = (unsigned long)childregs - STACK_FRAME_OVERHEAD; in copy_thread()
279 kregs->gpr[2] = (((unsigned long)&__toc_start) + 0x8000); in copy_thread()
283 childregs->gpr[1] = (unsigned long)(childregs + 1); in copy_thread()
284 *((unsigned long *) childregs->gpr[1]) = 0; in copy_thread()
287 childregs->gpr[1] = usp; in copy_thread()
323 unsigned long entry, toc, load_addr = regs->gpr[2]; in start_thread()
343 regs->gpr[1] = sp; in start_thread()
344 regs->gpr[2] = toc; in start_thread()
390 return do_fork(p1, regs->gpr[1], regs, 0); in sys_clone()
396 return do_fork(SIGCHLD, regs->gpr[1], regs, 0); in sys_fork()
402 return do_fork(CLONE_VFORK | CLONE_VM | SIGCHLD, regs->gpr[1], regs, 0); in sys_vfork()