Home
last modified time | relevance | path

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

/freebsd/sbin/fsck_ffs/
H A Dpass5.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()
H A Dsetup.c164 numdirs = sblock.fs_cstotal.cs_ndir; in setup()
479 sblock.fs_cstotal.cs_ndir = sblock.fs_old_cstotal.cs_ndir; in readsb()
H A Dfsutil.c585 sblock.fs_cstotal.cs_ndir += cgp->cg_cs.cs_ndir - csp->cs_ndir; in cg_write()
H A Dmain.c509 countdirs = sblock.fs_cstotal.cs_ndir - countdirs; in checkfilesys()
H A Dsuj.c452 cgp->cg_cs.cs_ndir--; in ino_free()
2513 fs->fs_cstotal.cs_ndir += cgsum->cs_ndir; in suj_check()
H A Dinode.c1411 cgp->cg_cs.cs_ndir++; in allocino()
/freebsd/usr.sbin/makefs/ffs/
H A Dffs_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()
H A Dmkfs.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/tools/tools/find-sb/
H A Dmini_ufs.h33 int32_t cs_ndir; /* number of directories */ member
40 int64_t cs_ndir; /* number of directories */ member
/freebsd/sbin/dumpfs/
H A Ddumpfs.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/sbin/newfs/
H A Dmkfs.c495 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 Dffs.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()
H A Dffs.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/sbin/growfs/
H A Ddebug.c411 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 Dgrowfs.c471 sblock.fs_cstotal.cs_ndir += acg.cg_cs.cs_ndir; in initcg()
/freebsd/sys/ufs/ffs/
H A Dfs.h297 int32_t cs_ndir; /* number of directories */ member
303 int64_t cs_ndir; /* number of directories */ member
H A Dffs_alloc.c1255 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 Dffs_subr.c430 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 Dffs_vfsops.c1299 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 Dffs_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()