Searched refs:blkstofrags (Results 1 – 7 of 7) sorted by relevance
/freebsd/sys/ufs/ffs/ |
H A D | fs.h | 672 (blkstofrags((fs), ((((ino_t)(x)) % (fs)->fs_ipg) / INOPB(fs)))))) 715 #define blkstofrags(fs, blks) /* calculates (blks * fs->fs_frag) */ \ macro 727 (blkstofrags((fs), (fs)->fs_cstotal.cs_nbfree) + \
|
H A D | ffs_snapshot.c | 1293 blkno = blkstofrags(fs, lblkno); in mapacct_ufs1() 1578 blkno = blkstofrags(fs, lblkno); in mapacct_ufs2() 1677 else if ((dblk == blkstofrags(fs, blkno) && in ffs_snapremove() 1702 else if ((dblk == blkstofrags(fs, blkno) && in ffs_snapremove() 1717 else if ((dblk == blkstofrags(fs, blkno) && in ffs_snapremove() 2530 bp->b_iooffset = dbtob(fsbtodb(fs, blkstofrags(fs, lbn))); in readblock()
|
H A D | ffs_alloc.c | 2050 bno = cgbase(fs, cg) + blkstofrags(fs, got - run + 1); in ffs_clusteralloc() 2053 len = blkstofrags(fs, len); in ffs_clusteralloc()
|
H A D | ffs_softdep.c | 6669 totblks = blkstofrags(fs, numblks); in blkcount() 6677 totblks += blkstofrags(fs, howmany(numblks, NINDIR(fs))); in blkcount()
|
/freebsd/sbin/fsck_ffs/ |
H A D | pass1.c | 528 if (blkno == blkstofrags(&sblock, idesc->id_lbn)) in pass1check() 531 blkno = blkstofrags(&sblock, idesc->id_lbn); in pass1check()
|
H A D | fsutil.c | 573 fragno = blkstofrags(&sblock, cgbno); in cg_write()
|
/freebsd/lib/libufs/ |
H A D | cgroup.c | 72 return (cgbase(fs, cgp->cg_cgx) + blkstofrags(fs, bno)); in cgballoc()
|