Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/arch/x86/include/asm/
A 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()
107 unsigned long unwind_recover_rethook(struct unwind_state *state, in unwind_recover_rethook()
[all …]
/linux-6.3-rc2/arch/loongarch/include/asm/
A 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-6.3-rc2/arch/s390/include/asm/
A 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-6.3-rc2/arch/x86/kernel/
A 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 …]
A 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()
A Dunwind_orc.c337 unsigned long unwind_get_return_address(struct unwind_state *state) in unwind_get_return_address()
346 unsigned long *unwind_get_return_address_ptr(struct unwind_state *state) in unwind_get_return_address_ptr()
360 static bool stack_access_ok(struct unwind_state *state, unsigned long _addr, in stack_access_ok()
373 static bool deref_stack_reg(struct unwind_state *state, unsigned long addr, in deref_stack_reg()
383 static bool deref_stack_regs(struct unwind_state *state, unsigned long addr, in deref_stack_regs()
399 static bool deref_stack_iret_regs(struct unwind_state *state, unsigned long addr, in deref_stack_iret_regs()
420 static bool get_reg(struct unwind_state *state, unsigned int reg_off, in get_reg()
441 bool unwind_next_frame(struct unwind_state *state) in unwind_next_frame()
660 void __unwind_start(struct unwind_state *state, struct task_struct *task, in __unwind_start()
A Dstacktrace.c18 struct unwind_state state; in arch_stack_walk()
35 struct unwind_state state; in arch_stack_walk_reliable()
A Ddumpstack.c189 struct unwind_state state; in show_trace_log_lvl()
/linux-6.3-rc2/arch/arm64/include/asm/stacktrace/
A 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()
A Dnvhe.h30 static inline void kvm_nvhe_unwind_init(struct unwind_state *state, in kvm_nvhe_unwind_init()
/linux-6.3-rc2/arch/arm64/kernel/
A Dstacktrace.c28 static __always_inline void unwind_init_from_regs(struct unwind_state *state, in unwind_init_from_regs()
45 static __always_inline void unwind_init_from_caller(struct unwind_state *state) in unwind_init_from_caller()
63 static __always_inline void unwind_init_from_task(struct unwind_state *state, in unwind_init_from_task()
79 static int notrace unwind_next(struct unwind_state *state) in unwind_next()
121 static void notrace unwind(struct unwind_state *state, in unwind()
216 struct unwind_state state = { in arch_stack_walk()
/linux-6.3-rc2/arch/s390/kernel/
A 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()
A Dstacktrace.c16 struct unwind_state state; in arch_stack_walk()
29 struct unwind_state state; in arch_stack_walk_reliable()
A Dperf_event.c205 struct unwind_state state; in perf_callchain_kernel()
A Dprocess.c197 struct unwind_state state; in __get_wchan()
A Ddumpstack.c142 struct unwind_state state; in show_stack()
/linux-6.3-rc2/arch/loongarch/kernel/
A 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()
A 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()
232 unsigned long unwind_get_return_address(struct unwind_state *state) in unwind_get_return_address()
238 void unwind_start(struct unwind_state *state, struct task_struct *task, in unwind_start()
258 bool unwind_next_frame(struct unwind_state *state) in unwind_next_frame()
A Dunwind.c10 bool default_next_frame(struct unwind_state *state) in default_next_frame()
A Dstacktrace.c19 struct unwind_state state; in arch_stack_walk()
A Dprocess.c202 struct unwind_state state; in __get_wchan()
/linux-6.3-rc2/arch/arm64/kvm/hyp/nvhe/
A 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-6.3-rc2/tools/testing/selftests/x86/
A 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-6.3-rc2/arch/arm64/kvm/
A 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-6.3-rc2/arch/arc/kernel/
A Dunwind.c139 struct unwind_state { struct
660 static int advance_loc(unsigned long delta, struct unwind_state *state) in advance_loc()
672 struct unwind_state *state) in set_rule()
701 signed ptrType, struct unwind_state *state) in processCFI()
906 struct unwind_state state; in arc_unwind()

Completed in 33 milliseconds

12