Searched refs:maxproc (Results 1 - 11 of 11) sorted by relevance
/xnu-2782.1.97/tools/tests/libMicro/ |
H A D | create_stuff.sh | 4 echo limit maxproc 1000 2000 >> /etc/launchd.conf
|
/xnu-2782.1.97/bsd/dev/ |
H A D | unix_startup.c | 317 maxproc *= scale; 318 maxprocperuid = (maxproc * 2) / 3; 322 maxproc = 2500 * scale; 323 hard_maxproc = maxproc; 325 maxprocperuid = (maxproc*3)/4;
|
/xnu-2782.1.97/bsd/conf/ |
H A D | param.c | 88 int maxproc = NPROC; variable
|
/xnu-2782.1.97/bsd/kern/ |
H A D | kern_resource.c | 1115 * Only root can set to the maxproc limits, as it is 1117 * maxprocperuid (presumably less than maxproc). 1120 if (limp->rlim_cur > (rlim_t)maxproc) 1121 limp->rlim_cur = maxproc; 1122 if (limp->rlim_max > (rlim_t)maxproc) 1123 limp->rlim_max = maxproc;
|
H A D | kern_fork.c | 378 * processes, maxproc is the limit. 382 if ((nprocs >= maxproc - 1 && uid != 0) || nprocs >= maxproc) {
|
H A D | bsd_init.c | 618 limit0.pl_rlimit[RLIMIT_NPROC].rlim_max = maxproc;
|
H A D | kern_proc.c | 209 pidhashtbl = hashinit(maxproc / 4, M_PROC, &pidhash); 210 pgrphashtbl = hashinit(maxproc / 4, M_PROC, &pgrphash); 211 sesshashtbl = hashinit(maxproc / 4, M_PROC, &sesshash); 212 uihashtbl = hashinit(maxproc / 16, M_PROC, &uihash);
|
H A D | kern_sysctl.c | 1579 int error = sysctl_io_number(req, maxproc, sizeof(int), &new_value, &changed); 1585 maxproc = new_value; 1750 SYSCTL_PROC(_kern, KERN_MAXPROC, maxproc,
|
H A D | kern_memorystatus.c | 781 memorystatus_jetsam_snapshot_max = maxproc;
|
/xnu-2782.1.97/osfmk/atm/ |
H A D | atm.c | 58 extern int maxproc; 1358 /* Check if the number of live entries in list is less than maxproc */ 1359 assert((j - (freed_count + dead_but_not_freed)) <= maxproc);
|
/xnu-2782.1.97/bsd/sys/ |
H A D | proc_internal.h | 638 extern int nprocs, maxproc; /* Current and max number of procs. */
|
Completed in 108 milliseconds