Searched refs:stack_offset (Results 1 – 2 of 2) sorted by relevance
285 unsigned long stack_offset, settls; in copy_thread() local287 stack_offset = PAGE_SIZE - sizeof(struct pt_regs); in copy_thread()289 stack_offset = (PAGE_SIZE-1) & (unsigned long) regs; in copy_thread()291 (stack_offset + PAGE_SIZE + task_stack_page(p)); in copy_thread()
271 unsigned long stack_offset; in handle_page_fault() local291 stack_offset = stack_pointer & (THREAD_SIZE-1); in handle_page_fault()292 if (stack_offset < THREAD_SIZE / 8) { in handle_page_fault()