Lines Matching refs:stack
236 unsigned long bottom, stack, addr, fp, raslot; in show_trace() local
241 asm("mov sp,%0" : "=a"(stack)); in show_trace()
245 bottom = (stack + THREAD_SIZE) & ~(THREAD_SIZE - 1); in show_trace()
246 for (; stack < bottom; stack += sizeof(addr)) { in show_trace()
247 addr = *(unsigned long *)stack; in show_trace()
248 if (stack == fp) { in show_trace()
249 if (addr > stack && addr < bottom) { in show_trace()
251 raslot = stack + sizeof(addr); in show_trace()
260 if (stack >= raslot) in show_trace()
277 unsigned long *stack; in show_stack() local
283 stack = sp; in show_stack()
286 if (((long) stack & (THREAD_SIZE - 1)) == 0) in show_stack()
290 printk("%08lx ", *stack++); in show_stack()