/src/usr.bin/csplit/ |
csplit.c | 92 static long maxfiles; /* Maximum number of files we can create */ variable in typeref:typename:long 172 for (maxfiles = 1, i = 0; i < sufflen; i++) { 173 if (maxfiles > LONG_MAX / 10) 176 maxfiles *= 10; 180 while (nfiles < maxfiles - 1 && (expr = *argv++) != NULL) { 194 while (reps-- != 0 && nfiles < maxfiles - 1); 463 while (nfiles < maxfiles - 1) {
|
/src/sys/conf/ |
param.c | 121 u_int maxfiles = MAXFILES; variable in typeref:typename:u_int
|
/src/sys/sys/ |
file.h | 206 extern u_int maxfiles; /* kernel limit on # of open files */
|
/src/sys/kern/ |
init_main.c | 501 maxfiles = MAX(maxfiles, 20000); 503 maxfiles = MAX(maxfiles, 10000);
|
kern_resource.c | 424 if (limp->rlim_cur > maxfiles) 425 limp->rlim_cur = maxfiles; 426 if (limp->rlim_max > maxfiles) 427 limp->rlim_max = maxfiles;
|
sys_descrip.c | 139 (u_int)to >= maxfiles) 402 (u_int)newmin >= maxfiles) {
|
vfs_lockf.c | 128 #define MAXLOCKSPERUID (2 * maxfiles)
|
kern_proc.c | 532 rlim[RLIMIT_NOFILE].rlim_max = maxfiles; 533 rlim[RLIMIT_NOFILE].rlim_cur = maxfiles < nofile ? maxfiles : nofile;
|
kern_descrip.c | 906 lim = uimin((int)p->p_rlimit[RLIMIT_NOFILE].rlim_cur, maxfiles); 1251 if (__predict_false(nfiles >= slop + maxfiles)) { 1253 tablefull("file", "increase kern.maxfiles or MAXFILES");
|
init_sysctl.c | 166 CTLTYPE_INT, "maxfiles", 168 NULL, 0, &maxfiles, 0,
|
uipc_usrreq.c | 714 u_int unp_rights_ratio = 2; /* limit, fraction of maxfiles */ 1565 maxmsg = maxfiles / unp_rights_ratio;
|
kern_exec.c | 2906 maxfiles);
|
/src/usr.sbin/sysinst/ |
util.c | 1782 static int maxfiles = 32; local in function:tzm_set_names 1791 tz_menu = calloc(maxfiles, sizeof *tz_menu); 1793 tz_names = malloc(maxfiles * sizeof *tz_names); 1815 if (nfiles >= maxfiles) { 1817 2 * maxfiles * sizeof *tz_menu); 1821 memset(tz_menu + maxfiles, 0, 1822 maxfiles * sizeof *tz_menu); 1824 2 * maxfiles * sizeof *tz_names); 1828 memset(tz_names + maxfiles, 0, 1829 maxfiles * sizeof *tz_names) [all...] |
/src/sys/compat/netbsd32/ |
netbsd32_execve.c | 213 maxfiles);
|
/src/sys/compat/common/ |
kern_info_43.c | 90 *retval = uimin((int)p->p_rlimit[RLIMIT_NOFILE].rlim_cur, maxfiles);
|
/src/sys/compat/sunos32/ |
sunos32_misc.c | 1103 extern u_int maxfiles; 1119 *retval = maxfiles;
|
/src/sys/compat/sunos/ |
sunos_misc.c | 887 *retval = maxfiles;
|
/src/sys/miscfs/procfs/ |
procfs_vnops.c | 1516 lim = uimin((int)p->p_rlimit[RLIMIT_NOFILE].rlim_cur, maxfiles);
|