Lines Matching defs:task
51 #include <kern/task.h>
269 /* task to string structure */
272 task_t task; /* from procs task */
1115 int tts_count; /* number of task-to-string structures */
1133 kd_mapcount += get_task_numacts((task_t)p->task);
1165 * and take a reference for each task associated
1178 if (p->task) {
1179 task_reference(p->task);
1180 tts_mapptr[i].task = p->task;
1203 task_act_iterate_wth_args(tts_mapptr[i].task, kdbg_resolve_map, &akrt);
1204 task_deallocate((task_t) tts_mapptr[i].task);
2533 void kdbg_get_task_name(char* name_buf, int len, task_t task)
2537 /* Note: we can't use thread->task (and functions that rely on it) here
2539 * We use the explicitly-passed task parameter instead.
2541 proc = get_bsdtask_info(task);
2545 snprintf(name_buf, len, "%p [!bsd]", task);