| /freebsd-13.1/sys/kern/ |
| H A D | subr_param.c | 94 int maxproc; /* maximum # of processes */ variable 273 maxproc = NPROC; in init_param2() 274 TUNABLE_INT_FETCH("kern.maxproc", &maxproc); in init_param2() 275 if (maxproc > (physpages / 12)) in init_param2() 276 maxproc = physpages / 12; in init_param2() 277 if (maxproc > pid_max) in init_param2() 278 maxproc = pid_max; in init_param2() 279 maxprocperuid = (maxproc * 9) / 10; in init_param2()
|
| H A D | kern_mib.c | 114 SYSCTL_INT(_kern, KERN_MAXPROC, maxproc, CTLFLAG_RDTUN | CTLFLAG_NOFETCH, 115 &maxproc, 0, "Maximum number of processes");
|
| H A D | kern_thread.c | 503 maxthread = MIN(maxproc * max_threads_per_proc, 1000000); in threadinit() 505 maxthread = MIN(maxproc * max_threads_per_proc, 100000); in threadinit() 533 tidhashtbl = hashinit(maxproc / 2, M_TIDHASH, &tidhash); in threadinit()
|
| H A D | kern_fork.c | 928 if (nprocs_new >= maxproc - 10) { in fork1() 930 nprocs_new >= maxproc) { in fork1()
|
| H A D | init_main.c | 573 p->p_limit->pl_rlimit[RLIMIT_NPROC].rlim_max = maxproc; in proc0_init()
|
| H A D | kern_resource.c | 1338 uihashtbl = hashinit(maxproc / 16, M_UIDINFO, &uihash); in uihashinit()
|
| H A D | kern_timeout.c | 283 ncallout = imin(16 + maxproc + maxfiles, 18508); in callout_callwheel_init()
|
| H A D | kern_proc.c | 190 pidhashtbl = hashinit(maxproc / 4, M_PROC, &pidhash); in procinit() 198 pgrphashtbl = hashinit(maxproc / 4, M_PROC, &pgrphash); in procinit()
|
| H A D | vfs_subr.c | 675 physvnodes = maxproc + pgtok(vm_cnt.v_page_count) / 64 + in vntblinit()
|
| /freebsd-13.1/usr.sbin/autofs/ |
| H A D | automountd.c | 442 int ch, debug = 0, error, maxproc = 30, retval, saved_errno; in main_automountd() local 467 maxproc = atoi(optarg); in main_automountd() 544 while (maxproc > 0 && nchildren >= maxproc) { in main_automountd() 546 "waiting for child process to exit", maxproc); in main_automountd()
|
| /freebsd-13.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-13.1/usr.sbin/iscsid/ |
| H A D | iscsid.c | 580 int ch, debug = 0, error, iscsi_fd, maxproc = 30, retval, saved_errno, in main() local 601 maxproc = atoi(optarg); in main() 672 while (maxproc > 0 && nchildren >= maxproc) { in main() 674 "waiting for child process to exit", maxproc); in main()
|
| /freebsd-13.1/usr.bin/login/ |
| H A D | login.conf | 41 :maxproc=unlimited:\
|
| /freebsd-13.1/usr.sbin/ctld/ |
| H A D | token.l | 73 maxproc { return MAXPROC; }
|
| H A D | parse.y | 92 maxproc 139 maxproc: MAXPROC STR
|
| /freebsd-13.1/sys/fs/pseudofs/ |
| H A D | pseudofs_vncache.c | 94 pfs_vncache_hashtbl = hashinit(maxproc / 4, M_PFSVNCACHE, &pfs_vncache_hash);
|
| /freebsd-13.1/sys/sys/ |
| H A D | proc.h | 1031 extern int nprocs, maxproc; /* Current and max number of procs. */
|
| /freebsd-13.1/sys/contrib/openzfs/module/os/freebsd/zfs/ |
| H A D | zfs_vfsops.c | 2045 newdesiredvnodes = min(maxproc + vm_cnt.v_page_count / 4, 2 * in zfs_vnodes_adjust()
|
| /freebsd-13.1/sys/powerpc/booke/ |
| H A D | pmap.c | 1070 pv_entry_max = shpgperproc * maxproc + vm_cnt.v_page_count; in mmu_booke_init()
|
| /freebsd-13.1/sys/arm/arm/ |
| H A D | pmap-v6.c | 1754 pv_entry_max = shpgperproc * maxproc + vm_cnt.v_page_count; in pmap_init() 1787 pv_maxchunks = MAX(pv_entry_max / _NPCPV, maxproc); in pmap_init()
|
| /freebsd-13.1/sys/i386/i386/ |
| H A D | pmap.c | 1009 pv_entry_max = shpgperproc * maxproc + vm_cnt.v_page_count; in __CONCAT() 1057 pv_maxchunks = MAX(pv_entry_max / _NPCPV, maxproc); in __CONCAT()
|
| /freebsd-13.1/tools/tools/sysdoc/ |
| H A D | tunables.mdoc | 888 kern.maxproc
|