Home
last modified time | relevance | path

Searched refs:cs_ndir (Results 1 – 18 of 18) sorted by relevance

/freebsd-head/sbin/fsck_ffs/
HDpass5.c207 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()
HDsetup.c164 numdirs = sblock.fs_cstotal.cs_ndir; in setup()
479 sblock.fs_cstotal.cs_ndir = sblock.fs_old_cstotal.cs_ndir; in readsb()
HDfsutil.c585 sblock.fs_cstotal.cs_ndir += cgp->cg_cs.cs_ndir - csp->cs_ndir; in cg_write()
HDmain.c509 countdirs = sblock.fs_cstotal.cs_ndir - countdirs; in checkfilesys()
HDsuj.c452 cgp->cg_cs.cs_ndir--; in ino_free()
2513 fs->fs_cstotal.cs_ndir += cgsum->cs_ndir; in suj_check()
HDinode.c1435 cgp->cg_cs.cs_ndir++; in allocino()
/freebsd-head/usr.sbin/makefs/ffs/
HDffs_bswap.c185 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()
HDmkfs.c466 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-head/tools/tools/find-sb/
HDmini_ufs.h33 int32_t cs_ndir; /* number of directories */ member
40 int64_t cs_ndir; /* number of directories */ member
/freebsd-head/sbin/dumpfs/
HDdumpfs.c197 (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-head/sbin/newfs/
HDmkfs.c491 sblock.fs_cstotal.cs_ndir = 0; in mkfs()
498 sblock.fs_old_cstotal.cs_ndir = sblock.fs_cstotal.cs_ndir; in mkfs()
622 sblock.fs_old_cstotal.cs_ndir = sblock.fs_cstotal.cs_ndir; in mkfs()
1044 acg.cg_cs.cs_ndir++; in alloc()
1045 sblock.fs_cstotal.cs_ndir++; in alloc()
1046 fscs[0].cs_ndir++; in alloc()
/freebsd-head/sys/ufs/ffs/
HDffs_subr.c358 fs->fs_cstotal.cs_ndir = fs->fs_old_cstotal.cs_ndir; in ffs_oldfscompat_read()
405 fs->fs_old_cstotal.cs_ndir = fs->fs_cstotal.cs_ndir; in ffs_oldfscompat_write()
593 FCHK(fs->fs_cstotal.cs_ndir, >, in validate_sblock()
666 FCHK(fs->fs_cstotal.cs_ndir, <, 0, %jd); in validate_sblock()
667 FCHK(fs->fs_cstotal.cs_ndir, >, in validate_sblock()
HDfs.h297 int32_t cs_ndir; /* number of directories */ member
303 int64_t cs_ndir; /* number of directories */ member
HDffs_alloc.c1256 avgndir = fs->fs_cstotal.cs_ndir / fs->fs_ncg; in ffs_dirpref()
1350 if (fs->fs_cs(fs, cg).cs_ndir < maxndir && in ffs_dirpref()
1357 if (fs->fs_cs(fs, cg).cs_ndir < maxndir && in ffs_dirpref()
2254 cgp->cg_cs.cs_ndir++; in ffs_nodealloccg()
2255 fs->fs_cstotal.cs_ndir++; in ffs_nodealloccg()
2256 fs->fs_cs(fs, cg).cs_ndir++; in ffs_nodealloccg()
2907 cgp->cg_cs.cs_ndir--; in ffs_freefile()
2908 fs->fs_cstotal.cs_ndir--; in ffs_freefile()
2909 fs->fs_cs(fs, cg).cs_ndir--; in ffs_freefile()
3487 fs->fs_cstotal.cs_ndir += cmd.value; in sysctl_ffs_fsck()
HDffs_softdep.c2684 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()
/freebsd-head/usr.sbin/makefs/
HDffs.c304 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-head/sbin/growfs/
HDdebug.c409 fprintf(dbg_log, "ndir int32_t 0x%08x\n", cs->cs_ndir); in dbg_dump_csum()
435 ((unsigned int *)&(cs->cs_ndir))[1], in dbg_dump_csum_total()
436 ((unsigned int *)&(cs->cs_ndir))[0]); in dbg_dump_csum_total()
HDgrowfs.c471 sblock.fs_cstotal.cs_ndir += acg.cg_cs.cs_ndir; in initcg()