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()920 nprocs--; in forkproc_free()1031 nprocs++; in forkproc()1052 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()
369 if ((proc_getpid(p) == 0) || (p->p_pptr == start) || (nchecked >= nprocs)) { in isinferior()3645 pid_count_available = nprocs + 1; /* kernel_task not counted in nprocs */ in proc_iterate()
2739 nprocs--; in reap_child_locked()
741 extern int nprocs, maxproc; /* Current and max number of procs. */
4420 int rval = 0, lim = nprocs; in dtrace_dif_subr()