/kernel/linux/linux-5.10/arch/x86/include/asm/ |
H A D | unwind.h | 13 struct unwind_state { struct 38 void __unwind_start(struct unwind_state *state, struct task_struct *task, 40 bool unwind_next_frame(struct unwind_state *state); 41 unsigned long unwind_get_return_address(struct unwind_state *state); 42 unsigned long *unwind_get_return_address_ptr(struct unwind_state *state); 44 static inline bool unwind_done(struct unwind_state *state) in unwind_done() 49 static inline bool unwind_error(struct unwind_state *state) in unwind_error() 55 void unwind_start(struct unwind_state *state, struct task_struct *task, in unwind_start() 67 static inline struct pt_regs *unwind_get_entry_regs(struct unwind_state *state, in unwind_get_entry_regs() 84 static inline struct pt_regs *unwind_get_entry_regs(struct unwind_state *stat [all...] |
/kernel/linux/linux-6.6/arch/loongarch/include/asm/ |
H A D | unwind.h | 21 struct unwind_state { struct 30 bool default_next_frame(struct unwind_state *state); 32 void unwind_start(struct unwind_state *state, 34 bool unwind_next_frame(struct unwind_state *state); 35 unsigned long unwind_get_return_address(struct unwind_state *state); 37 static inline bool unwind_done(struct unwind_state *state) in unwind_done() 42 static inline bool unwind_error(struct unwind_state *state) in unwind_error() 49 static inline unsigned long unwind_graph_addr(struct unwind_state *state, in unwind_graph_addr() 56 static __always_inline void __unwind_start(struct unwind_state *state, in __unwind_start() 78 static __always_inline unsigned long __unwind_get_return_address(struct unwind_state *stat [all...] |
/kernel/linux/linux-6.6/arch/x86/include/asm/ |
H A D | unwind.h | 14 struct unwind_state { struct 42 void __unwind_start(struct unwind_state *state, struct task_struct *task, 44 bool unwind_next_frame(struct unwind_state *state); 45 unsigned long unwind_get_return_address(struct unwind_state *state); 46 unsigned long *unwind_get_return_address_ptr(struct unwind_state *state); 48 static inline bool unwind_done(struct unwind_state *state) in unwind_done() 53 static inline bool unwind_error(struct unwind_state *state) in unwind_error() 59 void unwind_start(struct unwind_state *state, struct task_struct *task, in unwind_start() 71 static inline struct pt_regs *unwind_get_entry_regs(struct unwind_state *state, in unwind_get_entry_regs() 88 static inline struct pt_regs *unwind_get_entry_regs(struct unwind_state *stat [all...] |
/kernel/linux/linux-5.10/arch/s390/include/asm/ |
H A D | unwind.h | 32 struct unwind_state { struct 43 void __unwind_start(struct unwind_state *state, struct task_struct *task, 45 bool unwind_next_frame(struct unwind_state *state); 46 unsigned long unwind_get_return_address(struct unwind_state *state); 48 static inline bool unwind_done(struct unwind_state *state) in unwind_done() 53 static inline bool unwind_error(struct unwind_state *state) in unwind_error() 58 static inline void unwind_start(struct unwind_state *state, in unwind_start() 68 static inline struct pt_regs *unwind_get_entry_regs(struct unwind_state *state) in unwind_get_entry_regs()
|
/kernel/linux/linux-6.6/arch/s390/include/asm/ |
H A D | unwind.h | 34 struct unwind_state { struct 47 static inline unsigned long unwind_recover_ret_addr(struct unwind_state *state, in unwind_recover_ret_addr() 58 void __unwind_start(struct unwind_state *state, struct task_struct *task, 60 bool unwind_next_frame(struct unwind_state *state); 61 unsigned long unwind_get_return_address(struct unwind_state *state); 63 static inline bool unwind_done(struct unwind_state *state) in unwind_done() 68 static inline bool unwind_error(struct unwind_state *state) in unwind_error() 73 static __always_inline void unwind_start(struct unwind_state *state, in unwind_start() 83 static inline struct pt_regs *unwind_get_entry_regs(struct unwind_state *state) in unwind_get_entry_regs()
|
/kernel/linux/linux-5.10/arch/loongarch/include/asm/ |
H A D | unwind.h | 17 struct unwind_state { struct 34 void unwind_start(struct unwind_state *state, struct task_struct *task, 36 bool unwind_next_frame(struct unwind_state *state); 37 unsigned long unwind_get_return_address(struct unwind_state *state); 39 static inline bool unwind_done(struct unwind_state *state) in unwind_done() 44 static inline bool unwind_error(struct unwind_state *state) in unwind_error() 59 static inline unsigned long unwind_graph_addr(struct unwind_state *state, in unwind_graph_addr()
|
/kernel/linux/linux-5.10/arch/x86/kernel/ |
H A D | unwind_frame.c | 14 unsigned long unwind_get_return_address(struct unwind_state *state) in unwind_get_return_address() 23 unsigned long *unwind_get_return_address_ptr(struct unwind_state *state) in unwind_get_return_address_ptr() 31 static void unwind_dump(struct unwind_state *state) in unwind_dump() 80 static inline unsigned long *last_frame(struct unwind_state *state) in last_frame() 85 static bool is_last_frame(struct unwind_state *state) in is_last_frame() 96 static inline unsigned long *last_aligned_frame(struct unwind_state *state) in last_aligned_frame() 101 static bool is_last_aligned_frame(struct unwind_state *state) in is_last_aligned_frame() 132 static bool is_last_ftrace_frame(struct unwind_state *state) in is_last_ftrace_frame() 154 static bool is_last_task_frame(struct unwind_state *state) in is_last_task_frame() 186 static bool update_stack_state(struct unwind_state *stat [all...] |
H A D | unwind_guess.c | 9 unsigned long unwind_get_return_address(struct unwind_state *state) in unwind_get_return_address() 23 unsigned long *unwind_get_return_address_ptr(struct unwind_state *state) in unwind_get_return_address_ptr() 28 bool unwind_next_frame(struct unwind_state *state) in unwind_next_frame() 52 void __unwind_start(struct unwind_state *state, struct task_struct *task, in __unwind_start()
|
H A D | unwind_orc.c | 318 unsigned long unwind_get_return_address(struct unwind_state *state) in unwind_get_return_address() 327 unsigned long *unwind_get_return_address_ptr(struct unwind_state *state) in unwind_get_return_address_ptr() 341 static bool stack_access_ok(struct unwind_state *state, unsigned long _addr, in stack_access_ok() 354 static bool deref_stack_reg(struct unwind_state *state, unsigned long addr, in deref_stack_reg() 364 static bool deref_stack_regs(struct unwind_state *state, unsigned long addr, in deref_stack_regs() 380 static bool deref_stack_iret_regs(struct unwind_state *state, unsigned long addr, in deref_stack_iret_regs() 401 static bool get_reg(struct unwind_state *state, unsigned int reg_off, in get_reg() 422 bool unwind_next_frame(struct unwind_state *state) in unwind_next_frame() 626 void __unwind_start(struct unwind_state *state, struct task_struct *task, in __unwind_start()
|
/kernel/linux/linux-6.6/arch/x86/kernel/ |
H A D | unwind_frame.c | 14 unsigned long unwind_get_return_address(struct unwind_state *state) in unwind_get_return_address() 23 unsigned long *unwind_get_return_address_ptr(struct unwind_state *state) in unwind_get_return_address_ptr() 31 static void unwind_dump(struct unwind_state *state) in unwind_dump() 80 static inline unsigned long *last_frame(struct unwind_state *state) in last_frame() 85 static bool is_last_frame(struct unwind_state *state) in is_last_frame() 96 static inline unsigned long *last_aligned_frame(struct unwind_state *state) in last_aligned_frame() 101 static bool is_last_aligned_frame(struct unwind_state *state) in is_last_aligned_frame() 132 static bool is_last_ftrace_frame(struct unwind_state *state) in is_last_ftrace_frame() 154 static bool is_last_task_frame(struct unwind_state *state) in is_last_task_frame() 196 static bool update_stack_state(struct unwind_state *stat [all...] |
H A D | unwind_guess.c | 9 unsigned long unwind_get_return_address(struct unwind_state *state) in unwind_get_return_address() 22 unsigned long *unwind_get_return_address_ptr(struct unwind_state *state) in unwind_get_return_address_ptr() 27 bool unwind_next_frame(struct unwind_state *state) in unwind_next_frame() 51 void __unwind_start(struct unwind_state *state, struct task_struct *task, in __unwind_start()
|
H A D | unwind_orc.c | 46 static void unwind_dump(struct unwind_state *state) in unwind_dump() 364 unsigned long unwind_get_return_address(struct unwind_state *state) in unwind_get_return_address() 373 unsigned long *unwind_get_return_address_ptr(struct unwind_state *state) in unwind_get_return_address_ptr() 387 static bool stack_access_ok(struct unwind_state *state, unsigned long _addr, in stack_access_ok() 400 static bool deref_stack_reg(struct unwind_state *state, unsigned long addr, in deref_stack_reg() 410 static bool deref_stack_regs(struct unwind_state *state, unsigned long addr, in deref_stack_regs() 426 static bool deref_stack_iret_regs(struct unwind_state *state, unsigned long addr, in deref_stack_iret_regs() 447 static bool get_reg(struct unwind_state *state, unsigned int reg_off, in get_reg() 468 bool unwind_next_frame(struct unwind_state *state) in unwind_next_frame() 685 void __unwind_start(struct unwind_state *stat [all...] |
/kernel/linux/linux-6.6/arch/arm64/include/asm/stacktrace/ |
H A D | common.h | 21 * struct unwind_state - state used for robust unwinding. 36 struct unwind_state { struct 69 static inline void unwind_init_common(struct unwind_state *state, in unwind_init_common() 80 static struct stack_info *unwind_find_next_stack(const struct unwind_state *state, in unwind_find_next_stack() 105 static inline int unwind_consume_stack(struct unwind_state *state, in unwind_consume_stack() 155 unwind_next_frame_record(struct unwind_state *state) in unwind_next_frame_record()
|
/kernel/linux/linux-6.6/arch/arm64/kernel/ |
H A D | stacktrace.c | 29 unwind_init_from_regs(struct unwind_state *state, in unwind_init_from_regs() 47 unwind_init_from_caller(struct unwind_state *state) in unwind_init_from_caller() 66 unwind_init_from_task(struct unwind_state *state, in unwind_init_from_task() 76 unwind_recover_return_address(struct unwind_state *state) in unwind_recover_return_address() 109 unwind_next(struct unwind_state *state) in unwind_next() 129 unwind(struct unwind_state *state, stack_trace_consume_fn consume_entry, in unwind() 193 struct unwind_state state = { in arch_stack_walk()
|
/kernel/linux/linux-5.10/arch/s390/kernel/ |
H A D | unwind_bc.c | 12 unsigned long unwind_get_return_address(struct unwind_state *state) in unwind_get_return_address() 20 static bool outside_of_stack(struct unwind_state *state, unsigned long sp) in outside_of_stack() 26 static bool update_stack_info(struct unwind_state *state, unsigned long sp) in update_stack_info() 39 static inline bool is_final_pt_regs(struct unwind_state *state, in is_final_pt_regs() 52 bool unwind_next_frame(struct unwind_state *state) in unwind_next_frame() 123 void __unwind_start(struct unwind_state *state, struct task_struct *task, in __unwind_start()
|
H A D | stacktrace.c | 17 struct unwind_state state; in arch_stack_walk() 36 struct unwind_state state; in arch_stack_walk_reliable()
|
/kernel/linux/linux-6.6/arch/s390/kernel/ |
H A D | unwind_bc.c | 12 unsigned long unwind_get_return_address(struct unwind_state *state) in unwind_get_return_address() 20 static bool outside_of_stack(struct unwind_state *state, unsigned long sp) in outside_of_stack() 26 static bool update_stack_info(struct unwind_state *state, unsigned long sp) in update_stack_info() 39 static inline bool is_final_pt_regs(struct unwind_state *state, in is_final_pt_regs() 52 bool unwind_next_frame(struct unwind_state *state) in unwind_next_frame() 121 void __unwind_start(struct unwind_state *state, struct task_struct *task, in __unwind_start()
|
H A D | stacktrace.c | 16 struct unwind_state state; in arch_stack_walk() 29 struct unwind_state state; in arch_stack_walk_reliable()
|
/kernel/linux/linux-6.6/arch/loongarch/kernel/ |
H A D | unwind_guess.c | 7 unsigned long unwind_get_return_address(struct unwind_state *state) in unwind_get_return_address() 13 void unwind_start(struct unwind_state *state, struct task_struct *task, in unwind_start() 22 bool unwind_next_frame(struct unwind_state *state) in unwind_next_frame()
|
H A D | unwind_prologue.c | 93 static inline bool unwind_state_fixup(struct unwind_state *state) in unwind_state_fixup() 110 static bool unwind_by_prologue(struct unwind_state *state) in unwind_by_prologue() 194 static bool next_frame(struct unwind_state *state) in next_frame() 234 unsigned long unwind_get_return_address(struct unwind_state *state) in unwind_get_return_address() 240 void unwind_start(struct unwind_state *state, struct task_struct *task, in unwind_start() 260 bool unwind_next_frame(struct unwind_state *state) in unwind_next_frame()
|
/kernel/linux/linux-5.10/arch/loongarch/kernel/ |
H A D | unwind_prologue.c | 12 unsigned long unwind_get_return_address(struct unwind_state *state) in unwind_get_return_address() 43 static inline void unwind_state_fixup(struct unwind_state *state) in unwind_state_fixup() 53 static bool unwind_by_prologue(struct unwind_state *state) in unwind_by_prologue() 142 static bool unwind_by_guess(struct unwind_state *state) in unwind_by_guess() 160 bool unwind_next_frame(struct unwind_state *state) in unwind_next_frame() 208 void unwind_start(struct unwind_state *state, struct task_struct *task, in unwind_start()
|
H A D | unwind_guess.c | 10 unsigned long unwind_get_return_address(struct unwind_state *state) in unwind_get_return_address() 19 bool unwind_next_frame(struct unwind_state *state) in unwind_next_frame() 48 void unwind_start(struct unwind_state *state, struct task_struct *task, in unwind_start()
|
/kernel/linux/linux-6.6/arch/arm64/kvm/hyp/nvhe/ |
H A D | stacktrace.c | 65 static int unwind_next(struct unwind_state *state) in unwind_next() 70 static void notrace unwind(struct unwind_state *state, in unwind() 127 struct unwind_state state = { in pkvm_save_backtrace()
|
/kernel/linux/linux-6.6/arch/arm64/kvm/ |
H A D | stacktrace.c | 114 static int unwind_next(struct unwind_state *state) in unwind_next() 126 static void unwind(struct unwind_state *state, in unwind() 185 struct unwind_state state = { in hyp_dump_backtrace()
|
/kernel/linux/linux-5.10/tools/testing/selftests/x86/ |
H A D | unwind_vdso.c | 63 struct unwind_state { struct 70 struct unwind_state *state = opaque; in trace_fn() 110 struct unwind_state state; in sigtrap()
|