Home
last modified time | relevance | path

Searched refs:fragstoblks (Results 1 – 15 of 15) sorted by relevance

/freebsd-9-stable/lib/libufs/
Dcgroup.c91 fragno = fragstoblks(fs, cgbno); in cgbfree()
121 fragno = fragstoblks(fs, bbase); in cgbfree()
/freebsd-9-stable/sys/ufs/ffs/
Dffs_snapshot.c346 blkno = fragstoblks(fs, fs->fs_csaddr);
651 blkno = fragstoblks(fs, fs->fs_csaddr);
653 if (fragstoblks(fs, cgtod(fs, cg) > blkno))
655 *blkp++ = fragstoblks(fs, cgtod(fs, cg));
661 *blkp++ = fragstoblks(fs, cgtod(fs, cg));
772 blkno = fragstoblks(fs, fs->fs_csaddr);
1008 lbn = fragstoblks(fs, ino_to_fsba(fs, cancelip->i_number));
1120 (error = readblock(cancelvp, bp, fragstoblks(fs, blkno)))) {
1195 lbn = fragstoblks(fs, blkno);
1292 lbn = fragstoblks(fs, ino_to_fsba(fs, cancelip->i_number));
[all …]
Dfs.h457 /* cluster map */ howmany(fragstoblks(fs, (fs)->fs_fpg), NBBY)))
589 #define fragstoblks(fs, frags) /* calculates (frags / fs->fs_frag) */ \ macro
Dffs_alloc.c1738 if (ffs_isblock(fs, blksfree, fragstoblks(fs, bno)))
1750 blkno = fragstoblks(fs, bno);
1858 bpref = fragstoblks(fs, dtogd(fs, bpref));
2118 cgblkno = fragstoblks(fs, cgtod(fs, cg));
2155 fragno = fragstoblks(fs, cgbno);
2203 fragno = fragstoblks(fs, bbase);
2366 free = ffs_isblock(fs, blksfree, fragstoblks(fs, cgbno));
2425 cgbno = fragstoblks(fs, cgtod(fs, cg));
2494 cgbno = fragstoblks(fs, cgtod(fs, cg));
Dffs_softdep.c10594 fragno = fragstoblks(fs, cgbno);
10612 fragno = fragstoblks(fs, bbase);
11454 blkno = fragstoblks(fs, cgbno);
11462 fragno = fragstoblks(fs, bbase);
12902 needed += fragstoblks(fs,
/freebsd-9-stable/usr.sbin/makefs/ffs/
Dffs_alloc.c397 if (ffs_isblock(fs, blksfree_swap, fragstoblks(fs, bno))) in ffs_alloccgblk()
408 blkno = fragstoblks(fs, bno); in ffs_alloccgblk()
460 fragno = fragstoblks(fs, cgbno); in ffs_blkfree()
499 fragno = fragstoblks(fs, bbase); in ffs_blkfree()
Dmkfs.c444 fragstoblks(&sblock, sblock.fs_dsize) - in ffs_mkfs()
650 howmany(fragstoblks(&sblock, sblock.fs_fpg), CHAR_BIT); in initcg()
/freebsd-9-stable/sbin/fsck_ffs/
Dgjournal.c274 fragno = fragstoblks(fs, cgbno); in blkfree()
309 fragno = fragstoblks(fs, bbase); in blkfree()
Dsuj.c324 hd = &sc->sc_blkhash[SUJ_HASH(fragstoblks(fs, blk))]; in blk_lookup()
345 hd = &dbhash[SUJ_HASH(fragstoblks(fs, blk))]; in dblk_lookup()
423 hd = &sc->sc_iblkhash[SUJ_HASH(fragstoblks(fs, blk))]; in ino_read()
461 hd = &sc->sc_iblkhash[SUJ_HASH(fragstoblks(fs, blk))]; in ino_dirty()
664 fragno = fragstoblks(fs, cgbno); in blk_free()
1853 maxbno = fragstoblks(fs, fs->fs_fpg); in cg_write()
Dpass5.c142 howmany(fragstoblks(fs, fs->fs_fpg), CHAR_BIT); in pass5()
Dfsutil.c718 howmany(fragstoblks(&sblock, sblock.fs_fpg), CHAR_BIT); in check_cgmagic()
/freebsd-9-stable/sys/ufs/ufs/
Dufs_gjournal.c76 cgbno = fragstoblks(fs, cgtod(fs, cg)); in ufs_gjournal_modref()
/freebsd-9-stable/sbin/newfs/
Dmkfs.c472 fragstoblks(&sblock, sblock.fs_dsize) - in mkfs()
695 howmany(fragstoblks(&sblock, sblock.fs_fpg), CHAR_BIT); in initcg()
965 blkno = fragstoblks(&sblock, d); in alloc()
/freebsd-9-stable/sbin/dumpfs/
Ddumpfs.c420 printf("-i %jd ", fragroundup(fs, lblktosize(fs, fragstoblks(fs, in marshal()
/freebsd-9-stable/sbin/growfs/
Dgrowfs.c385 howmany(fragstoblks(&sblock, sblock.fs_fpg), CHAR_BIT); in initcg()