Lines Matching refs:pc
19 unsigned long fp, sp, pc; in walk_stackframe() local
24 pc = instruction_pointer(regs); in walk_stackframe()
29 pc = (unsigned long)walk_stackframe; in walk_stackframe()
34 pc = thread_saved_lr(task); in walk_stackframe()
41 if (unlikely(!__kernel_text_address(pc) || fn(pc, arg))) in walk_stackframe()
53 pc = ftrace_graph_ret_addr(current, NULL, frame->ra, in walk_stackframe()
63 unsigned long sp, pc; in walk_stackframe() local
68 pc = instruction_pointer(regs); in walk_stackframe()
71 pc = (unsigned long)walk_stackframe; in walk_stackframe()
75 pc = thread_saved_lr(task); in walk_stackframe()
83 if (__kernel_text_address(pc) && unlikely(fn(pc, arg))) in walk_stackframe()
85 pc = (*ksp++) - 0x4; in walk_stackframe()
90 static bool print_trace_address(unsigned long pc, void *arg) in print_trace_address() argument
92 print_ip_sym((const char *)arg, pc); in print_trace_address()
102 static bool save_wchan(unsigned long pc, void *arg) in save_wchan() argument
104 if (!in_sched_functions(pc)) { in save_wchan()
106 *p = pc; in save_wchan()
114 unsigned long pc = 0; in __get_wchan() local
116 walk_stackframe(task, NULL, save_wchan, &pc); in __get_wchan()
117 return pc; in __get_wchan()
121 static bool __save_trace(unsigned long pc, void *arg, bool nosched) in __save_trace() argument
125 if (unlikely(nosched && in_sched_functions(pc))) in __save_trace()
132 trace->entries[trace->nr_entries++] = pc; in __save_trace()
136 static bool save_trace(unsigned long pc, void *arg) in save_trace() argument
138 return __save_trace(pc, arg, false); in save_trace()