Home
last modified time | relevance | path

Searched refs:unwind_state (Results 1 – 25 of 30) sorted by relevance

12

/Linux-v6.6/arch/x86/include/asm/
Dunwind.h14 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-v6.6/arch/loongarch/include/asm/
Dunwind.h21 struct unwind_state { struct
30 bool default_next_frame(struct unwind_state *state); argument
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 *state) in __unwind_get_return_address()
/Linux-v6.6/arch/s390/include/asm/
Dunwind.h34 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-v6.6/arch/x86/kernel/
Dunwind_frame.c14 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 …]
Dunwind_guess.c9 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()
Dunwind_orc.c46 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()
Dstacktrace.c18 struct unwind_state state; in arch_stack_walk()
35 struct unwind_state state; in arch_stack_walk_reliable()
Ddumpstack.c189 struct unwind_state state; in show_trace_log_lvl()
/Linux-v6.6/arch/arm64/kernel/
Dstacktrace.c29 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()
/Linux-v6.6/arch/arm64/include/asm/stacktrace/
Dcommon.h36 struct unwind_state { struct
69 static inline void unwind_init_common(struct unwind_state *state, in unwind_init_common() argument
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()
Dnvhe.h30 static inline void kvm_nvhe_unwind_init(struct unwind_state *state, in kvm_nvhe_unwind_init()
/Linux-v6.6/arch/s390/kernel/
Dunwind_bc.c12 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()
Dstacktrace.c16 struct unwind_state state; in arch_stack_walk()
29 struct unwind_state state; in arch_stack_walk_reliable()
Dperf_event.c205 struct unwind_state state; in perf_callchain_kernel()
Dprocess.c195 struct unwind_state state; in __get_wchan()
Ddumpstack.c132 struct unwind_state state; in show_stack()
/Linux-v6.6/arch/loongarch/kernel/
Dunwind_guess.c7 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()
Dunwind_prologue.c93 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()
Dunwind.c10 bool default_next_frame(struct unwind_state *state) in default_next_frame()
Dstacktrace.c19 struct unwind_state state; in arch_stack_walk()
Dprocess.c211 struct unwind_state state; in __get_wchan()
/Linux-v6.6/arch/arm64/kvm/hyp/nvhe/
Dstacktrace.c65 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-v6.6/tools/testing/selftests/x86/
Dunwind_vdso.c63 struct unwind_state { struct
70 struct unwind_state *state = opaque; in trace_fn() argument
110 struct unwind_state state; in sigtrap()
/Linux-v6.6/arch/arm64/kvm/
Dstacktrace.c114 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-v6.6/arch/arc/kernel/
Dunwind.c139 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()

12