Lines Matching defs:pid
107 int error, pid;
111 fr.fr_pidp = &pid;
114 td->td_retval[0] = pid;
125 int error, fd, pid;
129 fr.fr_pidp = &pid;
139 td->td_retval[0] = pid;
151 int error, pid;
155 fr.fr_pidp = &pid;
158 td->td_retval[0] = pid;
168 int error, pid;
185 fr.fr_pidp = &pid;
188 td->td_retval[0] = pid;
212 int error, pid;
218 pid = randompid;
219 error = sysctl_handle_int(oidp, &pid, 0, req);
221 if (pid == 0)
223 else if (pid == 1)
226 else if (pid < 0 || pid > pid_max - 100)
229 else if (pid < 100)
233 randompid = pid;
288 * Scan the active and zombie procs to check whether this pid
289 * is in use. Remember the lowest pid that's greater
804 "do_fork: attaching to new child pid %d: oppid %d",
919 printf("maxproc limit exceeded by uid %u (pid %d); "
1004 /* We have to lock the process tree while we look for a pid. */
1065 CTR4(KTR_PROC, "fork_exit: new thread %p (td_sched %p, pid %d, %s)",
1093 printf("Kernel thread \"%s\" (pid %d) exited prematurely.\n",