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()870 nprocs--; in forkproc_free()975 nprocs++; in forkproc()1001 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()4039 pid_count_available = nprocs + 1; /* kernel_task not counted in nprocs */ in proc_iterate()
2844 nprocs--; in reap_child_locked()
748 extern int nprocs, maxproc; /* Current and max number of procs. */
4428 int rval = 0, lim = nprocs; in dtrace_dif_subr()