Searched refs:stack_offset (Results 1 – 3 of 3) sorted by relevance
314 unsigned long stack_offset; in copy_thread() local316 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()
212 unsigned long stack_offset, *retp; in copy_thread() local214 stack_offset = KTHREAD_SIZE - sizeof(struct pt_regs); in copy_thread()215 childregs = (struct pt_regs *) ((unsigned long) p + stack_offset); in copy_thread()
274 unsigned long rbs, child_rbs, rbs_size, stack_offset, stack_top, stack_used; in copy_thread() local292 stack_offset = IA64_STK_OFFSET - stack_used; in copy_thread()294 child_stack = (struct switch_stack *) ((unsigned long) p + stack_offset); in copy_thread()