Lines Matching refs:current_task
183 if ((current_task() == task) && (info != NULL) &&
249 if (task != current_task()||
259 if (task != current_task() ||
397 if (current_task() == task)
437 task_t task = current_task();;
468 if (current_task() == task)
566 if (current_task() == task)
613 if (current_task() == task)
658 return(proc_apply_bgtaskpolicy(current_task()));
666 if (task == current_task())
736 localtask = current_task();
839 return(proc_apply_bgthreadpolicy(current_task(), current_thread()->thread_id));
848 if (current_task() == task)
919 return(proc_restore_bgthreadpolicy(current_task(), thread_tid(current_thread())));
1175 return(proc_get_task_selfdiskacc_internal(current_task(), current_thread()));
1205 task_t self = current_task();
1289 task_t task = current_task();
1315 task_t task = current_task();
1344 task_t self = current_task();
1367 if (task != current_task()) {
1438 if (task != current_task()) {
1456 if (task != current_task()) {