Lines Matching refs:common

50 	struct unwind_state common;  member
65 unwind_init_common(&state->common); in kunwind_init()
86 state->common.fp = regs->regs[29]; in kunwind_init_from_regs()
87 state->common.pc = regs->pc; in kunwind_init_from_regs()
104 state->common.fp = (unsigned long)__builtin_frame_address(1); in kunwind_init_from_caller()
105 state->common.pc = (unsigned long)__builtin_return_address(0); in kunwind_init_from_caller()
125 state->common.fp = thread_saved_fp(task); in kunwind_init_from_task()
126 state->common.pc = thread_saved_pc(task); in kunwind_init_from_task()
135 (state->common.pc == (unsigned long)return_to_handler)) { in kunwind_recover_return_address()
138 state->common.pc, in kunwind_recover_return_address()
139 (void *)state->common.fp); in kunwind_recover_return_address()
140 if (state->common.pc == orig_pc) { in kunwind_recover_return_address()
144 state->common.pc = orig_pc; in kunwind_recover_return_address()
150 if (is_kretprobe_trampoline(state->common.pc)) { in kunwind_recover_return_address()
153 (void *)state->common.fp, in kunwind_recover_return_address()
157 state->common.pc = orig_pc; in kunwind_recover_return_address()
169 unsigned long fp = state->common.fp; in kunwind_next_regs_pc()
174 info = unwind_find_stack(&state->common, (unsigned long)regs, sizeof(*regs)); in kunwind_next_regs_pc()
178 unwind_consume_stack(&state->common, info, (unsigned long)regs, in kunwind_next_regs_pc()
182 state->common.pc = regs->pc; in kunwind_next_regs_pc()
183 state->common.fp = regs->regs[29]; in kunwind_next_regs_pc()
193 unsigned long fp = state->common.fp; in kunwind_next_frame_record_meta()
197 info = unwind_find_stack(&state->common, fp, sizeof(*meta)); in kunwind_next_frame_record_meta()
219 unsigned long fp = state->common.fp; in kunwind_next_frame_record()
227 info = unwind_find_stack(&state->common, fp, sizeof(*record)); in kunwind_next_frame_record()
238 unwind_consume_stack(&state->common, info, fp, sizeof(*record)); in kunwind_next_frame_record()
240 state->common.fp = new_fp; in kunwind_next_frame_record()
241 state->common.pc = new_pc; in kunwind_next_frame_record()
275 state->common.pc = ptrauth_strip_kernel_insn_pac(state->common.pc); in kunwind_next()
350 .common = { in kunwind_stack_walk()
378 return data->consume_entry(data->cookie, state->common.pc); in arch_kunwind_consume_entry()
433 return data->consume_entry(data->cookie, state->common.pc, 0, in arch_bpf_unwind_consume_entry()
434 state->common.fp); in arch_bpf_unwind_consume_entry()
467 (void *)state->common.pc, in dump_backtrace_entry()