• Home
  • Raw
  • Download

Lines Matching refs:pc

27 	unsigned long fp, sp, pc;  in walk_stackframe()  local
32 pc = instruction_pointer(regs); in walk_stackframe()
37 pc = (unsigned long)walk_stackframe; in walk_stackframe()
42 pc = task->thread.ra; in walk_stackframe()
49 if (unlikely(!__kernel_text_address(pc) || fn(pc, arg))) in walk_stackframe()
60 if (regs && (regs->epc == pc) && (frame->fp & 0x7)) { in walk_stackframe()
62 pc = regs->ra; in walk_stackframe()
65 pc = ftrace_graph_ret_addr(current, NULL, frame->ra, in walk_stackframe()
77 unsigned long sp, pc; in walk_stackframe() local
82 pc = instruction_pointer(regs); in walk_stackframe()
85 pc = (unsigned long)walk_stackframe; in walk_stackframe()
89 pc = task->thread.ra; in walk_stackframe()
97 if (__kernel_text_address(pc) && unlikely(fn(pc, arg))) in walk_stackframe()
99 pc = (*ksp++) - 0x4; in walk_stackframe()
106 static bool print_trace_address(unsigned long pc, void *arg) in print_trace_address() argument
110 print_ip_sym(loglvl, pc); in print_trace_address()
120 static bool save_wchan(unsigned long pc, void *arg) 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
135 walk_stackframe(task, NULL, save_wchan, &pc); in get_wchan()
136 return pc; in get_wchan()
142 static bool __save_trace(unsigned long pc, void *arg, bool nosched) in __save_trace() argument
146 if (unlikely(nosched && in_sched_functions(pc))) in __save_trace()
153 trace->entries[trace->nr_entries++] = pc; in __save_trace()
157 static bool save_trace(unsigned long pc, void *arg) in save_trace() argument
159 return __save_trace(pc, arg, false); in save_trace()