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

/xnu-2422.115.4/tools/tests/libMicro/
H A Dcreate_stuff.sh4 echo limit maxproc 1000 2000 >> /etc/launchd.conf
/xnu-2422.115.4/bsd/dev/
H A Dunix_startup.c317 maxproc *= scale;
318 maxprocperuid = (maxproc * 2) / 3;
322 maxproc = 2500 * scale;
323 hard_maxproc = maxproc;
325 maxprocperuid = (maxproc*3)/4;
/xnu-2422.115.4/bsd/conf/
H A Dparam.c88 int maxproc = NPROC; variable
/xnu-2422.115.4/bsd/kern/
H A Dkern_resource.c894 * Only root can set to the maxproc limits, as it is
896 * maxprocperuid (presumably less than maxproc).
899 if (limp->rlim_cur > (rlim_t)maxproc)
900 limp->rlim_cur = maxproc;
901 if (limp->rlim_max > (rlim_t)maxproc)
902 limp->rlim_max = maxproc;
H A Dkern_fork.c365 * processes, maxproc is the limit.
369 if ((nprocs >= maxproc - 1 && uid != 0) || nprocs >= maxproc) {
H A Dbsd_init.c620 limit0.pl_rlimit[RLIMIT_NPROC].rlim_max = maxproc;
H A Dkern_proc.c201 pidhashtbl = hashinit(maxproc / 4, M_PROC, &pidhash);
202 pgrphashtbl = hashinit(maxproc / 4, M_PROC, &pgrphash);
203 sesshashtbl = hashinit(maxproc / 4, M_PROC, &sesshash);
204 uihashtbl = hashinit(maxproc / 16, M_PROC, &uihash);
H A Dkern_sysctl.c2184 int error = sysctl_io_number(req, maxproc, sizeof(int), &new_value, &changed);
2190 maxproc = new_value;
2355 SYSCTL_PROC(_kern, KERN_MAXPROC, maxproc,
H A Dkern_memorystatus.c626 memorystatus_jetsam_snapshot_max = maxproc;
/xnu-2422.115.4/bsd/sys/
H A Dproc_internal.h628 extern int nprocs, maxproc; /* Current and max number of procs. */

Completed in 70 milliseconds