Searched refs:maxfilesperproc (Results 1 – 6 of 6) sorted by relevance
| /xnu-12377.1.9/tests/ |
| H A D | proc_rlimit.c | 43 static rlim_t maxfilesperproc; variable 44 static size_t maxfilesperproc_size = sizeof(maxfilesperproc); 178 if (i == RLIMIT_NOFILE && limit_type == HARD_LIMIT && newlim.rlim_max > maxfilesperproc) { in change_rlimits() 180 maxfilesperproc != verifylim.rlim_max) { in change_rlimits() 216 err = sysctlbyname("kern.maxfilesperproc", &maxfilesperproc, &maxfilesperproc_size, NULL, 0); 217 T_EXPECT_EQ_INT(0, err, "maxfilesperproc: %llu", maxfilesperproc);
|
| /xnu-12377.1.9/bsd/dev/ |
| H A D | unix_startup.c | 320 maxfilesperproc = maxfiles / 2; in bsd_scale_setup() 328 maxfilesperproc = maxfiles / 2; in bsd_scale_setup()
|
| /xnu-12377.1.9/bsd/sys/ |
| H A D | file_internal.h | 205 extern int maxfilesperproc;
|
| /xnu-12377.1.9/bsd/kern/ |
| H A D | kern_resource.c | 167 __private_extern__ int maxfilesperproc = OPEN_MAX; /* per-proc open files limit */ variable 172 SYSCTL_INT(_kern, KERN_MAXFILESPERPROC, maxfilesperproc, CTLFLAG_RW | CTLFLAG_LOCKED, 173 &maxfilesperproc, 0, "Maximum files allowed open per process" ); 1932 return (int)MIN(lim, maxfilesperproc); in proc_limitgetcur_nofile()
|
| H A D | kern_aio.c | 1416 if (sigev->sigev_signo <= 0 || sigev->sigev_signo > maxfilesperproc) { in aio_sigev_validate()
|
| H A D | proc_info.c | 592 if ((user_addr_t)0 == buffer || needfileports > (size_t)maxfilesperproc) { in proc_pidfileportlist()
|