/linux/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, argument 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 *state, in unwind_get_entry_regs() [all …]
|
/linux/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() argument 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()
|
/linux/arch/loongarch/include/asm/ |
H A D | unwind.h | 22 struct unwind_state { struct 31 bool default_next_frame(struct unwind_state *state); argument 33 void unwind_start(struct unwind_state *state, 35 bool unwind_next_frame(struct unwind_state *state); 36 unsigned long unwind_get_return_address(struct unwind_state *state); 38 static inline bool unwind_done(struct unwind_state *state) in unwind_done() 43 static inline bool unwind_error(struct unwind_state *state) in unwind_error() 50 static inline unsigned long unwind_graph_addr(struct unwind_state *state, in unwind_graph_addr() 57 static __always_inline void __unwind_start(struct unwind_state *state, in __unwind_start() 82 static __always_inline unsigned long __unwind_get_return_address(struct unwind_state *state) in __unwind_get_return_address()
|
/linux/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 *state, in update_stack_state() [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 *state, struct task_struct *task, in __unwind_start()
|
H A D | stacktrace.c | 18 struct unwind_state state; in arch_stack_walk() 35 struct unwind_state state; in arch_stack_walk_reliable()
|
H A D | dumpstack.c | 189 struct unwind_state state; in show_trace_log_lvl()
|
/linux/arch/arm64/include/asm/stacktrace/ |
H A D | common.h | 29 struct unwind_state { struct 58 static inline void unwind_init_common(struct unwind_state *state) in unwind_init_common() argument 63 static struct stack_info *unwind_find_next_stack(const struct unwind_state *state, in unwind_find_next_stack() 88 static inline int unwind_consume_stack(struct unwind_state *state, in unwind_consume_stack() 138 unwind_next_frame_record(struct unwind_state *state) in unwind_next_frame_record()
|
H A D | nvhe.h | 30 static inline void kvm_nvhe_unwind_init(struct unwind_state *state, in kvm_nvhe_unwind_init()
|
/linux/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() 54 bool unwind_next_frame(struct unwind_state *state) in unwind_next_frame() 125 void __unwind_start(struct unwind_state *state, struct task_struct *task, in __unwind_start()
|
H A D | stacktrace.c | 20 struct unwind_state state; in arch_stack_walk() 33 struct unwind_state state; in arch_stack_walk_reliable()
|
H A D | process.c | 209 struct unwind_state state; in __get_wchan()
|
H A D | dumpstack.c | 132 struct unwind_state state; in show_stack()
|
/linux/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()
|
H A D | stacktrace.c | 19 struct unwind_state state; in arch_stack_walk() 49 struct unwind_state state; in arch_stack_walk_reliable()
|
H A D | unwind_orc.c | 324 static bool stack_access_ok(struct unwind_state *state, unsigned long addr, size_t len) in stack_access_ok() 334 unsigned long unwind_get_return_address(struct unwind_state *state) in unwind_get_return_address() 340 void unwind_start(struct unwind_state *state, struct task_struct *task, in unwind_start() 391 bool unwind_next_frame(struct unwind_state *state) in unwind_next_frame()
|
H A D | unwind.c | 10 bool default_next_frame(struct unwind_state *state) in default_next_frame()
|
H A D | process.c | 212 struct unwind_state state; in __get_wchan()
|
/linux/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()
|
/linux/tools/testing/selftests/x86/ |
H A D | unwind_vdso.c | 63 struct unwind_state { struct 70 struct unwind_state *state = opaque; in trace_fn() argument 110 struct unwind_state state; in sigtrap()
|
/linux/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()
|
/linux/arch/arc/kernel/ |
H A D | unwind.c | 139 struct unwind_state { struct 662 static int advance_loc(unsigned long delta, struct unwind_state *state) in advance_loc() 674 struct unwind_state *state) in set_rule() 703 signed ptrType, struct unwind_state *state) in processCFI() 908 struct unwind_state state; in arc_unwind()
|
/linux/arch/arm64/kernel/ |
H A D | stacktrace.c | 34 struct unwind_state common;
|