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

/netbsd-current/sbin/fsck_ffs/
H A Dpass5.c130 cssize = (u_char *)&cstotal.cs_spare[0] - (u_char *)&cstotal.cs_ndir;
293 newcg->cg_cs.cs_ndir = 0;
334 newcg->cg_cs.cs_ndir++;
413 cstotal.cs_ndir += newcg->cg_cs.cs_ndir;
422 cs->cs_ndir,newcg->cg_cs.cs_ndir);
493 (long long int)fs->fs_cstotal.cs_ndir,
494 (long long int)cstotal.cs_ndir);
H A Dutilities.c661 fs->fs_cstotal.cs_ndir =
662 fs->fs_old_cstotal.cs_ndir;
696 fs->fs_old_cstotal.cs_ndir = fs->fs_cstotal.cs_ndir;
H A Dsetup.c513 * cs_ndir may be inaccurate, particularly if we're using the -b
518 numdirs = sblock->fs_cstotal.cs_ndir;
H A Dinode.c771 cgp->cg_cs.cs_ndir++;
/netbsd-current/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-current/sys/ufs/ffs/
H A Dffs_bswap.c184 n->cs_ndir = bswap64(o->cs_ndir);
208 n->cg_cs.cs_ndir = bswap32(o->cg_cs.cs_ndir);
H A Dffs_alloc.c655 avgndir = fs->fs_cstotal.cs_ndir / fs->fs_ncg;
665 if (fs->fs_cs(fs, cg).cs_ndir < minndir &&
669 minndir = fs->fs_cs(fs, cg).cs_ndir;
672 if (fs->fs_cs(fs, cg).cs_ndir < minndir &&
676 minndir = fs->fs_cs(fs, cg).cs_ndir;
719 if (fs->fs_cs(fs, cg).cs_ndir < maxndir &&
726 if (fs->fs_cs(fs, cg).cs_ndir < maxndir &&
1411 ufs_add32(cgp->cg_cs.cs_ndir, 1, needswap);
1412 fs->fs_cstotal.cs_ndir++;
1413 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.c1672 fs->fs_cstotal.cs_ndir = fs->fs_old_cstotal.cs_ndir;
1735 fs->fs_old_cstotal.cs_ndir = fs->fs_cstotal.cs_ndir;
/netbsd-current/sys/lib/libsa/
H A Dffs_bswap.c49 n->cs_ndir = bswap64(o->cs_ndir);
/netbsd-current/usr.sbin/makefs/ffs/
H A Dmkfs.c460 sblock.fs_cstotal.cs_ndir = 0;
483 sblock.fs_cstotal.cs_ndir = 0;
490 sblock.fs_old_cstotal.cs_ndir = sblock.fs_cstotal.cs_ndir;
552 sblock.fs_old_cstotal.cs_ndir = sblock.fs_cstotal.cs_ndir;
/netbsd-current/sbin/resize_ffs/
H A Dresize_ffs.c555 cg->cg_cs.cs_ndir = 0;
1799 newsb->fs_cstotal.cs_ndir -= cgs[i]->cg_cs.cs_ndir;
1979 * Recompute the cg_inosused()[] bitmap, and the cs_nifree and cs_ndir
1990 newsb->fs_cstotal.cs_ndir -= cg->cg_cs.cs_ndir;
1992 cg->cg_cs.cs_ndir = 0;
2009 cg->cg_cs.cs_ndir++;
2017 newsb->fs_cstotal.cs_ndir += cg->cg_cs.cs_ndir;
[all...]
/netbsd-current/sbin/newfs/
H A Dmkfs.c509 sblock.fs_cstotal.cs_ndir = 0;
532 sblock.fs_cstotal.cs_ndir = 0;
539 sblock.fs_old_cstotal.cs_ndir = sblock.fs_cstotal.cs_ndir;
735 sblock.fs_old_cstotal.cs_ndir = sblock.fs_cstotal.cs_ndir;
1330 acg.cg_cs.cs_ndir++;
1331 sblock.fs_cstotal.cs_ndir++;
1332 fscs_0->cs_ndir++;
/netbsd-current/usr.sbin/dumpfs/
H A Ddumpfs.c281 fs->fs_cstotal.cs_ndir = fs->fs_old_cstotal.cs_ndir;
348 (long long)fs->fs_cstotal.cs_ndir,
524 cs->cs_nbfree, cs->cs_ndir, cs->cs_nifree, cs->cs_nffree);
642 acg.cg_cs.cs_nbfree, acg.cg_cs.cs_ndir,
/netbsd-current/usr.sbin/makefs/
H A Dffs.c301 superblock->fs_old_cstotal.cs_ndir = superblock->fs_cstotal.cs_ndir;
558 (long long)fs->fs_cstotal.cs_ndir);
1114 ufs_add32(cgp->cg_cs.cs_ndir, 1, fsopts->needswap);
1115 fs->fs_cstotal.cs_ndir++;
1116 fs->fs_cs(fs, cg).cs_ndir++;

Completed in 191 milliseconds