Lines Matching defs:task
50 #include <kern/task.h>
140 task_t task,
152 if (task == TASK_NULL || n_ulocks <= 0 || policy > SYNC_POLICY_MAX)
167 lock_set->ref_count = (task == kernel_task) ? 1 : 2; /* one for kernel, one for port */
198 lock_set_ownership_set(lock_set, task);
210 * specified task is the SAME task name specified at the lock set's
218 lock_set_destroy (task_t task, lock_set_t lock_set)
223 if (task == TASK_NULL || lock_set == LOCK_SET_NULL)
226 if (lock_set->owner != task)
283 lock_set_ownership_clear(lock_set, task);
286 * Drop the lock set reference given to the containing task,