Searched refs:dofftofsb (Results 1 – 6 of 6) sorted by relevance
| /dragonfly/sys/vfs/ufs/ |
| HD | ffs_balloc.c | 136 dofftofsb(fs, bp->b_bio2.bio_offset), in ffs_balloc() 140 ip->i_db[nb] = dofftofsb(fs, bp->b_bio2.bio_offset); in ffs_balloc() 189 dofftofsb(fs, bp->b_bio2.bio_offset), in ffs_balloc() 210 ip->i_db[lbn] = dofftofsb(fs, bp->b_bio2.bio_offset); in ffs_balloc()
|
| HD | ffs_alloc.c | 378 dofftofsb(fs, buflist->bs_children[i]->b_bio2.bio_offset), fs->fs_bsize)) in ffs_reallocblks() 395 if (dtog(fs, dofftofsb(fs, buflist->bs_children[0]->b_bio2.bio_offset)) != in ffs_reallocblks() 396 dtog(fs, dofftofsb(fs, buflist->bs_children[len - 1]->b_bio2.bio_offset))) in ffs_reallocblks() 477 dofftofsb(fs, buflist->bs_children[i]->b_bio2.bio_offset), fs->fs_bsize)) in ffs_reallocblks() 479 if (dofftofsb(fs, buflist->bs_children[i]->b_bio2.bio_offset) != *bap) in ffs_reallocblks() 539 dofftofsb(fs, buflist->bs_children[i]->b_bio2.bio_offset), in ffs_reallocblks() 545 dofftofsb(fs, buflist->bs_children[i]->b_bio2.bio_offset), fs->fs_bsize)) in ffs_reallocblks()
|
| HD | fs.h | 505 #define dofftofsb(fs, b) ((ufs_daddr_t)((b) >> (fs)->fs_fshift)) macro
|
| /dragonfly/sys/vfs/ext2fs/ |
| HD | fs.h | 150 #define dofftofsb(fs, blk) /* calculates blk / fs->fs_fsize */ \ macro
|
| HD | ext2_balloc.c | 142 ip->i_db[lbn] = dofftofsb(fs, bp->b_bio2.bio_offset); in ext2_balloc()
|
| HD | ext2_alloc.c | 255 if (dtog(fs, dofftofsb(fs, buflist->bs_children[0]->b_bio2.bio_offset)) != in ext2_reallocblks() 256 dtog(fs, dofftofsb(fs, buflist->bs_children[len - 1]->b_bio2.bio_offset))) in ext2_reallocblks() 364 ext2_blkfree(ip, dofftofsb(fs, buflist->bs_children[i]->b_bio2.bio_offset), in ext2_reallocblks()
|