Searched refs:maxfilesperproc (Results 1 – 5 of 5) sorted by relevance
| /xnu-10063.101.15/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-10063.101.15/bsd/dev/ |
| H A D | unix_startup.c | 351 maxfilesperproc = maxfiles / 2; in bsd_scale_setup() 361 maxfilesperproc = maxfiles / 2; in bsd_scale_setup()
|
| /xnu-10063.101.15/bsd/sys/ |
| H A D | file_internal.h | 205 extern int maxfilesperproc;
|
| /xnu-10063.101.15/bsd/kern/ |
| H A D | kern_resource.c | 161 __private_extern__ int maxfilesperproc = OPEN_MAX; /* per-proc open files limit */ variable 166 SYSCTL_INT(_kern, KERN_MAXFILESPERPROC, maxfilesperproc, CTLFLAG_RW | CTLFLAG_LOCKED, 167 &maxfilesperproc, 0, "Maximum files allowed open per process" ); 1578 return (int)MIN(lim, maxfilesperproc); in proc_limitgetcur_nofile()
|
| H A D | proc_info.c | 582 if ((user_addr_t)0 == buffer || needfileports > (size_t)maxfilesperproc) { in proc_pidfileportlist()
|