Searched refs:maxfilesperproc (Results 1 – 6 of 6) sorted by relevance
| /freebsd-12.1/sys/kern/ |
| H A D | subr_param.c | 94 int maxfilesperproc; /* per-proc open files limit */ variable 279 maxfilesperproc = (maxfiles / 10) * 9; in init_param2() 280 TUNABLE_INT_FETCH("kern.maxfilesperproc", &maxfilesperproc); in init_param2()
|
| H A D | kern_resource.c | 708 if (limp->rlim_cur > maxfilesperproc) in kern_proc_setrlimit() 709 limp->rlim_cur = maxfilesperproc; in kern_proc_setrlimit() 710 if (limp->rlim_max > maxfilesperproc) in kern_proc_setrlimit() 711 limp->rlim_max = maxfilesperproc; in kern_proc_setrlimit()
|
| H A D | kern_descrip.c | 352 min((int)lim_cur(td, RLIMIT_NOFILE), maxfilesperproc); in sys_getdtablesize() 812 return (min((int)lim_cur(td, RLIMIT_NOFILE), maxfilesperproc)); in getmaxfd() 4042 SYSCTL_INT(_kern, KERN_MAXFILESPERPROC, maxfilesperproc, CTLFLAG_RW, 4043 &maxfilesperproc, 0, "Maximum files allowed open per process");
|
| H A D | sys_generic.c | 1347 if (nfds > maxfilesperproc && nfds > FD_SETSIZE) in kern_poll()
|
| /freebsd-12.1/sys/sys/ |
| H A D | file.h | 240 extern int maxfilesperproc; /* per process limit on number of open files */
|
| /freebsd-12.1/tools/tools/sysdoc/ |
| H A D | tunables.mdoc | 879 kern.maxfilesperproc
|