Lines Matching refs:pc
24 unsigned long fp, sp, pc;
30 pc = instruction_pointer(regs);
34 pc = (unsigned long)walk_stackframe;
40 pc = task->thread.ra;
47 if (unlikely(!__kernel_text_address(pc) || (level++ >= 0 && !fn(arg, pc))))
58 if (regs && (regs->epc == pc) && (frame->fp & 0x7)) {
60 pc = regs->ra;
63 pc = ftrace_graph_ret_addr(current, NULL, frame->ra,
65 if (pc == (unsigned long)ret_from_exception) {
66 if (unlikely(!__kernel_text_address(pc) || !fn(arg, pc)))
69 pc = ((struct pt_regs *)sp)->epc;
82 unsigned long sp, pc;
87 pc = instruction_pointer(regs);
90 pc = (unsigned long)walk_stackframe;
94 pc = task->thread.ra;
102 if (__kernel_text_address(pc) && unlikely(!fn(arg, pc)))
104 pc = READ_ONCE_NOCHECK(*ksp++) - 0x4;
110 static bool print_trace_address(void *arg, unsigned long pc)
114 print_ip_sym(loglvl, pc);
130 static bool save_wchan(void *arg, unsigned long pc)
132 if (!in_sched_functions(pc)) {
134 *p = pc;
142 unsigned long pc = 0;
146 walk_stackframe(task, NULL, save_wchan, &pc);
148 return pc;