Home
last modified time | relevance | path

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

/external/grub/stage2/
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()
Dfsys_reiserfs.c572 int superblock = REISERFS_DISK_OFFSET_IN_BYTES >> SECTOR_BITS; in reiserfs_mount()
574 if (part_length < superblock + (sizeof (super) >> SECTOR_BITS) in reiserfs_mount()
585 superblock = REISERFS_OLD_DISK_OFFSET_IN_BYTES >> SECTOR_BITS; in reiserfs_mount()
586 if (part_length < superblock + (sizeof (super) >> SECTOR_BITS) in reiserfs_mount()
613 INFO->blocksize_shift = INFO->fullblocksize_shift - SECTOR_BITS; in reiserfs_mount()
1220 if (! devread (REISERFS_DISK_OFFSET_IN_BYTES >> SECTOR_BITS, 0, in reiserfs_embed()
1232 num_sectors = (REISERFS_DISK_OFFSET_IN_BYTES >> SECTOR_BITS) - 1; in reiserfs_embed()
1234 num_sectors = (REISERFS_OLD_DISK_OFFSET_IN_BYTES >> SECTOR_BITS) - 1; in reiserfs_embed()
Ddisk_io.c300 || ((sector + ((byte_offset + byte_len - 1) >> SECTOR_BITS)) in devread()
310 sector += byte_offset >> SECTOR_BITS; in devread()
387 buf + (i << SECTOR_BITS))) in devwrite()
Dshared.h172 #define SECTOR_BITS 9 macro
Dfsys_xfs.c468 xfs.bdlog = xfs.blklog - SECTOR_BITS; in xfs_mount()
/external/qemu/
Dblock.c48 #define SECTOR_BITS 9 macro
49 #define SECTOR_SIZE (1 << SECTOR_BITS)
360 total_size = bdrv_getlength(bs1) >> SECTOR_BITS; in bdrv_open2()
432 bs->total_sectors = bdrv_getlength(bs) >> SECTOR_BITS; in bdrv_open2()
533 total_sectors = bdrv_getlength(bs) >> SECTOR_BITS; in bdrv_commit()
631 sector_num = offset >> SECTOR_BITS; in bdrv_pread()
644 nb_sectors = count >> SECTOR_BITS; in bdrv_pread()
649 len = nb_sectors << SECTOR_BITS; in bdrv_pread()
675 sector_num = offset >> SECTOR_BITS; in bdrv_pwrite()
690 nb_sectors = count >> SECTOR_BITS; in bdrv_pwrite()
[all …]
/external/kernel-headers/original/linux/
Dmsdos_fs.h12 #define SECTOR_BITS 9 /* log2(SECTOR_SIZE) */ macro
/external/grub/lib/
Ddevice.c252 geom->total_sectors = st.st_size >> SECTOR_BITS; in get_drive_geometry()
/external/grub/
DChangeLog3202 with SUPERBLOCK + (sizeof(super) >> SECTOR_BITS) instead of
4628 * stage2/builtins.c (setup_func): Use SECTOR_BITS instead of
4937 (rawread, devread): Use SECTOR_BITS.