Searched refs:maxfilesperproc (Results 1 – 5 of 5) sorted by relevance
97 int maxfilesperproc; /* per-proc open files limit */ variable290 maxfilesperproc = (maxfiles / 10) * 9; in init_param2()291 TUNABLE_INT_FETCH("kern.maxfilesperproc", &maxfilesperproc); in init_param2()
718 if (limp->rlim_cur > maxfilesperproc) in kern_proc_setrlimit()719 limp->rlim_cur = maxfilesperproc; in kern_proc_setrlimit()720 if (limp->rlim_max > maxfilesperproc) in kern_proc_setrlimit()721 limp->rlim_max = maxfilesperproc; in kern_proc_setrlimit()
864 return (min((int)lim_cur(td, RLIMIT_NOFILE), maxfilesperproc)); in getmaxfd()4855 SYSCTL_INT(_kern, KERN_MAXFILESPERPROC, maxfilesperproc, CTLFLAG_RW,4856 &maxfilesperproc, 0, "Maximum files allowed open per process");
1464 if (nfds > maxfilesperproc && nfds > FD_SETSIZE) in kern_poll()
244 extern int maxfilesperproc; /* per process limit on number of open files */