Lines Matching defs:task
58 #include <kern/task.h>
417 switch (fileport_walk(p->task,
453 switch (fileport_walk(p->task, proc_fileport_fdtype, &ffa)) {
566 if ((zombie == 0) && (p->p_stat != SZOMB) && (p->task != TASK_NULL))
567 proc_get_darwinbgstate(p->task, &pbsd->pbi_flags);
647 if ((zombie == 0) && (p->p_stat != SZOMB) && (p->task != TASK_NULL))
648 proc_get_darwinbgstate(p->task, &pbsd_shortp->pbsi_flags);
663 task_t task;
665 task = p->task;
668 fill_taskprocinfo(task, (struct proc_taskinfo_internal *)ptinfo);
683 error = fill_taskthreadinfo(p->task, threadaddr, thuniqueid, (struct proc_threadinfo_internal *)pthinfo, NULL, NULL);
728 error = fill_taskthreadinfo(p->task, threadaddr, 0, (struct proc_threadinfo_internal *)&pinfo->pt, (void *)&vp, &vid);
757 numthreads = get_numthreads(p->task);
769 ret = fill_taskthreadlist(p->task, kbuf, numthreads);
787 ret = fill_procregioninfo( p->task, arg, (struct proc_regioninfo_internal *)&preginfo, (uintptr_t *)0, (uint32_t *)0);
809 ret = fill_procregioninfo( p->task, arg, (struct proc_regioninfo_internal *)&preginfo.prp_prinfo, (uintptr_t *)&vnodeaddr, (uint32_t *)&vnodeid);
1691 if (fileport_invoke(p->task, name,
2055 (void)proc_task_remove_throttle(p->task);