/dragonfly/sbin/fsck/ |
H A D | pass5.c | 185 newcg->cg_cs.cs_ndir = 0; in pass5() 186 newcg->cg_cs.cs_nffree = 0; in pass5() 187 newcg->cg_cs.cs_nbfree = 0; in pass5() 188 newcg->cg_cs.cs_nifree = fs->fs_ipg; in pass5() 216 newcg->cg_cs.cs_ndir++; in pass5() 221 newcg->cg_cs.cs_nifree--; in pass5() 235 newcg->cg_cs.cs_nifree--; in pass5() 248 newcg->cg_cs.cs_nbfree++; in pass5() 256 newcg->cg_cs.cs_nffree += frags; in pass5() 293 cstotal.cs_ndir += newcg->cg_cs.cs_ndir; in pass5() [all …]
|
H A D | utilities.c | 404 cgp->cg_cs.cs_nbfree--; in allocblk() 406 cgp->cg_cs.cs_nffree -= frags; in allocblk()
|
H A D | inode.c | 583 cgp->cg_cs.cs_nifree--; in allocino() 587 cgp->cg_cs.cs_ndir++; in allocino()
|
/dragonfly/sbin/growfs/ |
H A D | growfs.c | 432 acg.cg_cs.cs_nbfree++; in initcg() 452 acg.cg_cs.cs_nbfree++; in initcg() 500 *cs = acg.cg_cs; in initcg() 846 acg.cg_cs.cs_nbfree++; in updjcg() 866 (acg.cg_cs.cs_nffree - aocg.cg_cs.cs_nffree); in updjcg() 868 (acg.cg_cs.cs_nbfree - aocg.cg_cs.cs_nbfree); in updjcg() 876 *cs = acg.cg_cs; in updjcg() 1102 *cs = acg.cg_cs; in updcsloc() 1209 *cs = acg.cg_cs; in updcsloc() 1523 *cs = acg.cg_cs; in updcsloc() [all …]
|
H A D | debug.c | 338 dbg_dump_csum("internal cs", &cgr->cg_cs); in dbg_dump_cg()
|
/dragonfly/usr.sbin/makefs/ffs/ |
H A D | ffs_bswap.c | 218 n->cg_cs.cs_ndir = bswap32(o->cg_cs.cs_ndir); in ffs_cg_swap() 219 n->cg_cs.cs_nbfree = bswap32(o->cg_cs.cs_nbfree); in ffs_cg_swap() 220 n->cg_cs.cs_nifree = bswap32(o->cg_cs.cs_nifree); in ffs_cg_swap() 221 n->cg_cs.cs_nffree = bswap32(o->cg_cs.cs_nffree); in ffs_cg_swap()
|
H A D | ffs_alloc.c | 317 (cgp->cg_cs.cs_nbfree == 0 && size == fs->fs_bsize)) { in ffs_alloccg() 340 if (cgp->cg_cs.cs_nbfree == 0) { in ffs_alloccg() 349 ufs_add32(cgp->cg_cs.cs_nffree, i, needswap); in ffs_alloccg() 360 ufs_add32(cgp->cg_cs.cs_nffree, -frags, needswap); in ffs_alloccg() 417 ufs_add32(cgp->cg_cs.cs_nbfree, -1, needswap); in ffs_alloccgblk() 477 ufs_add32(cgp->cg_cs.cs_nbfree, 1, needswap); in ffs_blkfree() 502 ufs_add32(cgp->cg_cs.cs_nffree, i, needswap); in ffs_blkfree() 515 ufs_add32(cgp->cg_cs.cs_nffree, -fs->fs_frag, needswap); in ffs_blkfree() 519 ufs_add32(cgp->cg_cs.cs_nbfree, 1, needswap); in ffs_blkfree()
|
H A D | mkfs.c | 742 acg.cg_cs.cs_nifree += sblock.fs_ipg; in initcg() 746 acg.cg_cs.cs_nifree--; in initcg() 757 acg.cg_cs.cs_nbfree++; in initcg() 771 acg.cg_cs.cs_nffree++; in initcg() 779 acg.cg_cs.cs_nbfree++; in initcg() 792 acg.cg_cs.cs_nffree++; in initcg() 824 sblock.fs_cs(&sblock, cylno) = acg.cg_cs; in initcg()
|
/dragonfly/sbin/newfs/ |
H A D | mkfs.c | 824 acg.cg_cs.cs_nifree += sblock.fs_ipg; in initcg() 828 acg.cg_cs.cs_nifree--; in initcg() 852 acg.cg_cs.cs_nbfree++; in initcg() 864 acg.cg_cs.cs_nffree++; in initcg() 872 acg.cg_cs.cs_nbfree++; in initcg() 882 acg.cg_cs.cs_nffree++; in initcg() 918 *cs = acg.cg_cs; in initcg() 1058 if (acg.cg_cs.cs_nbfree == 0) { in alloc() 1072 acg.cg_cs.cs_nbfree--; in alloc() 1076 acg.cg_cs.cs_ndir++; in alloc() [all …]
|
/dragonfly/sys/vfs/ufs/ |
H A D | ffs_alloc.c | 981 cgp->cg_cs.cs_nffree--; in ffs_fragextend() 1062 cgp->cg_cs.cs_nffree += i; in ffs_alloccg() 1083 cgp->cg_cs.cs_nffree -= frags; in ffs_alloccg() 1211 cgp->cg_cs.cs_nbfree--; in ffs_alloccgblk() 1464 cgp->cg_cs.cs_nifree--; in ffs_nodealloccg() 1469 cgp->cg_cs.cs_ndir++; in ffs_nodealloccg() 1546 cgp->cg_cs.cs_nbfree++; in ffs_blkfree_cg() 1585 cgp->cg_cs.cs_nffree += i; in ffs_blkfree_cg() 1604 cgp->cg_cs.cs_nbfree++; in ffs_blkfree_cg() 1802 cgp->cg_cs.cs_nifree++; in ffs_freefile() [all …]
|
H A D | fs.h | 360 struct csum cg_cs; /* cylinder summary information */ member 417 struct csum cg_cs; /* cylinder summary information */ member
|
H A D | ffs_softdep.c | 1097 cstotal.cs_nffree += cgp->cg_cs.cs_nffree; in softdep_mount() 1098 cstotal.cs_nbfree += cgp->cg_cs.cs_nbfree; in softdep_mount() 1099 cstotal.cs_nifree += cgp->cg_cs.cs_nifree; in softdep_mount() 1100 cstotal.cs_ndir += cgp->cg_cs.cs_ndir; in softdep_mount() 1101 fs->fs_cs(fs, cyl) = cgp->cg_cs; in softdep_mount()
|
/dragonfly/sbin/dumpfs/ |
H A D | dumpfs.c | 268 acg.cg_cs.cs_nbfree, acg.cg_cs.cs_ndir, in dumpcg() 269 acg.cg_cs.cs_nifree, acg.cg_cs.cs_nffree); in dumpcg()
|
/dragonfly/stand/boot/common/ |
H A D | fs.h | 453 struct csum cg_cs; /* cylinder summary information */ member
|
/dragonfly/usr.sbin/makefs/ |
H A D | ffs.c | 1180 ufs_add32(cgp->cg_cs.cs_nifree, -1, fsopts->needswap); in ffs_write_inode() 1184 ufs_add32(cgp->cg_cs.cs_ndir, 1, fsopts->needswap); in ffs_write_inode()
|