Lines Matching defs:pid
105 int error, pid;
109 fr.fr_pidp = &pid;
112 td->td_retval[0] = pid;
123 int error, fd, pid;
127 fr.fr_pidp = &pid;
137 td->td_retval[0] = pid;
149 int error, pid;
153 fr.fr_pidp = &pid;
156 td->td_retval[0] = pid;
166 int error, pid;
175 fr.fr_pidp = &pid;
178 td->td_retval[0] = pid;
202 int error, pid;
208 pid = randompid;
209 error = sysctl_handle_int(oidp, &pid, 0, req);
211 if (pid < 0 || pid > pid_max - 100) /* out of range */
212 pid = pid_max - 100;
213 else if (pid < 2) /* NOP */
214 pid = 0;
215 else if (pid < 100) /* Make it reasonable */
216 pid = 100;
217 randompid = pid;
272 * Scan the active and zombie procs to check whether this pid
273 * is in use. Remember the lowest pid that's greater
871 printf("maxproc limit exceeded by uid %u (pid %d); "
956 /* We have to lock the process tree while we look for a pid. */
1017 CTR4(KTR_PROC, "fork_exit: new thread %p (td_sched %p, pid %d, %s)",
1045 printf("Kernel thread \"%s\" (pid %d) exited prematurely.\n",
1081 "fork_return: attaching to new child pid %d: oppid %d",