Lines Matching refs:stack
347 static void show_trace(unsigned long *stack, unsigned long *endstack, in show_trace() argument
355 while (stack + 1 <= endstack) { in show_trace()
356 addr = *stack++; in show_trace()
377 void show_stack(struct task_struct *task, unsigned long *stack, in show_stack() argument
383 if (!stack) { in show_stack()
387 stack = (unsigned long *)thread_saved_ksp(task); in show_stack()
389 stack = (unsigned long *)&stack; in show_stack()
391 endstack = (unsigned long *)(((unsigned long)stack + THREAD_SIZE - 1) in show_stack()
394 pr_debug("Stack from %08lx:", (unsigned long)stack); in show_stack()
395 for (i = 0, p = stack; i < kstack_depth_to_print; i++) { in show_stack()
403 show_trace(stack, endstack, loglvl); in show_stack()