Home
last modified time | relevance | path

Searched refs:fsbtodoff (Results 1 – 13 of 13) sorted by relevance

/dragonfly/sys/vfs/ufs/
H A Dffs_balloc.c160 bp->b_bio2.bio_offset = fsbtodoff(fs, nb); in ffs_balloc()
177 bp->b_bio2.bio_offset = fsbtodoff(fs, nb); in ffs_balloc()
203 bp->b_bio2.bio_offset = fsbtodoff(fs, newb); in ffs_balloc()
265 bp->b_bio2.bio_offset = fsbtodoff(fs, nb); in ffs_balloc()
317 nbp->b_bio2.bio_offset = fsbtodoff(fs, nb); in ffs_balloc()
372 dbp->b_bio2.bio_offset = fsbtodoff(fs, nb); in ffs_balloc()
431 dbp->b_bio2.bio_offset = fsbtodoff(fs, nb); in ffs_balloc()
439 dbp->b_bio2.bio_offset = fsbtodoff(fs, nb); in ffs_balloc()
H A Dffs_alloc.c214 bp->b_bio2.bio_offset = fsbtodoff(fs, bprev); in ffs_realloccg()
230 if (bp->b_bio2.bio_offset != fsbtodoff(fs, bno)) in ffs_realloccg()
290 bp->b_bio2.bio_offset = fsbtodoff(fs, bno); in ffs_realloccg()
385 ssize = (int)fsbtodoff(fs, fs->fs_frag); in ffs_reallocblks()
935 error = bread(ip->i_devvp, fsbtodoff(fs, cgtod(fs, cg)), in ffs_fragextend()
1012 error = bread(ip->i_devvp, fsbtodoff(fs, cgtod(fs, cg)), in ffs_alloccg()
1245 if (bread(ip->i_devvp, fsbtodoff(fs, cgtod(fs, cg)), in ffs_clusteralloc()
1372 error = bread(ip->i_devvp, fsbtodoff(fs, cgtod(fs, cg)), in ffs_nodealloccg()
1519 error = bread(i_devvp, fsbtodoff(fs, cgtod(fs, cg)), in ffs_blkfree_cg()
1693 bp->b_bio1.bio_offset = fsbtodoff(ip->i_fs, bno); in ffs_blkfree()
[all …]
H A Dffs_vfsops.c521 error = bread(devvp, fsbtodoff(fs, fs->fs_csaddr + i), size, &bp); in ffs_reload()
571 fsbtodoff(info->fs, ino_to_fsba(info->fs, ip->i_number)), in ffs_reload_scan2()
691 if ((error = bread(devvp, fsbtodoff(fs, fs->fs_csaddr + i), in ffs_mountfs()
1130 error = bread(ump->um_devvp, fsbtodoff(fs, ino_to_fsba(fs, ino)), in ffs_vget()
1274 bp = getblk(mp->um_devvp, fsbtodoff(fs, fs->fs_csaddr + i), in ffs_sbupdate()
H A Dufs_bmap.c209 bp->b_bio2.bio_offset = fsbtodoff(fs, daddr); in ufs_bmaparray()
H A Dfs.h503 #define fsbtodoff(fs, b) ((off_t)(b) << (fs)->fs_fshift) macro
H A Dffs_inode.c105 fsbtodoff(fs, ino_to_fsba(fs, ip->i_number)), in ffs_update()
H A Dffs_softdep.c1091 if ((error = bread(devvp, fsbtodoff(fs, cgtod(fs, cyl)), in softdep_mount()
1778 fsbtodoff(fs, ino_to_fsba(fs, ip->i_number)), in softdep_setup_freeblocks()
2168 if ((error = indir_trunc(&tip, fsbtodoff(fs, bn), level, in handle_workitem_freeblocks()
2261 if ((error = indir_trunc(ip, fsbtodoff(fs, nb), in indir_trunc()
4671 fsbtodoff(ump->um_fs, ino_to_fsba(ump->um_fs, inum)), in flush_pagedep_deps()
/dragonfly/sys/vfs/ext2fs/
H A Dext2_balloc.c119 bp->b_bio2.bio_offset = fsbtodoff(fs, nb); in ext2_balloc()
138 bp->b_bio2.bio_offset = fsbtodoff(fs, newb); in ext2_balloc()
174 bp->b_bio2.bio_offset = fsbtodoff(fs, newb); in ext2_balloc()
222 nbp->b_bio2.bio_offset = fsbtodoff(fs, nb); in ext2_balloc()
264 nbp->b_bio2.bio_offset = fsbtodoff(fs, nb); in ext2_balloc()
300 nbp->b_bio2.bio_offset = fsbtodoff(fs, nb); in ext2_balloc()
H A Dext2_alloc.c324 fsbtodoff(fs, *bap)) in ext2_reallocblks()
366 buflist->bs_children[i]->b_bio2.bio_offset = fsbtodoff(fs, blkno); in ext2_reallocblks()
998 error = bread(ip->i_devvp, fsbtodoff(fs, in ext2_alloccg()
1151 fsbtodoff(fs, e2fs_gd_get_b_bitmap(&fs->e2fs_gd[cg])), in ext2_clusteralloc()
1259 bp = getblk(ip->i_devvp, fsbtodoff(fs, in ext2_zero_inode_table()
1307 error = bread(ip->i_devvp, fsbtodoff(fs, in ext2_nodealloccg()
1420 fsbtodoff(fs, e2fs_gd_get_b_bitmap(&fs->e2fs_gd[cg])), in ext2_blkfree()
1467 fsbtodoff(fs, e2fs_gd_get_i_bitmap(&fs->e2fs_gd[cg])), in ext2_vfree()
H A Dfs.h147 #define fsbtodoff(fs, blk) /* calculates (blk * fs->fs_fsize) */ \ macro
H A Dext2_bmap.c137 bp->b_bio2.bio_offset = fsbtodoff(fs, daddr); in readindir()
H A Dext2_vfsops.c653 error = bread(devvp, fsbtodoff(fs, ext2_cg_location(fs, i)), in ext2_compute_sb_data()
753 fsbtodoff(info->fs, ino_to_fsba(info->fs, ip->i_number)), in ext2_reload_scan()
1357 if ((error = bread(ump->um_devvp, fsbtodoff(fs, ino_to_fsba(fs, ino)), in ext2_vget()
1574 bp = getblk(mp->um_devvp, fsbtodoff(fs, in ext2_cgupdate()
H A Dext2_inode.c86 fsbtodoff(fs, ino_to_fsba(fs, ip->i_number)), in ext2_update()