Lines Matching defs:state
20 * struct unwind_state - state used for robust unwinding.
58 static inline void unwind_init_common(struct unwind_state *state)
60 state->stack = stackinfo_get_unknown();
63 static struct stack_info *unwind_find_next_stack(const struct unwind_state *state,
67 for (int i = 0; i < state->nr_stacks; i++) {
68 struct stack_info *info = &state->stacks[i];
82 * @state: the current unwind state.
88 static inline int unwind_consume_stack(struct unwind_state *state,
94 if (stackinfo_on_stack(&state->stack, sp, size))
97 next = unwind_find_next_stack(state, sp, size);
118 state->stack = *next;
126 state->stack.low = sp + size;
133 * @state: the current unwind state.
138 unwind_next_frame_record(struct unwind_state *state)
140 unsigned long fp = state->fp;
146 err = unwind_consume_stack(state, fp, 16);
153 state->fp = READ_ONCE(*(unsigned long *)(fp));
154 state->pc = READ_ONCE(*(unsigned long *)(fp + 8));