Lines Matching refs:depth
48 int depth = 0; in dtrace_getpcstack() local
61 if (intrpc != NULL && depth < pcstack_limit) in dtrace_getpcstack()
62 pcstack[depth++] = (pc_t)intrpc; in dtrace_getpcstack()
64 while (depth < pcstack_limit) { in dtrace_getpcstack()
93 ASSERT(depth < pcstack_limit); in dtrace_getpcstack()
94 pcstack[depth++] = (pc_t)caller; in dtrace_getpcstack()
98 if (depth < pcstack_limit) in dtrace_getpcstack()
99 pcstack[depth++] = (pc_t)pc; in dtrace_getpcstack()
103 while (depth < pcstack_limit) in dtrace_getpcstack()
104 pcstack[depth++] = NULL; in dtrace_getpcstack()
510 int depth = 0; in dtrace_getstackdepth() local
522 depth++; in dtrace_getstackdepth()
543 if (depth <= aframes) in dtrace_getstackdepth()
546 return (depth - aframes); in dtrace_getstackdepth()