Searched refs:maxfilesperproc (Results 1 – 6 of 6) sorted by relevance
91 int maxfilesperproc; /* per-proc open files limit */ variable322 maxfilesperproc = (maxfiles / 10) * 9; in init_param2()323 TUNABLE_INT_FETCH("kern.maxfilesperproc", &maxfilesperproc); in init_param2()
716 if (limp->rlim_cur > maxfilesperproc) in kern_proc_setrlimit()717 limp->rlim_cur = maxfilesperproc; in kern_proc_setrlimit()718 if (limp->rlim_max > maxfilesperproc) in kern_proc_setrlimit()719 limp->rlim_max = maxfilesperproc; in kern_proc_setrlimit()
924 return (min((int)lim_cur(td, RLIMIT_NOFILE), maxfilesperproc)); in getmaxfd()5152 SYSCTL_INT(_kern, KERN_MAXFILESPERPROC, maxfilesperproc,5154 &maxfilesperproc, 0, "Maximum files allowed open per process");
1655 return (nfds > maxfilesperproc && nfds > FD_SETSIZE); in kern_poll_maxfds()
257 extern int maxfilesperproc; /* per process limit on number of open files */
878 kern.maxfilesperproc