Searched refs:nprocs (Results 1 – 7 of 7) sorted by relevance
102 int nprocs = 0; /* XXX */ variable
248 if ((nprocs >= maxproc - 1 && uid != 0) || nprocs >= maxproc) { in fork1()878 nprocs--; in forkproc_free()983 nprocs++; in forkproc()1009 nprocs++; in forkproc()
381 *retval = ((nprocs + 20) * sizeof(int)); in proc_listpids()389 if ((nprocs + 20) > 0) { in proc_listpids()390 numprocs = (uint32_t)(nprocs + 20); in proc_listpids()
389 if ((proc_getpid(p) == 0) || (p->p_pptr == start) || (nchecked >= nprocs)) { in isinferior()3810 pid_count_available = nprocs + 1; /* kernel_task not counted in nprocs */ in proc_iterate()
2825 nprocs--; in reap_child_locked()
744 extern int nprocs, maxproc; /* Current and max number of procs. */
4428 int rval = 0, lim = nprocs; in dtrace_dif_subr()