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

/darwin-on-arm/xnu/tools/tests/libMicro/
H A Dcreate_stuff.sh4 echo limit maxproc 1000 2000 >> /etc/launchd.conf
/darwin-on-arm/xnu/bsd/dev/
H A Dunix_startup.c310 maxproc *= scale;
311 maxprocperuid = (maxproc * 2) / 3;
315 maxproc = 2500 * scale;
316 hard_maxproc = maxproc;
318 maxprocperuid = (maxproc*3)/4;
/darwin-on-arm/xnu/bsd/conf/
H A Dparam.c88 int maxproc = NPROC; variable
/darwin-on-arm/xnu/bsd/kern/
H A Dkern_resource.c881 * Only root can set to the maxproc limits, as it is
883 * maxprocperuid (presumably less than maxproc).
886 if (limp->rlim_cur > (rlim_t)maxproc)
887 limp->rlim_cur = maxproc;
888 if (limp->rlim_max > (rlim_t)maxproc)
889 limp->rlim_max = maxproc;
H A Dkern_fork.c369 * processes, maxproc is the limit.
373 if ((nprocs >= maxproc - 1 && uid != 0) || nprocs >= maxproc) {
H A Dbsd_init.c619 limit0.pl_rlimit[RLIMIT_NPROC].rlim_max = maxproc;
H A Dkern_proc.c196 pidhashtbl = hashinit(maxproc / 4, M_PROC, &pidhash);
197 pgrphashtbl = hashinit(maxproc / 4, M_PROC, &pgrphash);
198 sesshashtbl = hashinit(maxproc / 4, M_PROC, &sesshash);
199 uihashtbl = hashinit(maxproc / 16, M_PROC, &uihash);
H A Dkern_sysctl.c2169 int error = sysctl_io_number(req, maxproc, sizeof(int), &new_value, &changed);
2175 maxproc = new_value;
2340 SYSCTL_PROC(_kern, KERN_MAXPROC, maxproc,
/darwin-on-arm/xnu/bsd/sys/
H A Dproc_internal.h598 extern int nprocs, maxproc; /* Current and max number of procs. */

Completed in 48 milliseconds