Searched refs:nprocs (Results 1 – 7 of 7) sorted by relevance
102 int nprocs = 0; /* XXX */ variable
246 if ((nprocs >= maxproc - 1 && uid != 0) || nprocs >= maxproc) { in fork1()867 nprocs--; in forkproc_free()978 nprocs++; in forkproc()999 nprocs++; in forkproc()
361 *retval = ((nprocs + 20) * sizeof(int)); in proc_listpids()369 if ((nprocs + 20) > 0) { in proc_listpids()370 numprocs = (uint32_t)(nprocs + 20); in proc_listpids()
368 if ((proc_getpid(p) == 0) || (p->p_pptr == start) || (nchecked >= nprocs)) { in isinferior()3598 pid_count_available = nprocs + 1; /* kernel_task not counted in nprocs */ in proc_iterate()
2771 nprocs--; in reap_child_locked()
727 extern int nprocs, maxproc; /* Current and max number of procs. */
4426 int rval = 0, lim = nprocs; in dtrace_dif_subr()