Lines Matching refs:pc
22 unsigned long fp, sp, pc; in walk_stackframe() local
28 pc = instruction_pointer(regs); in walk_stackframe()
32 pc = (unsigned long)walk_stackframe; in walk_stackframe()
37 pc = task->thread.ra; in walk_stackframe()
44 if (unlikely(!__kernel_text_address(pc) || (level++ >= 1 && !fn(arg, pc)))) in walk_stackframe()
55 if (regs && (regs->epc == pc) && (frame->fp & 0x7)) { in walk_stackframe()
57 pc = regs->ra; in walk_stackframe()
60 pc = ftrace_graph_ret_addr(current, NULL, frame->ra, in walk_stackframe()
72 unsigned long sp, pc; in walk_stackframe() local
77 pc = instruction_pointer(regs); in walk_stackframe()
80 pc = (unsigned long)walk_stackframe; in walk_stackframe()
84 pc = task->thread.ra; in walk_stackframe()
92 if (__kernel_text_address(pc) && unlikely(!fn(arg, pc))) in walk_stackframe()
94 pc = (*ksp++) - 0x4; in walk_stackframe()
100 static bool print_trace_address(void *arg, unsigned long pc) in print_trace_address() argument
104 print_ip_sym(loglvl, pc); in print_trace_address()
120 static bool save_wchan(void *arg, unsigned long pc) in save_wchan() argument
122 if (!in_sched_functions(pc)) { in save_wchan()
124 *p = pc; in save_wchan()
132 unsigned long pc = 0; in __get_wchan() local
136 walk_stackframe(task, NULL, save_wchan, &pc); in __get_wchan()
138 return pc; in __get_wchan()