Searched refs:maxproc (Results 1 - 7 of 7) sorted by relevance
/macosx-10.5.8/xnu-1228.15.4/bsd/conf/ |
H A D | param.c | 89 int maxproc = NPROC; variable
|
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/ |
H A D | kern_fork.c | 196 * 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 D | kern_resource.c | 782 * 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 D | kern_proc.c | 193 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 D | bsd_init.c | 519 limit0.pl_rlimit[RLIMIT_NPROC].rlim_max = maxproc;
|
H A D | kern_sysctl.c | 1965 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 D | proc_internal.h | 476 extern int nprocs, maxproc; /* Current and max number of procs. */
|
Completed in 106 milliseconds