Home
last modified time | relevance | path

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

/dragonfly/sys/kern/
H A Dsubr_param.c80 int maxfilesperproc; /* per-proc open files limit */ variable
300 maxfilesperproc = maxfiles / 4; in init_param2()
301 maxfilesperuser = maxfilesperproc * 2; in init_param2()
H A Dkern_plimit.c359 if (limp->rlim_cur > maxfilesperproc) in kern_setrlimit()
360 limp->rlim_cur = maxfilesperproc; in kern_setrlimit()
361 if (limp->rlim_max > maxfilesperproc) in kern_setrlimit()
362 limp->rlim_max = maxfilesperproc; in kern_setrlimit()
H A Dkern_descrip.c652 if (dtsize > maxfilesperproc) in sys_getdtablesize()
653 dtsize = maxfilesperproc; in sys_getdtablesize()
1023 if (dtsize > maxfilesperproc) in kern_dup()
1024 dtsize = maxfilesperproc; in kern_dup()
1693 if (lim > maxfilesperproc) in fdalloc_locked()
1694 lim = maxfilesperproc; in fdalloc_locked()
1838 if (lim > maxfilesperproc) in fdavail()
1839 lim = maxfilesperproc; in fdavail()
3432 SYSCTL_INT(_kern, KERN_MAXFILESPERPROC, maxfilesperproc, CTLFLAG_RW,
3433 &maxfilesperproc, 0, "Maximum files allowed open per process");
H A Dsys_generic.c1626 if (nfds > maxfilesperproc * 2) in dopoll()
1627 nfds = maxfilesperproc * 2; in dopoll()
/dragonfly/sys/sys/
H A Dfile.h162 extern int maxfilesperproc; /* per process limit on number of open files */