Lines Matching refs:stack
152 unsigned long *in_exception_stack(int cpu, unsigned long stack) in in_exception_stack() argument
158 if (stack >= init_tss[cpu].ist[k] && stack <= end) in in_exception_stack()
164 void show_trace(unsigned long *stack) in show_trace() argument
174 estack_end = in_exception_stack(cpu, (unsigned long)stack); in show_trace()
176 while (stack < estack_end) { in show_trace()
177 addr = *stack++; in show_trace()
189 stack = (unsigned long *) estack_end[-2]; in show_trace()
196 if (stack >= irqstack && stack < irqstack_end) { in show_trace()
197 while (stack < irqstack_end) { in show_trace()
198 addr = *stack++; in show_trace()
216 stack = (unsigned long *) (irqstack_end[-1]); in show_trace()
223 while (((long) stack & (THREAD_SIZE-1)) != 0) { in show_trace()
224 addr = *stack++; in show_trace()
249 unsigned long *stack; in show_stack() local
261 stack = rsp; in show_stack()
263 if (stack >= irqstack && stack <= irqstack_end) { in show_stack()
264 if (stack == irqstack_end) { in show_stack()
265 stack = (unsigned long *) (irqstack_end[-1]); in show_stack()
269 if (((long) stack & (THREAD_SIZE-1)) == 0) in show_stack()
274 printk("%016lx ", *stack++); in show_stack()