Lines Matching refs:stack
232 * show a stack trace from the specified stack pointer
236 unsigned long bottom, stack, addr, fp, raslot;
240 //stack = (unsigned long)sp;
241 asm("mov sp,%0" : "=a"(stack));
245 bottom = (stack + THREAD_SIZE) & ~(THREAD_SIZE - 1);
246 for (; stack < bottom; stack += sizeof(addr)) {
247 addr = *(unsigned long *)stack;
248 if (stack == fp) {
249 if (addr > stack && addr < bottom) {
251 raslot = stack + sizeof(addr);
260 if (stack >= raslot)
273 * show the raw stack from the specified stack pointer
277 unsigned long *stack;
283 stack = sp;
286 if (((long) stack & (THREAD_SIZE - 1)) == 0)
290 printk("%08lx ", *stack++);
343 * dump the registers and the stack
357 /* when in-kernel, we also print out the stack and code at the
427 * display the register file when the stack pointer gets clobbered