Searched refs:fragstoblks (Results 1 – 15 of 15) sorted by relevance
| /freebsd-10-stable/lib/libufs/ |
| D | cgroup.c | 91 fragno = fragstoblks(fs, cgbno); in cgbfree() 121 fragno = fragstoblks(fs, bbase); in cgbfree()
|
| /freebsd-10-stable/sys/ufs/ffs/ |
| D | ffs_snapshot.c | 348 blkno = fragstoblks(fs, fs->fs_csaddr); 653 blkno = fragstoblks(fs, fs->fs_csaddr); 655 if (fragstoblks(fs, cgtod(fs, cg) > blkno)) 657 *blkp++ = fragstoblks(fs, cgtod(fs, cg)); 663 *blkp++ = fragstoblks(fs, cgtod(fs, cg)); 775 blkno = fragstoblks(fs, fs->fs_csaddr); 1011 lbn = fragstoblks(fs, ino_to_fsba(fs, cancelip->i_number)); 1123 (error = readblock(cancelvp, bp, fragstoblks(fs, blkno)))) { 1198 lbn = fragstoblks(fs, blkno); 1295 lbn = fragstoblks(fs, ino_to_fsba(fs, cancelip->i_number)); [all …]
|
| D | fs.h | 471 /* cluster map */ howmany(fragstoblks(fs, (fs)->fs_fpg), NBBY))) 603 #define fragstoblks(fs, frags) /* calculates (frags / fs->fs_frag) */ \ macro
|
| D | ffs_alloc.c | 1785 if (ffs_isblock(fs, blksfree, fragstoblks(fs, bno))) 1797 blkno = fragstoblks(fs, bno); 1904 bpref = fragstoblks(fs, dtogd(fs, bpref)); 2158 cgblkno = fragstoblks(fs, cgtod(fs, cg)); 2196 fragno = fragstoblks(fs, cgbno); 2244 fragno = fragstoblks(fs, bbase); 2407 free = ffs_isblock(fs, blksfree, fragstoblks(fs, cgbno)); 2466 cgbno = fragstoblks(fs, cgtod(fs, cg)); 2538 cgbno = fragstoblks(fs, cgtod(fs, cg));
|
| D | ffs_softdep.c | 10822 fragno = fragstoblks(fs, cgbno); 10840 fragno = fragstoblks(fs, bbase); 11757 blkno = fragstoblks(fs, cgbno); 11765 fragno = fragstoblks(fs, bbase); 13293 needed += fragstoblks(fs,
|
| /freebsd-10-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-10-stable/sbin/fsck_ffs/ |
| D | gjournal.c | 274 fragno = fragstoblks(fs, cgbno); in blkfree() 309 fragno = fragstoblks(fs, bbase); in blkfree()
|
| D | suj.c | 325 hd = &sc->sc_blkhash[SUJ_HASH(fragstoblks(fs, blk))]; in blk_lookup() 346 hd = &dbhash[SUJ_HASH(fragstoblks(fs, blk))]; in dblk_lookup() 424 hd = &sc->sc_iblkhash[SUJ_HASH(fragstoblks(fs, blk))]; in ino_read() 462 hd = &sc->sc_iblkhash[SUJ_HASH(fragstoblks(fs, blk))]; in ino_dirty() 665 fragno = fragstoblks(fs, cgbno); in blk_free() 1860 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 | 749 howmany(fragstoblks(&sblock, sblock.fs_fpg), CHAR_BIT); in check_cgmagic()
|
| /freebsd-10-stable/sys/ufs/ufs/ |
| D | ufs_gjournal.c | 76 cgbno = fragstoblks(fs, cgtod(fs, cg)); in ufs_gjournal_modref()
|
| /freebsd-10-stable/sbin/newfs/ |
| D | mkfs.c | 473 fragstoblks(&sblock, sblock.fs_dsize) - in mkfs() 715 howmany(fragstoblks(&sblock, sblock.fs_fpg), CHAR_BIT); in initcg() 985 blkno = fragstoblks(&sblock, d); in alloc()
|
| /freebsd-10-stable/sbin/dumpfs/ |
| D | dumpfs.c | 420 printf("-i %jd ", fragroundup(fs, lblktosize(fs, fragstoblks(fs, in marshal()
|
| /freebsd-10-stable/sbin/growfs/ |
| D | growfs.c | 381 howmany(fragstoblks(&sblock, sblock.fs_fpg), CHAR_BIT); in initcg()
|