| /freebsd-12.1/sys/kern/ |
| H A D | subr_param.c | 91 int maxproc; /* maximum # of processes */ variable 262 maxproc = NPROC; in init_param2() 263 TUNABLE_INT_FETCH("kern.maxproc", &maxproc); in init_param2() 264 if (maxproc > (physpages / 12)) in init_param2() 265 maxproc = physpages / 12; in init_param2() 266 if (maxproc > pid_max) in init_param2() 267 maxproc = pid_max; in init_param2() 268 maxprocperuid = (maxproc * 9) / 10; in init_param2()
|
| H A D | kern_mib.c | 109 SYSCTL_INT(_kern, KERN_MAXPROC, maxproc, CTLFLAG_RDTUN | CTLFLAG_NOFETCH, 110 &maxproc, 0, "Maximum number of processes");
|
| H A D | kern_fork.c | 890 if (nprocs_new >= maxproc - 10) { in fork1() 892 nprocs_new >= maxproc) { in fork1()
|
| H A D | init_main.c | 565 p->p_limit->pl_rlimit[RLIMIT_NPROC].rlim_max = maxproc; in proc0_init()
|
| H A D | kern_thread.c | 345 tidhashtbl = hashinit(maxproc / 2, M_TIDHASH, &tidhash); in threadinit()
|
| H A D | kern_resource.c | 1311 uihashtbl = hashinit(maxproc / 16, M_UIDINFO, &uihash); in uihashinit()
|
| H A D | kern_timeout.c | 281 ncallout = imin(16 + maxproc + maxfiles, 18508); in callout_callwheel_init()
|
| H A D | kern_proc.c | 191 pidhashtbl = hashinit(maxproc / 4, M_PROC, &pidhash); in procinit() 192 pgrphashtbl = hashinit(maxproc / 4, M_PROC, &pgrphash); in procinit()
|
| H A D | vfs_subr.c | 554 physvnodes = maxproc + pgtok(vm_cnt.v_page_count) / 64 + in vntblinit()
|
| /freebsd-12.1/release/picobsd/mfs_tree/etc/ |
| H A D | login.conf | 32 :maxproc-cur=64:\ 55 :maxproc=32:\ 88 :maxproc=infinity:\ 90 :maxproc-cur=64:\ 104 :maxproc=512:\ 105 :maxproc-cur@:\
|
| /freebsd-12.1/usr.sbin/autofs/ |
| H A D | automountd.c | 443 int ch, debug = 0, error, maxproc = 30, retval, saved_errno; in main_automountd() local 468 maxproc = atoi(optarg); in main_automountd() 545 while (maxproc > 0 && nchildren >= maxproc) { in main_automountd() 547 "waiting for child process to exit", maxproc); in main_automountd()
|
| /freebsd-12.1/tests/sys/audit/ |
| H A D | miscellaneous.c | 175 int mib[2], maxproc; in ATF_TC_BODY() local 181 proclen = sizeof(maxproc); in ATF_TC_BODY() 187 ATF_REQUIRE_EQ(0, sysctl(mib, 2, &maxproc, &proclen, NULL, 0)); in ATF_TC_BODY()
|
| /freebsd-12.1/usr.sbin/iscsid/ |
| H A D | iscsid.c | 530 int ch, debug = 0, error, iscsi_fd, maxproc = 30, retval, saved_errno, in main() local 551 maxproc = atoi(optarg); in main() 622 while (maxproc > 0 && nchildren >= maxproc) { in main() 624 "waiting for child process to exit", maxproc); in main()
|
| /freebsd-12.1/usr.sbin/ctld/ |
| H A D | token.l | 72 maxproc { return MAXPROC; }
|
| H A D | parse.y | 90 maxproc 137 maxproc: MAXPROC STR
|
| /freebsd-12.1/usr.bin/login/ |
| H A D | login.conf | 40 :maxproc=unlimited:\
|
| /freebsd-12.1/sys/arm/arm/ |
| H A D | pmap-v4.c | 1556 pv_entry_max = shpgperproc * maxproc + vm_cnt.v_page_count; in pmap_init() 1762 needed = (maxproc / PMAP_DOMAINS) + ((maxproc % PMAP_DOMAINS) ? 1 : 0); in pmap_postinit()
|
| H A D | pmap-v6.c | 1756 pv_entry_max = shpgperproc * maxproc + vm_cnt.v_page_count; in pmap_init() 1789 pv_maxchunks = MAX(pv_entry_max / _NPCPV, maxproc); in pmap_init()
|
| /freebsd-12.1/sys/sys/ |
| H A D | proc.h | 978 extern int nprocs, maxproc; /* Current and max number of procs. */
|
| /freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
| H A D | zfs_vfsops.c | 2590 newdesiredvnodes = min(maxproc + vm_cnt.v_page_count / 4, 2 * in zfs_vnodes_adjust()
|
| /freebsd-12.1/sys/i386/i386/ |
| H A D | pmap.c | 978 pv_entry_max = shpgperproc * maxproc + vm_cnt.v_page_count; in pmap_init() 1026 pv_maxchunks = MAX(pv_entry_max / _NPCPV, maxproc); in pmap_init()
|
| /freebsd-12.1/tools/tools/sysdoc/ |
| H A D | tunables.mdoc | 888 kern.maxproc
|
| /freebsd-12.1/sys/powerpc/booke/ |
| H A D | pmap.c | 2157 pv_entry_max = shpgperproc * maxproc + vm_cnt.v_page_count; in mmu_booke_init()
|