Lines Matching defs:task
83 #include <kern/task.h>
725 task_t task;
798 if (thread->task != TASK_NULL &&
802 tasklabel_lock(thread->task);
804 rc = mac_port_check_receive(&thread->task->maclabel,
807 tasklabel_unlock(thread->task);
827 if (thread->task != TASK_NULL &&
831 tasklabel_lock(thread->task);
833 rc = mac_port_check_receive(&thread->task->maclabel,
836 tasklabel_unlock(thread->task);