Home
last modified time | relevance | path

Searched refs:maxfilesperproc (Results 1 – 6 of 6) sorted by relevance

/freebsd-13.1/sys/kern/
H A Dsubr_param.c97 int maxfilesperproc; /* per-proc open files limit */ variable
290 maxfilesperproc = (maxfiles / 10) * 9; in init_param2()
291 TUNABLE_INT_FETCH("kern.maxfilesperproc", &maxfilesperproc); in init_param2()
H A Dkern_resource.c719 if (limp->rlim_cur > maxfilesperproc) in kern_proc_setrlimit()
720 limp->rlim_cur = maxfilesperproc; in kern_proc_setrlimit()
721 if (limp->rlim_max > maxfilesperproc) in kern_proc_setrlimit()
722 limp->rlim_max = maxfilesperproc; in kern_proc_setrlimit()
H A Dkern_descrip.c907 return (min((int)lim_cur(td, RLIMIT_NOFILE), maxfilesperproc)); in getmaxfd()
5059 SYSCTL_INT(_kern, KERN_MAXFILESPERPROC, maxfilesperproc, CTLFLAG_RW,
5060 &maxfilesperproc, 0, "Maximum files allowed open per process");
H A Dsys_generic.c1463 if (nfds > maxfilesperproc && nfds > FD_SETSIZE) in kern_poll()
/freebsd-13.1/sys/sys/
H A Dfile.h249 extern int maxfilesperproc; /* per process limit on number of open files */
/freebsd-13.1/tools/tools/sysdoc/
H A Dtunables.mdoc879 kern.maxfilesperproc