Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/arch/arm64/include/asm/
A Dstacktrace.h25 static inline struct stack_info stackinfo_get_irq(void) in stackinfo_get_irq()
30 return (struct stack_info) { in stackinfo_get_irq()
38 struct stack_info info = stackinfo_get_irq(); in on_irq_stack()
47 return (struct stack_info) { in stackinfo_get_task()
56 struct stack_info info = stackinfo_get_task(tsk); in on_task_stack()
65 static inline struct stack_info stackinfo_get_overflow(void) in stackinfo_get_overflow()
70 return (struct stack_info) { in stackinfo_get_overflow()
88 return (struct stack_info) { in stackinfo_get_sdei_normal()
99 return (struct stack_info) { in stackinfo_get_sdei_critical()
112 static inline struct stack_info stackinfo_get_efi(void) in stackinfo_get_efi()
[all …]
/linux-6.3-rc2/arch/arm64/include/asm/stacktrace/
A Dcommon.h15 struct stack_info { struct
44 struct stack_info stack;
45 struct stack_info *stacks;
49 static inline struct stack_info stackinfo_get_unknown(void) in stackinfo_get_unknown()
51 return (struct stack_info) { in stackinfo_get_unknown()
57 static inline bool stackinfo_on_stack(const struct stack_info *info, in stackinfo_on_stack()
80 static struct stack_info *unwind_find_next_stack(const struct unwind_state *state, in unwind_find_next_stack()
85 struct stack_info *info = &state->stacks[i]; in unwind_find_next_stack()
109 struct stack_info *next; in unwind_consume_stack()
/linux-6.3-rc2/arch/arm64/kvm/
A Dstacktrace.c24 static struct stack_info stackinfo_get_overflow(void) in stackinfo_get_overflow()
31 return (struct stack_info) { in stackinfo_get_overflow()
37 static struct stack_info stackinfo_get_overflow_kern_va(void) in stackinfo_get_overflow_kern_va()
42 return (struct stack_info) { in stackinfo_get_overflow_kern_va()
48 static struct stack_info stackinfo_get_hyp(void) in stackinfo_get_hyp()
55 return (struct stack_info) { in stackinfo_get_hyp()
61 static struct stack_info stackinfo_get_hyp_kern_va(void) in stackinfo_get_hyp_kern_va()
66 return (struct stack_info) { in stackinfo_get_hyp_kern_va()
87 struct stack_info stack_hyp, stack_kern; in kvm_nvhe_stack_kern_va()
181 struct stack_info stacks[] = { in hyp_dump_backtrace()
/linux-6.3-rc2/arch/s390/kernel/
A 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()
47 return state->stack_info.type == STACK_TYPE_IRQ && in is_final_pt_regs()
48 state->stack_info.end - sizeof(struct pt_regs) == (unsigned long)regs && in is_final_pt_regs()
54 struct stack_info *info = &state->stack_info; in unwind_next_frame()
116 state->stack_info.type = STACK_TYPE_UNKNOWN; in unwind_next_frame()
124 struct stack_info *info = &state->stack_info; in __unwind_start()
171 if (on_stack(&state->stack_info, first_frame, sizeof(struct stack_frame))) { in __unwind_start()
A Ddumpstack.c43 static inline bool in_stack(unsigned long sp, struct stack_info *info, in in_stack()
56 struct stack_info *info) in in_task_stack()
64 static bool in_irq_stack(unsigned long sp, struct stack_info *info) in in_irq_stack()
73 static bool in_nodat_stack(unsigned long sp, struct stack_info *info) in in_nodat_stack()
82 static bool in_mcck_stack(unsigned long sp, struct stack_info *info) in in_mcck_stack()
91 static bool in_restart_stack(unsigned long sp, struct stack_info *info) in in_restart_stack()
101 struct stack_info *info, unsigned long *visit_mask) in get_stack_info()
A Dstacktrace.c33 if (state.stack_info.type != STACK_TYPE_TASK) in arch_stack_walk_reliable()
/linux-6.3-rc2/arch/x86/kernel/
A 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()
199 struct stack_info *info = &state->stack_info; in update_stack_state()
234 if (state->orig_sp && state->stack_info.type == prev_type && in update_stack_state()
368 state->stack_info.type = STACK_TYPE_UNKNOWN; in unwind_next_frame()
384 state->stack_info.type = STACK_TYPE_UNKNOWN; in __unwind_start()
405 get_stack_info(bp, state->task, &state->stack_info, in __unwind_start()
[all …]
A Ddumpstack.c33 struct stack_info *info) in in_task_stack()
50 bool noinstr in_entry_stack(unsigned long *stack, struct stack_info *info) in in_entry_stack()
154 static void show_regs_if_on_stack(struct stack_info *info, struct pt_regs *regs, in show_regs_if_on_stack()
190 struct stack_info stack_info = {0}; in show_trace_log_lvl() local
217 for ( ; stack; stack = PTR_ALIGN(stack_info.next_sp, sizeof(long))) { in show_trace_log_lvl()
220 if (get_stack_info(stack, task, &stack_info, &visit_mask)) { in show_trace_log_lvl()
228 if (get_stack_info(stack, task, &stack_info, &visit_mask)) in show_trace_log_lvl()
232 stack_name = stack_type_name(stack_info.type); in show_trace_log_lvl()
237 show_regs_if_on_stack(&stack_info, regs, partial, log_lvl); in show_trace_log_lvl()
249 for (; stack < stack_info.end; stack++) { in show_trace_log_lvl()
[all …]
A Dunwind_guess.c29 struct stack_info *info = &state->stack_info; in unwind_next_frame()
59 get_stack_info(first_frame, state->task, &state->stack_info, in __unwind_start()
68 (!on_stack(&state->stack_info, first_frame, sizeof(long)) || in __unwind_start()
A Ddumpstack_32.c38 static bool in_hardirq_stack(unsigned long *stack, struct stack_info *info) in in_hardirq_stack()
63 static bool in_softirq_stack(unsigned long *stack, struct stack_info *info) in in_softirq_stack()
88 static bool in_doublefault_stack(unsigned long *stack, struct stack_info *info) in in_doublefault_stack()
109 struct stack_info *info, unsigned long *visit_mask) in get_stack_info()
A Ddumpstack_64.c94 static __always_inline bool in_exception_stack(unsigned long *stack, struct stack_info *info) in in_exception_stack()
135 static __always_inline bool in_irq_stack(unsigned long *stack, struct stack_info *info) in in_irq_stack()
171 struct stack_info *info) in get_stack_info_noinstr()
192 struct stack_info *info, unsigned long *visit_mask) in get_stack_info()
A Dunwind_orc.c363 struct stack_info *info = &state->stack_info; in stack_access_ok()
444 enum stack_type prev_type = state->stack_info.type; in unwind_next_frame()
639 if (state->stack_info.type == prev_type && in unwind_next_frame()
640 on_stack(&state->stack_info, (void *)state->sp, sizeof(long)) && in unwind_next_frame()
655 state->stack_info.type = STACK_TYPE_UNKNOWN; in unwind_next_frame()
705 &state->stack_info, &state->stack_mask)) { in __unwind_start()
714 if (get_stack_info(next_page, state->task, &state->stack_info, in __unwind_start()
733 (!on_stack(&state->stack_info, first_frame, sizeof(long)) || in __unwind_start()
742 state->stack_info.type = STACK_TYPE_UNKNOWN; in __unwind_start()
/linux-6.3-rc2/arch/x86/include/asm/
A 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);
39 struct stack_info *info);
42 bool get_stack_guard_info(unsigned long *stack, struct stack_info *info) in get_stack_guard_info()
53 static inline bool on_stack(struct stack_info *info, void *addr, size_t len) in on_stack()
A Dunwind.h15 struct stack_info stack_info; member
50 return state->stack_info.type == STACK_TYPE_UNKNOWN; in unwind_done()
A Dtraps.h47 struct stack_info *info);
/linux-6.3-rc2/arch/arm64/kvm/hyp/nvhe/
A Dstacktrace.c42 static struct stack_info stackinfo_get_overflow(void) in stackinfo_get_overflow()
47 return (struct stack_info) { in stackinfo_get_overflow()
53 static struct stack_info stackinfo_get_hyp(void) in stackinfo_get_hyp()
59 return (struct stack_info) { in stackinfo_get_hyp()
123 struct stack_info stacks[] = { in pkvm_save_backtrace()
/linux-6.3-rc2/arch/loongarch/include/asm/
A Dstacktrace.h19 struct stack_info { struct
29 bool in_irq_stack(unsigned long stack, struct stack_info *info); argument
30 bool in_task_stack(unsigned long stack, struct task_struct *task, struct stack_info *info);
31 int get_stack_info(unsigned long stack, struct task_struct *task, struct stack_info *info);
A Dunwind.h23 struct stack_info stack_info; member
39 return state->stack_info.type == STACK_TYPE_UNKNOWN; in unwind_done()
74 get_stack_info(state->sp, state->task, &state->stack_info); in __unwind_start()
/linux-6.3-rc2/arch/s390/include/asm/
A Dunwind.h35 struct stack_info stack_info; member
65 return state->stack_info.type == STACK_TYPE_UNKNOWN; in unwind_done()
A Dstacktrace.h18 struct stack_info { struct
25 struct stack_info *info, unsigned long *visit_mask); argument
27 static inline bool on_stack(struct stack_info *info, in on_stack()
/linux-6.3-rc2/arch/loongarch/kernel/
A Dunwind.c12 struct stack_info *info = &state->stack_info; in default_next_frame()
A Dunwind_prologue.c116 struct stack_info *info = &state->stack_info; in unwind_by_prologue()
198 struct stack_info *info = &state->stack_info; in next_frame()
A Dprocess.c222 bool in_irq_stack(unsigned long stack, struct stack_info *info) in in_irq_stack()
244 struct stack_info *info) in in_task_stack()
261 struct stack_info *info) in get_stack_info()
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/btcoexist/
A Dhalbtc8192e2ant.c521 struct btc_stack_info *stack_info = &btcoexist->stack_info; in btc8192e2ant_action_algorithm() local
600 if (stack_info->num_of_hid >= 2) { in btc8192e2ant_action_algorithm()
2671 struct btc_stack_info *stack_info = &btcoexist->stack_info; in ex_btc8192e2ant_display_coex_info() local
2693 ((stack_info->profile_notified) ? "Yes" : "No"), in ex_btc8192e2ant_display_coex_info()
2694 stack_info->hci_version); in ex_btc8192e2ant_display_coex_info()
2750 "SCO/HID/PAN/A2DP", stack_info->sco_exist, in ex_btc8192e2ant_display_coex_info()
2751 stack_info->hid_exist, stack_info->pan_exist, in ex_btc8192e2ant_display_coex_info()
2752 stack_info->a2dp_exist); in ex_btc8192e2ant_display_coex_info()
3160 struct btc_stack_info *stack_info = &btcoexist->stack_info; in ex_btc8192e2ant_periodical() local
3174 ((stack_info->profile_notified) ? "Yes" : "No"), in ex_btc8192e2ant_periodical()
[all …]
/linux-6.3-rc2/arch/arm64/kernel/
A Dstacktrace.c202 struct stack_info stacks[] = { in arch_stack_walk()

Completed in 40 milliseconds

12