Lines Matching refs:state
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() argument
46 return state->stack_info.type == STACK_TYPE_UNKNOWN; in unwind_done()
49 static inline bool unwind_error(struct unwind_state *state) in unwind_error() argument
51 return state->error; in unwind_error()
55 void unwind_start(struct unwind_state *state, struct task_struct *task, in unwind_start() argument
60 __unwind_start(state, task, regs, first_frame); in unwind_start()
67 static inline struct pt_regs *unwind_get_entry_regs(struct unwind_state *state, in unwind_get_entry_regs() argument
70 if (unwind_done(state)) in unwind_get_entry_regs()
75 *partial = !state->full_regs; in unwind_get_entry_regs()
81 return state->regs; in unwind_get_entry_regs()
84 static inline struct pt_regs *unwind_get_entry_regs(struct unwind_state *state, in unwind_get_entry_regs() argument