HomeSort by: relevance | last modified time | path
    Searched refs:maxfiles (Results 1 - 20 of 20) sorted by relevancy

  /src/usr.bin/csplit/
csplit.c 92 static long maxfiles; /* Maximum number of files we can create */ variable
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
  /src/sys/sys/
file.h 206 extern u_int maxfiles; /* kernel limit on # of open files */
  /src/sys/kern/
init_main.c 504 maxfiles = MAX(maxfiles, 20000);
506 maxfiles = MAX(maxfiles, 10000);
kern_resource.c 426 if (limp->rlim_cur > maxfiles)
427 limp->rlim_cur = maxfiles;
428 if (limp->rlim_max > maxfiles)
429 limp->rlim_max = maxfiles;
sys_descrip.c 142 (u_int)to >= maxfiles)
405 (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 909 lim = uimin((int)p->p_rlimit[RLIMIT_NOFILE].rlim_cur, maxfiles);
1254 if (__predict_false(nfiles >= slop + maxfiles)) {
1256 tablefull("file", "increase kern.maxfiles or MAXFILES");
init_sysctl.c 166 CTLTYPE_INT, "maxfiles",
168 NULL, 0, &maxfiles, 0,
uipc_usrreq.c 727 u_int unp_rights_ratio = 2; /* limit, fraction of maxfiles */
1585 maxmsg = maxfiles / unp_rights_ratio;
kern_exec.c 2941 maxfiles);
  /src/external/bsd/top/dist/machine/
m_sunos5.c 199 static int maxfiles = 256; variable
200 #define MAXFILES 2048
1345 maxfiles = (int)(rlim.rlim_max < MAXFILES ? rlim.rlim_max : MAXFILES);
1346 rlim.rlim_cur = (rlim_t)maxfiles;
1350 maxfiles -= 20;
2040 if (fd < maxfiles)
2070 if (fd < maxfiles)
  /src/usr.sbin/sysinst/
util.c 1845 static int maxfiles = 32; local
1854 tz_menu = calloc(maxfiles, sizeof *tz_menu);
1856 tz_names = malloc(maxfiles * sizeof *tz_names);
1878 if (nfiles >= maxfiles) {
1880 2 * maxfiles * sizeof *tz_menu);
1884 memset(tz_menu + maxfiles, 0,
1885 maxfiles * sizeof *tz_menu);
1887 2 * maxfiles * sizeof *tz_names);
1891 memset(tz_names + maxfiles, 0,
1892 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/external/bsd/file/dist/src/
apprentice.c 1536 size_t files = 0, maxfiles = 0; local
1580 if (files >= maxfiles) {
1583 maxfiles = (maxfiles + 1) * 2;
1584 mlen = maxfiles * sizeof(*filearr);
  /src/sys/compat/sunos32/
sunos32_misc.c 1110 extern u_int maxfiles;
1126 *retval = maxfiles;
  /src/sys/compat/sunos/
sunos_misc.c 896 *retval = maxfiles;
  /src/sys/miscfs/procfs/
procfs_vnops.c 1516 lim = uimin((int)p->p_rlimit[RLIMIT_NOFILE].rlim_cur, maxfiles);

Completed in 37 milliseconds