Searched refs:fragstoblks (Results 1 – 15 of 15) sorted by relevance
| /freebsd-9-stable/lib/libufs/ |
| D | cgroup.c | 91 fragno = fragstoblks(fs, cgbno); in cgbfree() 121 fragno = fragstoblks(fs, bbase); in cgbfree()
|
| /freebsd-9-stable/sys/ufs/ffs/ |
| D | ffs_snapshot.c | 346 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 …]
|
| D | fs.h | 457 /* cluster map */ howmany(fragstoblks(fs, (fs)->fs_fpg), NBBY))) 589 #define fragstoblks(fs, frags) /* calculates (frags / fs->fs_frag) */ \ macro
|
| D | ffs_alloc.c | 1738 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));
|
| D | ffs_softdep.c | 10594 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/ |
| D | ffs_alloc.c | 397 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()
|
| D | mkfs.c | 444 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/ |
| D | gjournal.c | 274 fragno = fragstoblks(fs, cgbno); in blkfree() 309 fragno = fragstoblks(fs, bbase); in blkfree()
|
| D | suj.c | 324 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()
|
| D | pass5.c | 142 howmany(fragstoblks(fs, fs->fs_fpg), CHAR_BIT); in pass5()
|
| D | fsutil.c | 718 howmany(fragstoblks(&sblock, sblock.fs_fpg), CHAR_BIT); in check_cgmagic()
|
| /freebsd-9-stable/sys/ufs/ufs/ |
| D | ufs_gjournal.c | 76 cgbno = fragstoblks(fs, cgtod(fs, cg)); in ufs_gjournal_modref()
|
| /freebsd-9-stable/sbin/newfs/ |
| D | mkfs.c | 472 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/ |
| D | dumpfs.c | 420 printf("-i %jd ", fragroundup(fs, lblktosize(fs, fragstoblks(fs, in marshal()
|
| /freebsd-9-stable/sbin/growfs/ |
| D | growfs.c | 385 howmany(fragstoblks(&sblock, sblock.fs_fpg), CHAR_BIT); in initcg()
|