Lines Matching refs:state
57 /* Unwind state. */
74 unwind_state_t* state, backtrace_frame_t* backtrace,
80 uintptr_t pc = index ? rewind_pc_arch(memory, state->pc) : state->pc;
91 frame->stack_top = state->sp;
95 for (addr = state->pc; maxcheck-- > 0 && !found_start; addr -= 4) {
128 if (!try_get_word(memory, state->sp + ra_offset, &next_ra))
130 state->ra = next_ra;
131 ALOGV("New ra: 0x%08x\n", state->ra);
137 state->sp += stack_size;
138 ALOGV("New sp: 0x%08x\n", state->sp);
141 if (state->pc == state->ra && stack_size == 0)
144 if (state->ra == 0)
147 state->pc = state->ra;
160 unwind_state_t state;
161 state.sp = uc->sp;
162 state.pc = uc->pc;
163 state.ra = uc->ra;
166 ignore_depth, max_depth, state.pc, state.sp, state.ra);
171 &state, backtrace, ignore_depth, max_depth);
182 unwind_state_t state;
183 state.sp = regs.regs[29];
184 state.ra = regs.regs[31];
185 state.pc = regs.epc;
188 ignore_depth, max_depth, state.pc, state.sp, state.ra);
193 &state, backtrace, ignore_depth, max_depth);