Lines Matching refs:kernel_task
148 task_t kernel_task;
291 if (task_create_internal(TASK_NULL, FALSE, TRUE, &kernel_task) != KERN_SUCCESS)
293 if (task_create_internal(TASK_NULL, FALSE, FALSE, &kernel_task) != KERN_SUCCESS)
297 vm_map_deallocate(kernel_task->map);
298 kernel_task->map = kernel_map;
364 assert(kernel_task == TASK_NULL);
558 if (kernel_task == TASK_NULL) {
699 assert(task != kernel_task);
834 assert(task != kernel_task);
1295 if (task == TASK_NULL || task == kernel_task)
1320 if (task == TASK_NULL || task == kernel_task)
1367 if (task == TASK_NULL || task == kernel_task)
1398 if (task == TASK_NULL || task == kernel_task)
1444 if (task == TASK_NULL || task == kernel_task)
1483 if (task == TASK_NULL || task == kernel_task)
1597 map = (task == kernel_task)? kernel_map: task->map;
1610 basic_info->policy = ((task != kernel_task)?
1642 map = (task == kernel_task)? kernel_map: task->map;
1648 basic_info->policy = ((task != kernel_task)?
1680 map = (task == kernel_task) ? kernel_map : task->map;
1692 basic_info->policy = ((task != kernel_task) ?
1863 if (task == kernel_task) {
1880 if (task == kernel_task) {
1940 if (task != kernel_task) {
1968 if (task == kernel_task) {
2089 if ((task == kernel_task) && (thread->priority == IDLEPRI) && (thread->sched_pri == IDLEPRI))
2456 if (t == kernel_task)