Lines Matching refs:pc

19 	unsigned long fp, sp, pc;  in walk_stackframe()  local
24 pc = instruction_pointer(regs); in walk_stackframe()
30 pc = (unsigned long)walk_stackframe; in walk_stackframe()
35 pc = thread_saved_lr(task); in walk_stackframe()
42 if (unlikely(!__kernel_text_address(pc) || fn(pc, arg))) in walk_stackframe()
54 pc = ftrace_graph_ret_addr(current, NULL, frame->ra, in walk_stackframe()
64 unsigned long sp, pc; in walk_stackframe() local
69 pc = instruction_pointer(regs); in walk_stackframe()
73 pc = (unsigned long)walk_stackframe; in walk_stackframe()
77 pc = thread_saved_lr(task); in walk_stackframe()
85 if (__kernel_text_address(pc) && unlikely(fn(pc, arg))) in walk_stackframe()
87 pc = (*ksp++) - 0x4; in walk_stackframe()
92 static bool print_trace_address(unsigned long pc, void *arg) in print_trace_address() argument
94 print_ip_sym((const char *)arg, pc); in print_trace_address()
104 static bool save_wchan(unsigned long pc, void *arg) in save_wchan() argument
106 if (!in_sched_functions(pc)) { in save_wchan()
108 *p = pc; in save_wchan()
116 unsigned long pc = 0; in __get_wchan() local
118 walk_stackframe(task, NULL, save_wchan, &pc); in __get_wchan()
119 return pc; in __get_wchan()
123 static bool __save_trace(unsigned long pc, void *arg, bool nosched) in __save_trace() argument
127 if (unlikely(nosched && in_sched_functions(pc))) in __save_trace()
134 trace->entries[trace->nr_entries++] = pc; in __save_trace()
138 static bool save_trace(unsigned long pc, void *arg) in save_trace() argument
140 return __save_trace(pc, arg, false); in save_trace()