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()877 nprocs--; in forkproc_free()983 nprocs++; in forkproc()1004 nprocs++; in forkproc()
378 *retval = ((nprocs + 20) * sizeof(int)); in proc_listpids()386 if ((nprocs + 20) > 0) { in proc_listpids()387 numprocs = (uint32_t)(nprocs + 20); in proc_listpids()
382 if ((proc_getpid(p) == 0) || (p->p_pptr == start) || (nchecked >= nprocs)) { in isinferior()3703 pid_count_available = nprocs + 1; /* kernel_task not counted in nprocs */ in proc_iterate()
2818 nprocs--; in reap_child_locked()
753 extern int nprocs, maxproc; /* Current and max number of procs. */
4427 int rval = 0, lim = nprocs; in dtrace_dif_subr()