Searched refs:nfiles (Results 1 - 25 of 29) sorted by relevance

12

/illumos-gate/usr/src/cmd/cdrw/
H A Dwrite_audio.c77 int i, nfiles; local
83 nfiles = argc - start_argc;
84 h_ptr = (bstreamhandle *)my_zalloc(nfiles * sizeof (bstreamhandle));
86 for (i = 0; i < nfiles; i++) {
133 for (i = 0; i < nfiles; i++) {
135 if (simulation && (nfiles != 1)) {
141 for (i = 0; i < nfiles; i++)
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dpopen.c27 static int nfiles; variable
38 if (nfiles <= 0)
39 nfiles = getdtablesize();
41 popen_pid = (int *)malloc(nfiles * sizeof *popen_pid);
44 for (pid = 0; pid < nfiles; pid++)
56 for (poptr = popen_pid; poptr < popen_pid+nfiles; poptr++) {
/illumos-gate/usr/src/lib/libbc/libc/stdio/common/
H A Dfindiop.c90 int nfiles; local
92 nfiles = getdtablesize();
94 iobglue = (FILE **)calloc(nfiles, sizeof *iobglue);
98 if((_smbuf = (unsigned char (*)[_SBFSIZ])malloc(nfiles * sizeof *_smbuf)) == NULL) {
104 endglue = iobglue + nfiles;
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/
H A Dpclose.c85 static rlim_t nfiles = 0; variable
95 if (nfiles <= 0) {
97 nfiles = rl.rlim_max;
99 nfiles = NOFILES;
102 popen_pid = (pid_t *)malloc((unsigned)nfiles *
106 for (i = 0; i < nfiles; i++)
/illumos-gate/usr/src/cmd/ptools/pwait/
H A Dpwait.c84 int nfiles = count_my_files(); local
86 if (rlim.rlim_cur < argc + nfiles + SLOP) {
87 rlim.rlim_cur = argc + nfiles + SLOP;
/illumos-gate/usr/src/cmd/sgs/error/common/
H A Derrormain.c42 int nfiles = 0; variable
200 findfiles(nerrors, errors, &nfiles, &files);
235 filenames(nfiles, files);
237 if (touchfiles(nfiles, files, &ed_argc, &ed_argv) && edit_files)
H A Derrortouch.c64 #define FILEITERATE(fi, lb) for (fi = lb; fi <= nfiles; fi++)
70 int nfiles; local
78 nfiles = countfiles(errors);
80 files = Calloc(nfiles + 3, sizeof (Eptr*));
81 touchedfiles = Calloc(nfiles+3, sizeof (boolean));
113 *r_nfiles = nfiles;
124 int nfiles; local
125 nfiles = 0;
130 nfiles++;
135 return (nfiles);
153 filenames(int nfiles, Eptr **files) argument
221 touchfiles(int nfiles, Eptr **files, int *r_edargc, char ***r_edargv) argument
[all...]
H A Derror.h207 extern int nfiles;
242 void filenames(int nfiles, Eptr **files);
245 boolean touchfiles(int nfiles, Eptr **files, int *r_edargc, char ***r_edargv);
/illumos-gate/usr/src/ucbcmd/sed/
H A Dsed0.c45 int nfiles; variable
101 nfiles = 1;
497 for(i = nfiles - 1; i >= 0; i--)
502 if(nfiles >= NWFILES)
506 if ((fname[nfiles] = malloc((unsigned)i)) == NULL) {
510 (void) strcpy(fname[nfiles], fnamebuf);
511 if((rep->r1.fcode = fopen(fname[nfiles], "w")) == NULL) {
513 perror(fname[nfiles]);
516 fcode[nfiles++] = rep->r1.fcode;
526 for(i = nfiles
[all...]
/illumos-gate/usr/src/tools/ctf/cvt/
H A Dinput.c255 int nfiles = 0, err = 0; local
265 nfiles++;
274 return (nfiles);
280 int nfiles = 0, err = 0; local
308 nfiles += rc;
311 nfiles++;
325 debug(2, "Found %d files in %d input files\n", nfiles, n);
327 return (nfiles);
H A Dctfmerge.c621 wq_init(workqueue_t *wq, int nfiles) argument
635 nslots = MIN(nslots, (nfiles + wq->wq_maxbatchsz - 1) /
663 wq->wq_ninqueue = nfiles;
/illumos-gate/usr/src/tools/scripts/
H A Dxref.sh234 nfiles=`wc -l < xref.flg`
235 if [ "$nfiles" -eq 1 ]; then
238 msg="found $nfiles flg-related source files"
/illumos-gate/usr/src/cmd/rpcgen/
H A Drpc_util.c64 int nfiles; variable
261 for (i = 0; i < nfiles; i++)
269 if (nfiles < NFILES) {
270 outfiles[nfiles++] = file;
/illumos-gate/usr/src/test/zfs-tests/tests/functional/rsend/
H A Drsend.kshlib394 nfiles=$1
399 for ((i=0; i<$nfiles; i=i+1)); do
406 echo Created $nfiles files of random sizes up to $maxsize bytes
419 nfiles=$1
424 for ((i=0; i<$nfiles; i=i+1)); do
427 echo Removed $nfiles files of random sizes up to $maxsize bytes
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dasppp2pppd1303 $nfiles = 0;
1308 $nfiles++;
1309 print "\t$nfiles. $file\n";
1325 $nfiles++;
1326 print "\t$nfiles. $file\n";
1335 $nfiles++;
1336 print "\t$nfiles. $file\n";
1348 $nfiles++;
1350 print "\t$nfiles. $file\n";
1386 die "Nothing to write back; I'm done.\n" if $nfiles
[all...]
/illumos-gate/usr/src/cmd/checknr/
H A Dchecknr.c147 static int nfiles; /* number of files to process */ variable
249 nfiles = argc - 1;
251 if (nfiles > 0) {
500 if (nfiles > 1)
/illumos-gate/usr/src/cmd/tnf/tnfdump/
H A Dmain.c95 scanargs(int argc, char **argv, int *nfiles, char ***files) argument
116 *nfiles = argc - optind;
117 if (*nfiles <= 0) {
/illumos-gate/usr/src/cmd/more/
H A Dmore.c183 int nfiles; /* Number of files left to process */ variable
255 nfiles = argc;
266 while (--nfiles > 0) {
302 if (nfiles > 1)
304 if (!no_intty && nfiles == 0) {
357 while (fnum < nfiles) {
373 else if (fnum < nfiles && !no_tty) {
1226 if (fnum >= nfiles - 1)
1488 if (fnum + nskip > nfiles - 1)
1489 nskip = nfiles
[all...]
/illumos-gate/usr/src/cmd/abi/spectrans/parser/
H A Dfrontend.c123 int nfiles, flen, findex, retval = 0, errors = 0; local
125 nfiles = T_info->ti_nfiles;
127 for (findex = 0; findex < nfiles; ++findex) {
/illumos-gate/usr/src/lib/libtecla/common/
H A Dpcache.c110 size_t nfiles; /* The number of filenames currently in files[] */ member in struct:__anon4097
733 cm->nfiles = 0;
793 cm->nfiles = 0;
929 if(mem->nfiles + 1 > mem->files_dim) {
945 mem->files[mem->nfiles++] = copy;
954 qsort(mem->files + mem->nfiles - nfile, nfile, sizeof(*mem->files),
1059 node->nfile = node->mem->nfiles;
1300 node->nfile = node->mem->nfiles;
/illumos-gate/usr/src/cmd/fs.d/ufs/quot/
H A Dquot.c77 long nfiles; member in struct:du
352 dp->nfiles++;
450 (void) printf("%5ld\t", (*dp)->nfiles);
/illumos-gate/usr/src/cmd/pg/
H A Dpg.c158 static short nfiles; variable
297 nfiles = argc - optind;
319 if (nfiles > 1)
322 if (nfiles == 0) {
324 nfiles++;
326 while (fnum < nfiles) {
1104 if (fnum + nskip > nfiles - 1) {
1105 nskip = (nfiles - 1) - fnum;
/illumos-gate/usr/src/cmd/fs.d/ufs/fsdb/
H A Dfsdb.c238 static int nfiles; variable
683 freemem(filenames, nfiles);
684 nfiles = 0;
707 freemem(filenames, nfiles);
708 nfiles = 0;
1263 if (nfiles != 1) {
1268 if (nfiles == 0)
1579 if (error || nfiles == 0) {
1587 if (nfiles) {
1589 qsort((char *)filenames, nfiles,
[all...]
/illumos-gate/usr/src/uts/common/os/
H A Dfio.c843 int fd, nfiles; local
853 cfip->fi_nfiles = nfiles = flist_minsize(pfip);
855 cfip->fi_list = kmem_zalloc(nfiles * sizeof (uf_entry_t), KM_SLEEP);
857 for (fd = 0, pufp = pfip->fi_list, cufp = cfip->fi_list; fd < nfiles;
993 int nfiles; local
1022 nfiles = fip->fi_nfiles;
1024 flist_grow(MAX(start, nfiles));
/illumos-gate/usr/src/cmd/acct/
H A Dacctcom.c93 nfiles; variable
272 nfiles++;
275 if(nfiles==0) {

Completed in 142 milliseconds

12