Searched refs:maxproc (Results 1 – 15 of 15) sorted by relevance
| /f-stack/freebsd/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 | 904 if (nprocs_new >= maxproc - 10) { in fork1() 906 nprocs_new >= maxproc) { in fork1()
|
| H A D | init_main.c | 571 p->p_limit->pl_rlimit[RLIMIT_NPROC].rlim_max = maxproc; in proc0_init()
|
| H A D | kern_timeout.c | 283 ncallout = imin(16 + maxproc + maxfiles, 18508); in callout_callwheel_init()
|
| H A D | kern_resource.c | 1337 uihashtbl = hashinit(maxproc / 16, M_UIDINFO, &uihash); in uihashinit()
|
| H A D | kern_proc.c | 186 pidhashtbl = hashinit(maxproc / 4, M_PROC, &pidhash); in procinit() 194 pgrphashtbl = hashinit(maxproc / 4, M_PROC, &pgrphash); in procinit()
|
| H A D | vfs_subr.c | 636 physvnodes = maxproc + pgtok(vm_cnt.v_page_count) / 64 + in vntblinit()
|
| /f-stack/lib/ |
| H A D | ff_init_main.c | 478 p->p_limit->pl_rlimit[RLIMIT_NPROC].rlim_max = maxproc; in proc0_init()
|
| H A D | ff_kern_timeout.c | 236 ncallout = imin(16 + maxproc + maxfiles, 18508); in callout_callwheel_init()
|
| /f-stack/freebsd/sys/ |
| H A D | proc.h | 1015 extern int nprocs, maxproc; /* Current and max number of procs. */
|
| /f-stack/freebsd/contrib/openzfs/module/os/freebsd/zfs/ |
| H A D | zfs_vfsops.c | 2016 newdesiredvnodes = min(maxproc + vm_cnt.v_page_count / 4, 2 * in zfs_vnodes_adjust()
|
| /f-stack/freebsd/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()
|
| /f-stack/freebsd/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()
|