/freebsd/sbin/fsck_ffs/ |
H A D | pass5.c | 207 newcg->cg_cs.cs_ndir = 0; in pass5() 244 newcg->cg_cs.cs_ndir++; in pass5() 331 cstotal.cs_ndir += cg->cg_cs.cs_ndir; in pass5() 336 cstotal.cs_ndir += newcg->cg_cs.cs_ndir; in pass5() 372 (intmax_t)fs->fs_cstotal.cs_ndir, in pass5() 379 (intmax_t)cstotal.cs_ndir, in pass5() 399 cmd.value = cstotal.cs_ndir - fs->fs_cstotal.cs_ndir; in pass5() 472 excessdirs = oldcg->cg_cs.cs_ndir - newcg->cg_cs.cs_ndir; in update_maps()
|
H A D | setup.c | 164 numdirs = sblock.fs_cstotal.cs_ndir; in setup() 479 sblock.fs_cstotal.cs_ndir = sblock.fs_old_cstotal.cs_ndir; in readsb()
|
H A D | fsutil.c | 585 sblock.fs_cstotal.cs_ndir += cgp->cg_cs.cs_ndir - csp->cs_ndir; in cg_write()
|
H A D | main.c | 509 countdirs = sblock.fs_cstotal.cs_ndir - countdirs; in checkfilesys()
|
H A D | suj.c | 452 cgp->cg_cs.cs_ndir--; in ino_free() 2513 fs->fs_cstotal.cs_ndir += cgsum->cs_ndir; in suj_check()
|
H A D | inode.c | 1411 cgp->cg_cs.cs_ndir++; in allocino()
|
/freebsd/usr.sbin/makefs/ffs/ |
H A D | ffs_bswap.c | 185 n->cs_ndir = bswap64(o->cs_ndir); in ffs_csumtotal_swap() 209 n->cg_cs.cs_ndir = bswap32(o->cg_cs.cs_ndir); in ffs_cg_swap()
|
H A D | mkfs.c | 466 sblock.fs_cstotal.cs_ndir = 0; in ffs_mkfs() 490 sblock.fs_cstotal.cs_ndir = 0; in ffs_mkfs() 497 sblock.fs_old_cstotal.cs_ndir = sblock.fs_cstotal.cs_ndir; in ffs_mkfs() 562 sblock.fs_old_cstotal.cs_ndir = sblock.fs_cstotal.cs_ndir; in ffs_mkfs()
|
/freebsd/tools/tools/find-sb/ |
H A D | mini_ufs.h | 33 int32_t cs_ndir; /* number of directories */ member 40 int64_t cs_ndir; /* number of directories */ member
|
/freebsd/sbin/dumpfs/ |
H A D | dumpfs.c | 197 (intmax_t)afs.fs_cstotal.cs_ndir, in dumpfs() 214 afs.fs_old_cstotal.cs_nbfree, afs.fs_old_cstotal.cs_ndir, in dumpfs() 308 cs->cs_nbfree, cs->cs_ndir, cs->cs_nifree, cs->cs_nffree); in dumpfs() 362 acg.cg_cs.cs_nbfree, acg.cg_cs.cs_ndir, in dumpcg()
|
/freebsd/sbin/newfs/ |
H A D | mkfs.c | 495 sblock.fs_cstotal.cs_ndir = 0; in mkfs() 502 sblock.fs_old_cstotal.cs_ndir = sblock.fs_cstotal.cs_ndir; in mkfs() 626 sblock.fs_old_cstotal.cs_ndir = sblock.fs_cstotal.cs_ndir; in mkfs() 1048 acg.cg_cs.cs_ndir++; in alloc() 1049 sblock.fs_cstotal.cs_ndir++; in alloc() 1050 fscs[0].cs_ndir++; in alloc()
|
/freebsd/usr.sbin/makefs/ |
H A D | ffs.c | 304 superblock->fs_old_cstotal.cs_ndir = superblock->fs_cstotal.cs_ndir; in ffs_makefs() 580 (long long)fs->fs_cstotal.cs_ndir); in ffs_create_image() 1146 ufs_add32(cgp->cg_cs.cs_ndir, 1, fsopts->needswap); in ffs_write_inode() 1147 fs->fs_cstotal.cs_ndir++; in ffs_write_inode() 1148 fs->fs_cs(fs, cg).cs_ndir++; in ffs_write_inode()
|
H A D | ffs.c | 304 superblock->fs_old_cstotal.cs_ndir = superblock->fs_cstotal.cs_ndir; in ffs_makefs() 580 (long long)fs->fs_cstotal.cs_ndir); in ffs_create_image() 1146 ufs_add32(cgp->cg_cs.cs_ndir, 1, fsopts->needswap); in ffs_write_inode() 1147 fs->fs_cstotal.cs_ndir++; in ffs_write_inode() 1148 fs->fs_cs(fs, cg).cs_ndir++; in ffs_write_inode()
|
/freebsd/sbin/growfs/ |
H A D | debug.c | 411 fprintf(dbg_log, "ndir int32_t 0x%08x\n", cs->cs_ndir); in dbg_dump_csum() 437 ((unsigned int *)&(cs->cs_ndir))[1], in dbg_dump_csum_total() 438 ((unsigned int *)&(cs->cs_ndir))[0]); in dbg_dump_csum_total()
|
H A D | growfs.c | 471 sblock.fs_cstotal.cs_ndir += acg.cg_cs.cs_ndir; in initcg()
|
/freebsd/sys/ufs/ffs/ |
H A D | fs.h | 297 int32_t cs_ndir; /* number of directories */ member 303 int64_t cs_ndir; /* number of directories */ member
|
H A D | ffs_alloc.c | 1255 avgndir = fs->fs_cstotal.cs_ndir / fs->fs_ncg; in ffs_dirpref() 1349 if (fs->fs_cs(fs, cg).cs_ndir < maxndir && in ffs_dirpref() 1356 if (fs->fs_cs(fs, cg).cs_ndir < maxndir && in ffs_dirpref() 2236 cgp->cg_cs.cs_ndir++; in ffs_nodealloccg() 2237 fs->fs_cstotal.cs_ndir++; in ffs_nodealloccg() 2238 fs->fs_cs(fs, cg).cs_ndir++; in ffs_nodealloccg() 2889 cgp->cg_cs.cs_ndir--; in ffs_freefile() 2890 fs->fs_cstotal.cs_ndir--; in ffs_freefile() 2891 fs->fs_cs(fs, cg).cs_ndir--; in ffs_freefile() 3469 fs->fs_cstotal.cs_ndir += cmd.value; in sysctl_ffs_fsck()
|
H A D | ffs_subr.c | 430 FCHK(fs->fs_cstotal.cs_ndir, >, in validate_sblock() 503 FCHK(fs->fs_cstotal.cs_ndir, <, 0, %jd); in validate_sblock() 504 FCHK(fs->fs_cstotal.cs_ndir, >, in validate_sblock()
|
H A D | ffs_vfsops.c | 1299 fs->fs_cstotal.cs_ndir = fs->fs_old_cstotal.cs_ndir; in ffs_oldfscompat_read() 1343 fs->fs_old_cstotal.cs_ndir = fs->fs_cstotal.cs_ndir; in ffs_oldfscompat_write()
|
H A D | ffs_softdep.c | 2684 cstotal.cs_ndir += cgp->cg_cs.cs_ndir; in softdep_mount() 11191 cgp->cg_cs.cs_ndir--; in initiate_write_bmsafemap() 12188 cgp->cg_cs.cs_ndir++; in handle_written_bmsafemap()
|