Home
last modified time | relevance | path

Searched refs:LBA_SIZE (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Virtualization/pvmfw/src/
Dgpt.rs103 pub const LBA_SIZE: usize = SECTOR_SIZE; constant
106 let mut blk = [0; Self::LBA_SIZE]; in new()
118 const_assert_eq!(Partitions::LBA_SIZE.rem_euclid(size_of::<Entry>()), 0); in get_partition_by_name()
119 let entries_per_blk = Partitions::LBA_SIZE.checked_div(size_of::<Entry>()).unwrap(); in get_partition_by_name()
128 let mut blk = [0; Self::LBA_SIZE]; in get_partition_by_name()
178 const_assert!(size_of::<Header>() < Partitions::LBA_SIZE);
Dinstance.rs199 const BLK_SIZE: usize = Partitions::LBA_SIZE;