Lines Matching refs:state
44 void __unwind_start(struct unwind_state *state, struct task_struct *task,
46 bool unwind_next_frame(struct unwind_state *state);
47 unsigned long unwind_get_return_address(struct unwind_state *state);
49 static inline bool unwind_done(struct unwind_state *state) in unwind_done() argument
51 return state->stack_info.type == STACK_TYPE_UNKNOWN; in unwind_done()
54 static inline bool unwind_error(struct unwind_state *state) in unwind_error() argument
56 return state->error; in unwind_error()
59 static inline void unwind_start(struct unwind_state *state, in unwind_start() argument
65 __unwind_start(state, task, regs, sp); in unwind_start()
68 static inline struct pt_regs *unwind_get_entry_regs(struct unwind_state *state) in unwind_get_entry_regs() argument
70 return unwind_done(state) ? NULL : state->regs; in unwind_get_entry_regs()
73 #define unwind_for_each_frame(state, task, regs, first_frame) \ argument
74 for (unwind_start(state, task, regs, first_frame); \
75 !unwind_done(state); \
76 unwind_next_frame(state))