Lines Matching refs:stack
32 bool in_task_stack(unsigned long *stack, struct task_struct *task, in in_task_stack() argument
38 if (stack < begin || stack >= end) in in_task_stack()
49 bool in_entry_stack(unsigned long *stack, struct stack_info *info) in in_entry_stack() argument
56 if ((void *)stack < begin || (void *)stack >= end) in in_entry_stack()
163 unsigned long *stack, char *log_lvl) in show_trace_log_lvl() argument
173 unwind_start(&state, task, regs, stack); in show_trace_log_lvl()
174 stack = stack ? : get_stack_pointer(task, regs); in show_trace_log_lvl()
193 for ( ; stack; stack = PTR_ALIGN(stack_info.next_sp, sizeof(long))) { in show_trace_log_lvl()
196 if (get_stack_info(stack, task, &stack_info, &visit_mask)) { in show_trace_log_lvl()
203 stack = (unsigned long *)PAGE_ALIGN((unsigned long)stack); in show_trace_log_lvl()
204 if (get_stack_info(stack, task, &stack_info, &visit_mask)) in show_trace_log_lvl()
225 for (; stack < stack_info.end; stack++) { in show_trace_log_lvl()
228 unsigned long addr = READ_ONCE_NOCHECK(*stack); in show_trace_log_lvl()
239 if (regs && stack == ®s->ip) in show_trace_log_lvl()
242 if (stack == ret_addr_p) in show_trace_log_lvl()
255 addr, stack); in show_trace_log_lvl()