Lines Matching refs:TASK_NULL
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)
324 if (parent_task == TASK_NULL)
346 if (parent_task == TASK_NULL)
364 assert(kernel_task == TASK_NULL);
406 if (new_task == TASK_NULL)
509 if (parent_task != TASK_NULL) {
558 if (kernel_task == TASK_NULL) {
595 if (task == TASK_NULL)
682 if (task == TASK_NULL)
983 if (task == TASK_NULL)
1005 if (task == TASK_NULL)
1091 if (task == TASK_NULL)
1121 if (task == TASK_NULL)
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)
1515 if (task == TASK_NULL)
1551 if (task == TASK_NULL)
1570 if (task == TASK_NULL)
2400 if (task == TASK_NULL) {
2431 if (task == TASK_NULL) {
2466 if (task == TASK_NULL)
2485 if (task != TASK_NULL)