Home
last modified time | relevance | path

Searched refs:maxfiles (Results 1 – 7 of 7) sorted by relevance

/titanic_50/usr/src/cmd/bnu/
H A Dxqt.c95 register int i, maxfiles; local
116 maxfiles = ulimit(4, 0);
119 maxfiles = getdtablesize();
121 maxfiles = NOFILE;
124 for (i = 3; i < maxfiles; i++)
H A Duucico.c884 int i, maxfiles; in closedem() local
887 maxfiles = ulimit(4,0); in closedem()
890 maxfiles = getdtablesize(); in closedem()
892 maxfiles = _NFILE; in closedem()
896 for ( i = 3; i < maxfiles; i++ ) in closedem()
/titanic_50/usr/src/cmd/mailx/
H A Daux.c337 if (!maxfiles) { in source()
338 if ((maxfiles = (int)ulimit(4, 0)) < 0) in source()
342 maxfiles = _NFILE; in source()
343 sstack = (struct sstack *)calloc(maxfiles, sizeof(struct sstack)); in source()
H A Dinit.c103 int maxfiles; /* Maximum number of open files */ variable
/titanic_50/usr/src/cmd/mailx/hdr/
H A Dglob.h87 extern int maxfiles; /* Maximum number of open files */
/titanic_50/usr/src/cmd/init/
H A Dinit.c1328 int modes, maxfiles; in spawn() local
1423 maxfiles = ulimit(UL_GDESLIM, 0); in spawn()
1424 for (i = 0; i < maxfiles; i++) in spawn()
2054 int maxfiles; in boot_init() local
2107 maxfiles = ulimit(UL_GDESLIM, 0); in boot_init()
2109 for (i = 0; i < maxfiles; i++) in boot_init()
/titanic_50/usr/src/cmd/fs.d/ufs/fsdb/
H A Dfsdb.c283 static long maxfiles; variable
637 maxfiles = (long)((((u_offset_t)fs->fs_ncg * (u_offset_t)fs->fs_ipg) - in main()
641 filenames = (struct filenames *)calloc(maxfiles, in main()
649 maxfiles = MAXFILES; in main()
650 filenames = (struct filenames *)calloc(maxfiles, in main()
2485 if (++top - filenames >= maxfiles) { in follow_path()