Lines Matching refs:pc
65 static inline bool fix_exception(unsigned long pc)
73 if (scan_handlers(pc - pcpu_handlers[cpu]))
77 return scan_handlers(pc - eentry);
84 static inline bool fix_ftrace(unsigned long pc)
87 return pc == (unsigned long)ftrace_call + LOONGARCH_INSN_SIZE;
95 if (!fix_exception(state->pc) && !fix_ftrace(state->pc))
114 unsigned long size, offset, pc;
126 state->pc = regs->csr_era;
136 pc = state->pc - (state->first ? 0 : LOONGARCH_INSN_SIZE);
137 if (!kallsyms_lookup_size_offset(pc, &size, &offset))
140 ip = (union loongarch_instruction *)(pc - offset);
141 ip_end = (union loongarch_instruction *)pc;
182 state->pc = *(unsigned long *)(state->sp + frame_ra);
187 state->pc = state->ra;
191 return unwind_state_fixup(state) || __kernel_text_address(state->pc);
196 unsigned long pc;
205 state->pc = unwind_graph_addr(state, state->pc, state->sp);
211 pc = regs->csr_era;
213 if (user_mode(regs) || !__kernel_text_address(pc))
217 state->pc = pc;
252 if (!__kernel_text_address(state->pc)) {