Lines Matching refs:depth
135 int ndx, int l, int r, int depth) in cyclic_dump_node() argument
150 (void) mdb_snprintf(&c[depth][x - 1], n, " %d", me); in cyclic_dump_node()
152 (void) mdb_snprintf(&c[depth][x - 1], n, "%3d", me); in cyclic_dump_node()
154 (void) mdb_snprintf(&c[depth][x - 1], n, "%s%2d%s", in cyclic_dump_node()
160 c[++depth][x] = '|'; in cyclic_dump_node()
161 depth++; in cyclic_dump_node()
164 c[depth][i] = '-'; in cyclic_dump_node()
165 c[depth][l + (r - l) / 4] = '+'; in cyclic_dump_node()
166 c[depth][r - (r - l) / 4 - 1] = '+'; in cyclic_dump_node()
167 c[depth][x] = '+'; in cyclic_dump_node()
173 (void) mdb_snprintf(&c[++depth][x - 1], n, "L%d", in cyclic_dump_node()
179 (void) mdb_snprintf(&c[++depth][x - 1], n, "R%d", in cyclic_dump_node()
185 cyclic_dump_node(cpu, heap, c, w, heap_left, l, x, depth + 1); in cyclic_dump_node()
188 cyclic_dump_node(cpu, heap, c, w, heap_right, x, r, depth + 1); in cyclic_dump_node()
199 int depth; in cyclic_pretty_dump() local
210 for (depth = 0; (1 << depth) < cpu->cyp_nelems; depth++) in cyclic_pretty_dump()
212 depth++; in cyclic_pretty_dump()
213 depth = (depth + 1) * LINES_PER_LEVEL; in cyclic_pretty_dump()
215 c = mdb_zalloc(sizeof (char *) * depth, UM_SLEEP|UM_GC); in cyclic_pretty_dump()
217 for (i = 0; i < depth; i++) in cyclic_pretty_dump()
222 for (i = 0; i < depth; i++) { in cyclic_pretty_dump()