Lines Matching defs:task
95 #include <mach/task.h>
103 #include <kern/task.h>
492 error = proc_apply_task_gpuacc(targetp->task, TASK_POLICY_HWACCESS_GPU_ATTRIBUTE_NOACCESS);
494 error = proc_set_and_apply_bgtaskpolicy(targetp->task, priority);
591 error = proc_set_and_apply_bgthreadpolicy(curp->task, thread_tid(thread), priority);
708 task_vtimer_clear(p->task, TASK_VTIMER_RLIM);
719 task_info(p->task, TASK_ABSOLUTETIME_INFO,
732 task_vtimer_set(p->task, TASK_VTIMER_RLIM);
734 task_vtimer_clear(p->task, TASK_VTIMER_RLIM);
944 task_t task;
951 task = p->task;
952 if (task) {
961 task_info(task, MACH_TASK_BASIC_INFO,
971 task_info(task, TASK_THREAD_TIMES_INFO,
982 task_info(task, TASK_EVENTS_INFO,