taglinefilesource code
childregs122arch/alpha/kernel/process.cstruct pt_regs * childregs;
childregs129arch/alpha/kernel/process.cchildregs = (struct pt_regs *) (p->kernel_stack_page + stack_offset);
childregs131arch/alpha/kernel/process.c*childregs = *regs;
childregs132arch/alpha/kernel/process.cchildregs->r0 = 0;
childregs133arch/alpha/kernel/process.cchildregs->r19 = 0;
childregs134arch/alpha/kernel/process.cchildregs->r20 = 1;  /* OSF/1 has some strange fork() semantics.. */
childregs137arch/alpha/kernel/process.cchildstack = ((struct switch_stack *) childregs) - 1;
childregs295arch/i386/kernel/process.cstruct pt_regs * childregs;
childregs306arch/i386/kernel/process.cchildregs = ((struct pt_regs *) (p->kernel_stack_page + PAGE_SIZE)) - 1;
childregs307arch/i386/kernel/process.cp->tss.esp = (unsigned long) childregs;
childregs309arch/i386/kernel/process.c*childregs = *regs;
childregs310arch/i386/kernel/process.cchildregs->eax = 0;
childregs311arch/i386/kernel/process.cchildregs->esp = esp;
childregs109arch/m68k/kernel/process.cstruct pt_regs * childregs;
childregs114arch/m68k/kernel/process.cchildregs = (struct pt_regs *) (p->kernel_stack_page + stack_offset);
childregs116arch/m68k/kernel/process.c*childregs = *regs;
childregs117arch/m68k/kernel/process.cchildregs->d0 = 0;
childregs122arch/m68k/kernel/process.cchildstack = ((struct switch_stack *) childregs) - 1;
childregs121arch/mips/kernel/process.cstruct pt_regs * childregs;
childregs128arch/mips/kernel/process.cchildregs = ((struct pt_regs *) (p->kernel_stack_page + PAGE_SIZE)) - 1;
childregs129arch/mips/kernel/process.c*childregs = *regs;
childregs130arch/mips/kernel/process.cchildregs->reg2 = 0;    /* Child gets zero as return value */
childregs131arch/mips/kernel/process.cchildregs->reg7 = 0;    /* Clear error flag */
childregs133arch/mips/kernel/process.cif (childregs->cp0_status & ST0_CU0)
childregs134arch/mips/kernel/process.cchildregs->reg29 = childksp;
childregs136arch/mips/kernel/process.cchildregs->reg29 = usp;
childregs138arch/mips/kernel/process.cp->tss.reg29 = (unsigned long) childregs;  /* new sp */
childregs147arch/mips/kernel/process.cchildregs->cp0_status &= ~(ST0_CU3|ST0_CU2|ST0_CU1);
childregs103arch/ppc/kernel/process.cstruct pt_regs * childregs;
childregs123arch/ppc/kernel/process.cchildregs = ((struct pt_regs *) (p->kernel_stack_page + 2*PAGE_SIZE)) - 2;
childregs124arch/ppc/kernel/process.c*childregs = *regs;  /* STRUCT COPY */
childregs125arch/ppc/kernel/process.cchildregs->gpr[3] = 0;  /* Result from fork() */
childregs126arch/ppc/kernel/process.cp->tss.ksp = (unsigned long)childregs;
childregs129arch/ppc/kernel/process.cchildregs->gpr[1] = (long)(childregs+1);
childregs132arch/ppc/kernel/process.cchildregs->gpr[1] = usp;
childregs230arch/sparc/kernel/process.cstruct pt_regs *childregs;
childregs255arch/sparc/kernel/process.cchildregs = ((struct pt_regs *) (p->kernel_stack_page + stack_offset));
childregs256arch/sparc/kernel/process.c*childregs = *regs;
childregs257arch/sparc/kernel/process.cnew_stack = (((struct reg_window *) childregs) - 1);
childregs264arch/sparc/kernel/process.cp->tss.kregs = childregs;
childregs265arch/sparc/kernel/process.cchildregs->u_regs[UREG_FP] = sp;
childregs269arch/sparc/kernel/process.cchildregs->u_regs[UREG_FP] = p->kernel_stack_page + stack_offset;
childregs275arch/sparc/kernel/process.cchildregs->u_regs[UREG_I0] = current->pid;
childregs276arch/sparc/kernel/process.cchildregs->u_regs[UREG_I1] = 1;