/linux-6.6.21/arch/arm64/include/asm/ |
D | stacktrace.h | 25 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() 42 static inline struct stack_info stackinfo_get_task(const struct task_struct *tsk) in stackinfo_get_task() 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() 83 static inline struct stack_info stackinfo_get_sdei_normal(void) in stackinfo_get_sdei_normal() 88 return (struct stack_info) { in stackinfo_get_sdei_normal() [all …]
|
/linux-6.6.21/arch/arm64/include/asm/stacktrace/ |
D | common.h | 15 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.6.21/arch/arm64/kvm/ |
D | stacktrace.c | 24 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.6.21/arch/s390/kernel/ |
D | unwind_bc.c | 23 (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()
|
D | dumpstack.c | 43 static inline bool in_stack(unsigned long sp, struct stack_info *info, in in_stack() 55 struct stack_info *info) in in_task_stack() 62 static bool in_irq_stack(unsigned long sp, struct stack_info *info) in in_irq_stack() 69 static bool in_nodat_stack(unsigned long sp, struct stack_info *info) in in_nodat_stack() 76 static bool in_mcck_stack(unsigned long sp, struct stack_info *info) in in_mcck_stack() 83 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()
|
D | stacktrace.c | 33 if (state.stack_info.type != STACK_TYPE_TASK) in arch_stack_walk_reliable()
|
/linux-6.6.21/arch/x86/kernel/ |
D | unwind_frame.c | 36 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 …]
|
D | dumpstack.c | 33 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 218 stack = stack_info.next_sp) { in show_trace_log_lvl() 223 if (get_stack_info(stack, task, &stack_info, &visit_mask)) { in show_trace_log_lvl() 231 if (get_stack_info(stack, task, &stack_info, &visit_mask)) in show_trace_log_lvl() 235 stack_name = stack_type_name(stack_info.type); in show_trace_log_lvl() 240 show_regs_if_on_stack(&stack_info, regs, partial, log_lvl); in show_trace_log_lvl() 252 for (; stack < stack_info.end; stack++) { in show_trace_log_lvl() [all …]
|
D | unwind_orc.c | 50 struct stack_info stack_info = {0}; in unwind_dump() local 59 state->stack_info.type, state->stack_info.next_sp, in unwind_dump() 63 sp = PTR_ALIGN(stack_info.next_sp, sizeof(long))) { in unwind_dump() 64 if (get_stack_info(sp, state->task, &stack_info, &visit_mask)) in unwind_dump() 67 for (; sp < stack_info.end; sp++) { in unwind_dump() 390 struct stack_info *info = &state->stack_info; in stack_access_ok() 471 enum stack_type prev_type = state->stack_info.type; in unwind_next_frame() 664 if (state->stack_info.type == prev_type && in unwind_next_frame() 665 on_stack(&state->stack_info, (void *)state->sp, sizeof(long)) && in unwind_next_frame() 680 state->stack_info.type = STACK_TYPE_UNKNOWN; in unwind_next_frame() [all …]
|
D | unwind_guess.c | 29 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()
|
D | dumpstack_32.c | 38 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()
|
D | dumpstack_64.c | 94 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()
|
D | traps.c | 317 struct stack_info *info) in handle_stack_overflow() 357 struct stack_info info; in DEFINE_IDTENTRY_DF() 785 struct stack_info info; in vc_switch_off_ist()
|
/linux-6.6.21/arch/x86/include/asm/ |
D | stacktrace.h | 26 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()
|
D | unwind.h | 15 struct stack_info stack_info; member 50 return state->stack_info.type == STACK_TYPE_UNKNOWN; in unwind_done()
|
D | traps.h | 48 struct stack_info *info);
|
/linux-6.6.21/arch/arm64/kvm/hyp/nvhe/ |
D | stacktrace.c | 42 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.6.21/arch/loongarch/include/asm/ |
D | unwind.h | 23 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()
|
D | stacktrace.h | 19 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);
|
/linux-6.6.21/arch/loongarch/kernel/ |
D | unwind_prologue.c | 116 struct stack_info *info = &state->stack_info; in unwind_by_prologue() 198 struct stack_info *info = &state->stack_info; in next_frame() 230 state->stack_info.type = STACK_TYPE_UNKNOWN; in next_frame()
|
D | unwind.c | 12 struct stack_info *info = &state->stack_info; in default_next_frame()
|
D | process.c | 232 bool in_irq_stack(unsigned long stack, struct stack_info *info) in in_irq_stack() 254 struct stack_info *info) in in_task_stack() 271 struct stack_info *info) in get_stack_info()
|
/linux-6.6.21/arch/s390/include/asm/ |
D | unwind.h | 35 struct stack_info stack_info; member 65 return state->stack_info.type == STACK_TYPE_UNKNOWN; in unwind_done()
|
D | stacktrace.h | 18 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.6.21/drivers/net/wireless/realtek/rtlwifi/btcoexist/ |
D | halbtc8192e2ant.c | 521 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 …]
|