Home
last modified time | relevance | path

Searched refs:stack_info (Results 1 – 17 of 17) sorted by relevance

/arch/x86/kernel/
Dunwind_frame.c36 struct stack_info stack_info = {0}; in unwind_dump() local
45 state->stack_info.type, state->stack_info.next_sp, in unwind_dump()
49 sp = PTR_ALIGN(stack_info.next_sp, sizeof(long))) { in unwind_dump()
50 if (get_stack_info(sp, state->task, &stack_info, &visit_mask)) in unwind_dump()
53 for (; sp < stack_info.end; sp++) { in unwind_dump()
195 struct stack_info *info = &state->stack_info; in update_stack_state()
230 if (state->orig_sp && state->stack_info.type == prev_type && in update_stack_state()
361 state->stack_info.type = STACK_TYPE_UNKNOWN; in unwind_next_frame()
377 state->stack_info.type = STACK_TYPE_UNKNOWN; in __unwind_start()
398 get_stack_info(bp, state->task, &state->stack_info, in __unwind_start()
[all …]
Ddumpstack.c33 struct stack_info *info) in in_task_stack()
49 bool in_entry_stack(unsigned long *stack, struct stack_info *info) in in_entry_stack()
136 static void show_regs_if_on_stack(struct stack_info *info, struct pt_regs *regs, in show_regs_if_on_stack()
166 struct stack_info stack_info = {0}; in show_trace_log_lvl() local
194 stack = stack_info.next_sp) { in show_trace_log_lvl()
199 if (get_stack_info(stack, task, &stack_info, &visit_mask)) { in show_trace_log_lvl()
207 if (get_stack_info(stack, task, &stack_info, &visit_mask)) in show_trace_log_lvl()
211 stack_name = stack_type_name(stack_info.type); in show_trace_log_lvl()
216 show_regs_if_on_stack(&stack_info, regs, partial); in show_trace_log_lvl()
228 for (; stack < stack_info.end; stack++) { in show_trace_log_lvl()
[all …]
Dunwind_guess.c30 struct stack_info *info = &state->stack_info; in unwind_next_frame()
60 get_stack_info(first_frame, state->task, &state->stack_info, in __unwind_start()
69 (!on_stack(&state->stack_info, first_frame, sizeof(long)) || in __unwind_start()
Ddumpstack_32.c35 static bool in_hardirq_stack(unsigned long *stack, struct stack_info *info) in in_hardirq_stack()
60 static bool in_softirq_stack(unsigned long *stack, struct stack_info *info) in in_softirq_stack()
86 struct stack_info *info, unsigned long *visit_mask) in get_stack_info()
Dunwind_orc.c334 struct stack_info *info = &state->stack_info; in stack_access_ok()
415 enum stack_type prev_type = state->stack_info.type; in unwind_next_frame()
595 if (state->stack_info.type == prev_type && in unwind_next_frame()
596 on_stack(&state->stack_info, (void *)state->sp, sizeof(long)) && in unwind_next_frame()
611 state->stack_info.type = STACK_TYPE_UNKNOWN; in unwind_next_frame()
661 &state->stack_info, &state->stack_mask)) { in __unwind_start()
670 if (get_stack_info(next_page, state->task, &state->stack_info, in __unwind_start()
689 (!on_stack(&state->stack_info, first_frame, sizeof(long)) || in __unwind_start()
698 state->stack_info.type = STACK_TYPE_UNKNOWN; in __unwind_start()
Ddumpstack_64.c87 static bool in_exception_stack(unsigned long *stack, struct stack_info *info) in in_exception_stack()
128 static bool in_irq_stack(unsigned long *stack, struct stack_info *info) in in_irq_stack()
154 struct stack_info *info, unsigned long *visit_mask) in get_stack_info()
/arch/x86/include/asm/
Dstacktrace.h26 struct stack_info { struct
32 struct stack_info *info); argument
34 bool in_entry_stack(unsigned long *stack, struct stack_info *info);
37 struct stack_info *info, unsigned long *visit_mask);
41 static inline bool on_stack(struct stack_info *info, void *addr, size_t len) in on_stack()
Dunwind.h14 struct stack_info stack_info; member
46 return state->stack_info.type == STACK_TYPE_UNKNOWN; in unwind_done()
/arch/arm64/include/asm/
Dstacktrace.h27 struct stack_info { struct
76 struct stack_info *info) in on_irq_stack()
98 struct stack_info *info) in on_task_stack()
119 struct stack_info *info) in on_overflow_stack()
137 struct stack_info *info) { return false; } in on_overflow_stack()
147 struct stack_info *info) in on_accessible_stack()
Dsdei.h43 struct stack_info;
45 bool _on_sdei_stack(unsigned long sp, struct stack_info *info);
47 struct stack_info *info) in on_sdei_stack()
Dprocessor.h322 struct stack_info _info; \
/arch/s390/kernel/
Dunwind_bc.c23 (sp > state->stack_info.end - sizeof(struct stack_frame)); in outside_of_stack()
28 struct stack_info *info = &state->stack_info; in update_stack_info()
41 struct stack_info *info = &state->stack_info; in unwind_next_frame()
110 state->stack_info.type = STACK_TYPE_UNKNOWN; in unwind_next_frame()
118 struct stack_info *info = &state->stack_info; in __unwind_start()
Ddumpstack.c42 static inline bool in_stack(unsigned long sp, struct stack_info *info, in in_stack()
55 struct stack_info *info) in in_task_stack()
63 static bool in_irq_stack(unsigned long sp, struct stack_info *info) in in_irq_stack()
72 static bool in_nodat_stack(unsigned long sp, struct stack_info *info) in in_nodat_stack()
81 static bool in_restart_stack(unsigned long sp, struct stack_info *info) in in_restart_stack()
91 struct stack_info *info, unsigned long *visit_mask) in get_stack_info()
/arch/s390/include/asm/
Dunwind.h33 struct stack_info stack_info; member
51 return state->stack_info.type == STACK_TYPE_UNKNOWN; in unwind_done()
Dstacktrace.h17 struct stack_info { struct
24 struct stack_info *info, unsigned long *visit_mask); argument
26 static inline bool on_stack(struct stack_info *info, in on_stack()
/arch/arm64/kernel/
Dsdei.c92 static bool on_sdei_normal_stack(unsigned long sp, struct stack_info *info) in on_sdei_normal_stack()
112 static bool on_sdei_critical_stack(unsigned long sp, struct stack_info *info) in on_sdei_critical_stack()
132 bool _on_sdei_stack(unsigned long sp, struct stack_info *info) in _on_sdei_stack()
Dstacktrace.c44 struct stack_info info; in unwind_frame()