Lines Matching refs:depth
46 int depth = 0; in dtrace_getpcstack() local
59 if (intrpc != NULL && depth < pcstack_limit) in dtrace_getpcstack()
60 pcstack[depth++] = (pc_t)intrpc; in dtrace_getpcstack()
62 while (depth < pcstack_limit) { in dtrace_getpcstack()
91 ASSERT(depth < pcstack_limit); in dtrace_getpcstack()
92 pcstack[depth++] = (pc_t)caller; in dtrace_getpcstack()
96 if (depth < pcstack_limit) in dtrace_getpcstack()
97 pcstack[depth++] = (pc_t)pc; in dtrace_getpcstack()
101 while (depth < pcstack_limit) in dtrace_getpcstack()
102 pcstack[depth++] = NULL; in dtrace_getpcstack()
508 int depth = 0; in dtrace_getstackdepth() local
520 depth++; in dtrace_getstackdepth()
541 if (depth <= aframes) in dtrace_getstackdepth()
544 return (depth - aframes); in dtrace_getstackdepth()