Lines Matching refs:kernel_task
155 task_t kernel_task;
260 if (task_create_internal(TASK_NULL, FALSE, FALSE, &kernel_task) != KERN_SUCCESS)
263 vm_map_deallocate(kernel_task->map);
264 kernel_task->map = kernel_map;
437 if (kernel_task == TASK_NULL) {
530 assert(task != kernel_task);
678 assert(task != kernel_task);
1017 if (task == TASK_NULL || task == kernel_task)
1065 if (task == TASK_NULL || task == kernel_task)
1203 map = (task == kernel_task)? kernel_map: task->map;
1217 basic_info->policy = ((task != kernel_task)?
1243 map = (task == kernel_task)? kernel_map: task->map;
1250 basic_info->policy = ((task != kernel_task)?
1352 if (task != kernel_task) {
1377 if (task == kernel_task) {
1716 if (t == kernel_task)