Home
last modified time | relevance | path

Searched refs:SECTOR_SHIFT (Results 1 – 7 of 7) sorted by relevance

/external/crosvm/devices/src/virtio/
Dblock.rs35 const SECTOR_SHIFT: u8 = 9; constant
36 const SECTOR_SIZE: u64 = 0x01 << SECTOR_SHIFT;
513 capacity: Le64::from(disk_size >> SECTOR_SHIFT), in build_config_space()
637 .checked_shl(u32::from(SECTOR_SHIFT)) in execute_request()
651 .checked_shl(u32::from(SECTOR_SHIFT)) in execute_request()
698 .checked_shl(u32::from(SECTOR_SHIFT)) in execute_request()
701 .checked_shl(u32::from(SECTOR_SHIFT)) in execute_request()
Dblock_async.rs43 const SECTOR_SHIFT: u8 = 9; constant
44 const SECTOR_SIZE: u64 = 0x01 << SECTOR_SHIFT;
581 capacity: Le64::from(disk_size >> SECTOR_SHIFT), in build_config_space()
708 .checked_shl(u32::from(SECTOR_SHIFT)) in execute_request()
727 .checked_shl(u32::from(SECTOR_SHIFT)) in execute_request()
780 .checked_shl(u32::from(SECTOR_SHIFT)) in execute_request()
783 .checked_shl(u32::from(SECTOR_SHIFT)) in execute_request()
/external/f2fs-tools/lib/
Dlibf2fs_zoned.c231 >> SECTOR_SHIFT; in f2fs_report_zones()
347 (F2FS_BLKSIZE_BITS - SECTOR_SHIFT); in f2fs_check_zones()
367 (F2FS_BLKSIZE_BITS - SECTOR_SHIFT); in f2fs_check_zones()
/external/kernel-headers/original/uapi/linux/
Dbcache.h153 #define SB_OFFSET (SB_SECTOR << SECTOR_SHIFT)
/external/f2fs-tools/include/
Df2fs_fs.h334 #ifndef SECTOR_SHIFT
335 #define SECTOR_SHIFT 9 macro
/external/f2fs-tools/fsck/
Dfsck.c2295 int log_sectors_per_block = sbi->log_blocksize - SECTOR_SHIFT; in check_curseg_write_pointer()
2855 int log_sectors_per_block = sbi->log_blocksize - SECTOR_SHIFT; in chk_and_fix_wp_with_sit()
Dmount.c2676 int log_sectors_per_block = sbi->log_blocksize - SECTOR_SHIFT; in write_pointer_at_zone_start()