Searched refs:stackaddr (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/arch/sh/oprofile/
H A Dbacktrace.c49 user_backtrace(unsigned long *stackaddr, struct pt_regs *regs) user_backtrace() argument
54 if (!access_ok(VERIFY_READ, stackaddr, sizeof(unsigned long))) user_backtrace()
57 if (__copy_from_user_inatomic(&buf_stack, stackaddr, sizeof(unsigned long))) user_backtrace()
66 stackaddr++; user_backtrace()
68 return stackaddr; user_backtrace()
73 unsigned long *stackaddr; sh_backtrace() local
81 stackaddr = (unsigned long *)kernel_stack_pointer(regs); sh_backtrace()
84 unwind_stack(NULL, regs, stackaddr, sh_backtrace()
89 while (depth-- && (stackaddr != NULL)) sh_backtrace()
90 stackaddr = user_backtrace(stackaddr, regs); sh_backtrace()

Completed in 61 milliseconds