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

/freebsd-9.3-release/sys/kern/
H A Dsubr_param.c90 int maxfilesperproc; /* per-proc open files limit */ variable
323 maxfilesperproc = (maxfiles / 10) * 9;
H A Dkern_resource.c722 if (limp->rlim_cur > maxfilesperproc)
723 limp->rlim_cur = maxfilesperproc;
724 if (limp->rlim_max > maxfilesperproc)
725 limp->rlim_max = maxfilesperproc;
H A Dkern_descrip.c312 min((int)lim_cur(p, RLIMIT_NOFILE), maxfilesperproc);
818 maxfd = min((int)lim_cur(p, RLIMIT_NOFILE), maxfilesperproc);
3911 SYSCTL_INT(_kern, KERN_MAXFILESPERPROC, maxfilesperproc, CTLFLAG_RW,
3912 &maxfilesperproc, 0, "Maximum files allowed open per process");
H A Dsys_generic.c1268 if (nfds > maxfilesperproc && nfds > FD_SETSIZE)
/freebsd-9.3-release/sys/compat/svr4/
H A Dsvr4_filio.c68 if (uap->nfds > maxfilesperproc && uap->nfds > FD_SETSIZE)
/freebsd-9.3-release/sys/sys/
H A Dfile.h214 extern int maxfilesperproc; /* per process limit on number of open files */

Completed in 110 milliseconds