Searched refs:Partitions (Results 1 – 4 of 4) sorted by relevance
58 partitions: Partitions,64 Partitions::new(device)?.get_partition_by_name(name) in get_by_name()67 fn new(partitions: Partitions, entry: &Entry) -> Self { in new() argument97 pub struct Partitions { struct102 impl Partitions { impl118 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()178 const_assert!(size_of::<Header>() < Partitions::LBA_SIZE);
20 use crate::gpt::Partitions;199 const BLK_SIZE: usize = Partitions::LBA_SIZE;
9 ## Partitions section in Microdroid Payload