Lines Matching refs:stack
32 bool noinstr 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()
50 bool noinstr in_entry_stack(unsigned long *stack, struct stack_info *info) in in_entry_stack() argument
57 if ((void *)stack < begin || (void *)stack >= end) in in_entry_stack()
187 unsigned long *stack, const char *log_lvl) in show_trace_log_lvl() argument
197 unwind_start(&state, task, regs, stack); in show_trace_log_lvl()
216 for (stack = stack ?: get_stack_pointer(task, regs); in show_trace_log_lvl()
217 stack; in show_trace_log_lvl()
218 stack = stack_info.next_sp) { in show_trace_log_lvl()
221 stack = PTR_ALIGN(stack, sizeof(long)); in show_trace_log_lvl()
223 if (get_stack_info(stack, task, &stack_info, &visit_mask)) { in show_trace_log_lvl()
230 stack = (unsigned long *)PAGE_ALIGN((unsigned long)stack); in show_trace_log_lvl()
231 if (get_stack_info(stack, task, &stack_info, &visit_mask)) in show_trace_log_lvl()
252 for (; stack < stack_info.end; stack++) { in show_trace_log_lvl()
255 unsigned long addr = READ_ONCE_NOCHECK(*stack); in show_trace_log_lvl()
266 if (regs && stack == ®s->ip) in show_trace_log_lvl()
269 if (stack == ret_addr_p) in show_trace_log_lvl()
282 addr, stack); in show_trace_log_lvl()