Searched defs:fs_fsbtodb (Results 1 - 6 of 6) sorted by relevance

/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dfs.h177 int fs_fsbtodb; /* fsbtodb and dbtofsb shift constant */ member in struct:fs
349 #define fsbtodb(fs, b) ((b) << (fs)->fs_fsbtodb)
350 #define dbtofsb(fs, b) ((b) >> (fs)->fs_fsbtodb)
H A Dufs.h92 grub_int32_t fs_fsbtodb; /* fsbtodb and dbtofsb shift constant */ member in struct:fs
220 #define fsbtodb(fs, b) (((grub_daddr32_t)(b)) << (fs)->fs_fsbtodb)
H A Dufs2.h274 grub_int32_t fs_fsbtodb; /* fsbtodb and dbtofsb shift constant */ member in struct:fs
354 #define fsbtodb(fs, b) ((b) << (fs)->fs_fsbtodb)
355 #define dbtofsb(fs, b) ((b) >> (fs)->fs_fsbtodb)
/illumos-gate/usr/src/uts/common/sys/fs/
H A Dufs_fs.h268 int32_t fs_fsbtodb; /* fsbtodb and dbtofsb shift constant */ member in struct:fs
529 #define fsbtodb(fs, b) (((daddr_t)(b)) << (fs)->fs_fsbtodb)
531 #define fsbtodb(fs, b) (((diskaddr_t)(b)) << (fs)->fs_fsbtodb)
534 #define dbtofsb(fs, b) ((b) >> (fs)->fs_fsbtodb)
545 (daddr_t)(b) : ((daddr_t)(b) << (fs)->fs_fsbtodb))
548 (diskaddr_t)(b) : ((diskaddr_t)(b) << (fs)->fs_fsbtodb))
551 (b) >> (fs)->fs_fsbtodb : (b))
553 (b) >> ((fs)->fs_fsbtodb + (fs)->fs_fragshift) : \
/illumos-gate/usr/src/boot/lib/libstand/
H A Dext2fs.c139 #define fsb_to_db(fs, blk) ((blk) << (fs)->fs_fsbtodb)
250 #define fs_fsbtodb fs_fc.fc_fsbtodb macro
387 fs->fs_fsbtodb = (fs->fs_bsize / DEV_BSIZE) - 1;
/illumos-gate/usr/src/boot/sys/ufs/ffs/
H A Dfs.h290 int32_t fs_fsbtodb; /* fsbtodb and dbtofsb shift constant */ member in struct:fs
521 #define fsbtodb(fs, b) ((daddr_t)(b) << (fs)->fs_fsbtodb)
522 #define dbtofsb(fs, b) ((b) >> (fs)->fs_fsbtodb)

Completed in 87 milliseconds