Lines Matching +full:depth +full:-
1 // SPDX-License-Identifier: GPL-2.0-only
7 * Author: Dave Peverley <dpeverley@mpc-data.co.uk>
24 unsigned int *depth = data; in backtrace_address() local
26 if ((*depth)--) in backtrace_address()
60 void sh_backtrace(struct pt_regs * const regs, unsigned int depth) in sh_backtrace() argument
65 * Paranoia - clip max depth as we could get lost in the weeds. in sh_backtrace()
67 if (depth > backtrace_limit) in sh_backtrace()
68 depth = backtrace_limit; in sh_backtrace()
72 if (depth) in sh_backtrace()
74 &backtrace_ops, &depth); in sh_backtrace()
78 while (depth-- && (stackaddr != NULL)) in sh_backtrace()