Lines Matching refs:depth
49 int depth = 0; in dtrace_getpcstack() local
62 if (intrpc != NULL && depth < pcstack_limit) in dtrace_getpcstack()
63 pcstack[depth++] = (pc_t)intrpc; in dtrace_getpcstack()
65 while (depth < pcstack_limit) { in dtrace_getpcstack()
94 ASSERT(depth < pcstack_limit); in dtrace_getpcstack()
95 pcstack[depth++] = (pc_t)caller; in dtrace_getpcstack()
99 if (depth < pcstack_limit) in dtrace_getpcstack()
100 pcstack[depth++] = (pc_t)pc; in dtrace_getpcstack()
104 while (depth < pcstack_limit) in dtrace_getpcstack()
105 pcstack[depth++] = 0; in dtrace_getpcstack()
495 int depth = 0; in dtrace_getstackdepth() local
507 depth++; in dtrace_getstackdepth()
528 if (depth <= aframes) in dtrace_getstackdepth()
531 return (depth - aframes); in dtrace_getstackdepth()