Lines Matching defs:targetproc
810 proc_t targetproc = PROC_NULL;
827 targetproc = proc_find(pid);
828 if (targetproc == PROC_NULL) {
833 if (!task_for_pid_posix_check(targetproc)) {
838 target = targetproc->task;
844 targetproc != current_proc() &&
877 memorystatus_on_suspend(targetproc);
884 if (targetproc != PROC_NULL)
885 proc_rele(targetproc);
894 proc_t targetproc = PROC_NULL;
911 targetproc = proc_find(pid);
912 if (targetproc == PROC_NULL) {
917 if (!task_for_pid_posix_check(targetproc)) {
922 target = targetproc->task;
928 targetproc != current_proc() &&
953 memorystatus_on_resume(targetproc);
962 psignal(targetproc, SIGKILL);
972 if (targetproc != PROC_NULL)
973 proc_rele(targetproc);