Lines Matching defs:depth
26 int depth;
66 // The current stack of ancestor jobs, indexed by depth.
67 // process_callback may touch any entry whose depth is less that its own.
72 static zx_status_t job_callback(void* ctx, int depth, zx_handle_t job,
74 task_entry_t e = {.type = 'j', .depth = depth};
86 assert(depth < JOB_STACK_SIZE);
87 job_stack[depth] = add_entry(&tasks, &e);
92 static zx_status_t process_callback(void* ctx, int depth,
95 task_entry_t e = {.type = 'p', .depth = depth};
115 assert(depth > 0);
116 assert(depth < JOB_STACK_SIZE);
117 for (int i = 0; i < depth; i++) {
161 static zx_status_t thread_callback(void* ctx, int depth,
169 task_entry_t e = {.type = 't', .depth = depth};
213 int w = 2 * e->depth + 2 + strlen(e->koid_str);
227 "%*s%c:%s", e->depth * 2, "", e->type, e->koid_str);