tag | line | file | source code |
childregs | 122 | arch/alpha/kernel/process.c | struct pt_regs * childregs; |
childregs | 129 | arch/alpha/kernel/process.c | childregs = (struct pt_regs *) (p->kernel_stack_page + stack_offset); |
childregs | 131 | arch/alpha/kernel/process.c | *childregs = *regs; |
childregs | 132 | arch/alpha/kernel/process.c | childregs->r0 = 0; |
childregs | 133 | arch/alpha/kernel/process.c | childregs->r19 = 0; |
childregs | 134 | arch/alpha/kernel/process.c | childregs->r20 = 1; /* OSF/1 has some strange fork() semantics.. */ |
childregs | 137 | arch/alpha/kernel/process.c | childstack = ((struct switch_stack *) childregs) - 1; |
childregs | 295 | arch/i386/kernel/process.c | struct pt_regs * childregs; |
childregs | 306 | arch/i386/kernel/process.c | childregs = ((struct pt_regs *) (p->kernel_stack_page + PAGE_SIZE)) - 1; |
childregs | 307 | arch/i386/kernel/process.c | p->tss.esp = (unsigned long) childregs; |
childregs | 309 | arch/i386/kernel/process.c | *childregs = *regs; |
childregs | 310 | arch/i386/kernel/process.c | childregs->eax = 0; |
childregs | 311 | arch/i386/kernel/process.c | childregs->esp = esp; |
childregs | 109 | arch/m68k/kernel/process.c | struct pt_regs * childregs; |
childregs | 114 | arch/m68k/kernel/process.c | childregs = (struct pt_regs *) (p->kernel_stack_page + stack_offset); |
childregs | 116 | arch/m68k/kernel/process.c | *childregs = *regs; |
childregs | 117 | arch/m68k/kernel/process.c | childregs->d0 = 0; |
childregs | 122 | arch/m68k/kernel/process.c | childstack = ((struct switch_stack *) childregs) - 1; |
childregs | 121 | arch/mips/kernel/process.c | struct pt_regs * childregs; |
childregs | 128 | arch/mips/kernel/process.c | childregs = ((struct pt_regs *) (p->kernel_stack_page + PAGE_SIZE)) - 1; |
childregs | 129 | arch/mips/kernel/process.c | *childregs = *regs; |
childregs | 130 | arch/mips/kernel/process.c | childregs->reg2 = 0; /* Child gets zero as return value */ |
childregs | 131 | arch/mips/kernel/process.c | childregs->reg7 = 0; /* Clear error flag */ |
childregs | 133 | arch/mips/kernel/process.c | if (childregs->cp0_status & ST0_CU0) |
childregs | 134 | arch/mips/kernel/process.c | childregs->reg29 = childksp; |
childregs | 136 | arch/mips/kernel/process.c | childregs->reg29 = usp; |
childregs | 138 | arch/mips/kernel/process.c | p->tss.reg29 = (unsigned long) childregs; /* new sp */ |
childregs | 147 | arch/mips/kernel/process.c | childregs->cp0_status &= ~(ST0_CU3|ST0_CU2|ST0_CU1); |
childregs | 103 | arch/ppc/kernel/process.c | struct pt_regs * childregs; |
childregs | 123 | arch/ppc/kernel/process.c | childregs = ((struct pt_regs *) (p->kernel_stack_page + 2*PAGE_SIZE)) - 2; |
childregs | 124 | arch/ppc/kernel/process.c | *childregs = *regs; /* STRUCT COPY */ |
childregs | 125 | arch/ppc/kernel/process.c | childregs->gpr[3] = 0; /* Result from fork() */ |
childregs | 126 | arch/ppc/kernel/process.c | p->tss.ksp = (unsigned long)childregs; |
childregs | 129 | arch/ppc/kernel/process.c | childregs->gpr[1] = (long)(childregs+1); |
childregs | 132 | arch/ppc/kernel/process.c | childregs->gpr[1] = usp; |
childregs | 227 | arch/sparc/kernel/process.c | struct pt_regs *childregs; |
childregs | 252 | arch/sparc/kernel/process.c | childregs = ((struct pt_regs *) (p->kernel_stack_page + stack_offset)); |
childregs | 253 | arch/sparc/kernel/process.c | *childregs = *regs; |
childregs | 254 | arch/sparc/kernel/process.c | new_stack = (((struct reg_window *) childregs) - 1); |
childregs | 261 | arch/sparc/kernel/process.c | p->tss.kregs = childregs; |
childregs | 262 | arch/sparc/kernel/process.c | childregs->u_regs[UREG_FP] = sp; |
childregs | 266 | arch/sparc/kernel/process.c | childregs->u_regs[UREG_FP] = p->kernel_stack_page + stack_offset; |
childregs | 272 | arch/sparc/kernel/process.c | childregs->u_regs[UREG_I0] = current->pid; |
childregs | 273 | arch/sparc/kernel/process.c | childregs->u_regs[UREG_I1] = 1; |