Lines Matching defs:stack
68 * For show_trace we have tree different stack to consider:
69 * - the panic stack which is used if the kernel stack has overflown
70 * - the asynchronous interrupt stack (cpu related)
71 * - the synchronous kernel stack (process related)
72 * The stack trace can start at any of the three stack and can potentially
73 * touch all of them. The order is: panic stack, async stack, sync stack.
112 static void show_trace(struct task_struct *task, unsigned long *stack)
117 sp = (unsigned long) stack;
141 unsigned long *stack;
145 stack = task ? (unsigned long *) task->thread.ksp : __r15;
147 stack = sp;
150 if (((addr_t) stack & (THREAD_SIZE-1)) == 0)
154 printk(LONG, *stack++);
234 /* Show stack backtrace if pt_regs is from kernel mode */
719 printk("Kernel stack overflow.\n");
722 panic("Corrupt kernel stack, can't continue.");