Home
last modified time | relevance | path

Searched refs:stack_offset (Results 1 – 3 of 3) sorted by relevance

/linux-2.4.37.9/arch/alpha/kernel/
Dprocess.c314 unsigned long stack_offset; in copy_thread() local
316 stack_offset = PAGE_SIZE - sizeof(struct pt_regs); in copy_thread()
318 stack_offset = (PAGE_SIZE-1) & (unsigned long) regs; in copy_thread()
319 childregs = (struct pt_regs *) (stack_offset + PAGE_SIZE + (long)p); in copy_thread()
/linux-2.4.37.9/arch/m68k/kernel/
Dprocess.c212 unsigned long stack_offset, *retp; in copy_thread() local
214 stack_offset = KTHREAD_SIZE - sizeof(struct pt_regs); in copy_thread()
215 childregs = (struct pt_regs *) ((unsigned long) p + stack_offset); in copy_thread()
/linux-2.4.37.9/arch/ia64/kernel/
Dprocess.c274 unsigned long rbs, child_rbs, rbs_size, stack_offset, stack_top, stack_used; in copy_thread() local
292 stack_offset = IA64_STK_OFFSET - stack_used; in copy_thread()
294 child_stack = (struct switch_stack *) ((unsigned long) p + stack_offset); in copy_thread()