Searched refs:cs_ndir (Results 1 - 14 of 14) sorted by relevance

/netbsd-6-1-5-RELEASE/sbin/fsck_ffs/
H A Dpass5.c126 cssize = (u_char *)&cstotal.cs_spare[0] - (u_char *)&cstotal.cs_ndir;
282 newcg->cg_cs.cs_ndir = 0;
323 newcg->cg_cs.cs_ndir++;
402 cstotal.cs_ndir += newcg->cg_cs.cs_ndir;
411 cs->cs_ndir,newcg->cg_cs.cs_ndir);
482 (long long int)fs->fs_cstotal.cs_ndir,
483 (long long int)cstotal.cs_ndir);
H A Dutilities.c649 fs->fs_cstotal.cs_ndir =
650 fs->fs_old_cstotal.cs_ndir;
684 fs->fs_old_cstotal.cs_ndir = fs->fs_cstotal.cs_ndir;
H A Dsetup.c498 * cs_ndir may be inaccurate, particularly if we're using the -b
503 numdirs = sblock->fs_cstotal.cs_ndir;
H A Dinode.c761 cgp->cg_cs.cs_ndir++;
/netbsd-6-1-5-RELEASE/sbin/fsck_ext2fs/
H A Dpass5.c93 u_int32_t cs_ndir, cs_nbfree, cs_nifree; local
96 cs_ndir = 0;
193 cs_ndir += ndirs;
/netbsd-6-1-5-RELEASE/sys/ufs/ffs/
H A Dffs_bswap.c180 n->cs_ndir = bswap64(o->cs_ndir);
204 n->cg_cs.cs_ndir = bswap32(o->cg_cs.cs_ndir);
H A Dffs_alloc.c695 avgndir = fs->fs_cstotal.cs_ndir / fs->fs_ncg;
705 if (fs->fs_cs(fs, cg).cs_ndir < minndir &&
709 minndir = fs->fs_cs(fs, cg).cs_ndir;
712 if (fs->fs_cs(fs, cg).cs_ndir < minndir &&
716 minndir = fs->fs_cs(fs, cg).cs_ndir;
756 if (fs->fs_cs(fs, cg).cs_ndir < maxndir &&
763 if (fs->fs_cs(fs, cg).cs_ndir < maxndir &&
1407 ufs_add32(cgp->cg_cs.cs_ndir, 1, needswap);
1408 fs->fs_cstotal.cs_ndir++;
1409 fs->fs_cs(fs, cg).cs_ndir
[all...]
H A Dfs.h238 int32_t cs_ndir; /* number of directories */ member in struct:csum
245 int64_t cs_ndir; /* number of directories */ member in struct:csum_total
H A Dffs_vfsops.c1342 fs->fs_cstotal.cs_ndir = fs->fs_old_cstotal.cs_ndir;
1404 fs->fs_old_cstotal.cs_ndir = fs->fs_cstotal.cs_ndir;
/netbsd-6-1-5-RELEASE/sbin/resize_ffs/
H A Dresize_ffs.c546 cg->cg_cs.cs_ndir = 0;
1740 newsb->fs_cstotal.cs_ndir -= cgs[i]->cg_cs.cs_ndir;
1920 * Recompute the cg_inosused()[] bitmap, and the cs_nifree and cs_ndir
1931 newsb->fs_cstotal.cs_ndir -= cg->cg_cs.cs_ndir;
1933 cg->cg_cs.cs_ndir = 0;
1950 cg->cg_cs.cs_ndir++;
1958 newsb->fs_cstotal.cs_ndir += cg->cg_cs.cs_ndir;
[all...]
/netbsd-6-1-5-RELEASE/usr.sbin/makefs/ffs/
H A Dmkfs.c440 sblock.fs_cstotal.cs_ndir = 0;
463 sblock.fs_cstotal.cs_ndir = 0;
470 sblock.fs_old_cstotal.cs_ndir = sblock.fs_cstotal.cs_ndir;
538 sblock.fs_old_cstotal.cs_ndir = sblock.fs_cstotal.cs_ndir;
/netbsd-6-1-5-RELEASE/sbin/newfs/
H A Dmkfs.c499 sblock.fs_cstotal.cs_ndir = 0;
522 sblock.fs_cstotal.cs_ndir = 0;
529 sblock.fs_old_cstotal.cs_ndir = sblock.fs_cstotal.cs_ndir;
722 sblock.fs_old_cstotal.cs_ndir = sblock.fs_cstotal.cs_ndir;
1313 acg.cg_cs.cs_ndir++;
1314 sblock.fs_cstotal.cs_ndir++;
1315 fscs_0->cs_ndir++;
/netbsd-6-1-5-RELEASE/usr.sbin/dumpfs/
H A Ddumpfs.c278 fs->fs_cstotal.cs_ndir = fs->fs_old_cstotal.cs_ndir;
343 (long long)fs->fs_cstotal.cs_ndir,
496 cs->cs_nbfree, cs->cs_ndir, cs->cs_nifree, cs->cs_nffree);
613 acg.cg_cs.cs_nbfree, acg.cg_cs.cs_ndir,
/netbsd-6-1-5-RELEASE/usr.sbin/makefs/
H A Dffs.c305 superblock->fs_old_cstotal.cs_ndir = superblock->fs_cstotal.cs_ndir;
536 (long long)fs->fs_cstotal.cs_ndir);
1092 ufs_add32(cgp->cg_cs.cs_ndir, 1, fsopts->needswap);
1093 fs->fs_cstotal.cs_ndir++;
1094 fs->fs_cs(fs, cg).cs_ndir++;

Completed in 193 milliseconds