Home
last modified time | relevance | path

Searched refs:SECTOR_BITS (Results 1 – 8 of 8) sorted by relevance

/titanic_41/usr/src/grub/grub-0.97/stage2/
H A Dfsys_jfs.c211 if (part_length < MINJFS >> SECTOR_BITS in jfs_mount()
212 || !devread (SUPER1_OFF >> SECTOR_BITS, 0, in jfs_mount()
215 || !devread ((AITBL_OFF >> SECTOR_BITS) + FILESYSTEM_I, in jfs_mount()
222 jfs.bdlog = jfs.l2bsize - SECTOR_BITS; in jfs_mount()
392 || !devread (SUPER1_OFF >> SECTOR_BITS, 0, in jfs_embed()
H A Dfsys_reiserfs.c573 int superblock = REISERFS_DISK_OFFSET_IN_BYTES >> SECTOR_BITS; in reiserfs_mount()
575 if (part_length < superblock + (sizeof (super) >> SECTOR_BITS) in reiserfs_mount()
586 superblock = REISERFS_OLD_DISK_OFFSET_IN_BYTES >> SECTOR_BITS; in reiserfs_mount()
587 if (part_length < superblock + (sizeof (super) >> SECTOR_BITS) in reiserfs_mount()
614 INFO->blocksize_shift = INFO->fullblocksize_shift - SECTOR_BITS; in reiserfs_mount()
1221 if (! devread (REISERFS_DISK_OFFSET_IN_BYTES >> SECTOR_BITS, 0, in reiserfs_embed()
1233 num_sectors = (REISERFS_DISK_OFFSET_IN_BYTES >> SECTOR_BITS) - 1; in reiserfs_embed()
1235 num_sectors = (REISERFS_OLD_DISK_OFFSET_IN_BYTES >> SECTOR_BITS) - 1; in reiserfs_embed()
H A Dgpt.h64 ((((entry) * (size) + 1) & ~(SECTOR_SIZE - 1)) >> SECTOR_BITS)
H A Ddisk_io.c313 if ((sector + ((byte_offset + byte_len - 1) >> SECTOR_BITS)) in devread()
323 sector += byte_offset >> SECTOR_BITS; in devread()
400 buf + (i << SECTOR_BITS))) in devwrite()
H A Dshared.h190 #define SECTOR_BITS 9 macro
H A Dfsys_xfs.c468 xfs.bdlog = xfs.blklog - SECTOR_BITS; in xfs_mount()
/titanic_41/usr/src/grub/grub-0.97/lib/
H A Ddevice.c272 geom->total_sectors = st.st_blocks >> SECTOR_BITS; in get_drive_geometry()
/titanic_41/usr/src/grub/grub-0.97/
H A DChangeLog3361 with SUPERBLOCK + (sizeof(super) >> SECTOR_BITS) instead of
4787 * stage2/builtins.c (setup_func): Use SECTOR_BITS instead of
5096 (rawread, devread): Use SECTOR_BITS.