Searched refs:maxproc (Results 1 - 7 of 7) sorted by relevance

/macosx-10.5.8/xnu-1228.15.4/bsd/conf/
H A Dparam.c89 int maxproc = NPROC; variable
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/
H A Dkern_fork.c196 * processes, maxproc is the limit.
200 if ((nprocs >= maxproc - 1 && uid != 0) || nprocs >= maxproc) {
557 * processes, maxproc is the limit.
561 if ((nprocs >= maxproc - 1 && uid != 0) || nprocs >= maxproc) {
H A Dkern_resource.c782 * Only root can set to the maxproc limits, as it is
784 * maxprocperuid (presumably less than maxproc).
787 if (limp->rlim_cur > (rlim_t)maxproc)
788 limp->rlim_cur = maxproc;
789 if (limp->rlim_max > (rlim_t)maxproc)
790 limp->rlim_max = maxproc;
H A Dkern_proc.c193 pidhashtbl = hashinit(maxproc / 4, M_PROC, &pidhash);
194 pgrphashtbl = hashinit(maxproc / 4, M_PROC, &pgrphash);
195 sesshashtbl = hashinit(maxproc / 4, M_PROC, &sesshash);
196 uihashtbl = hashinit(maxproc / 16, M_PROC, &uihash);
H A Dbsd_init.c519 limit0.pl_rlimit[RLIMIT_NPROC].rlim_max = maxproc;
H A Dkern_sysctl.c1965 int error = sysctl_io_number(req, maxproc, sizeof(int), &new_value, &changed);
1971 maxproc = new_value;
2069 SYSCTL_PROC(_kern, KERN_MAXPROC, maxproc,
/macosx-10.5.8/xnu-1228.15.4/bsd/sys/
H A Dproc_internal.h476 extern int nprocs, maxproc; /* Current and max number of procs. */

Completed in 106 milliseconds