Searched refs:PARTITION_HEADER_SIZE (Results 1 – 1 of 1) sorted by relevance
61 const PARTITION_HEADER_SIZE: u64 = 512; constant122 let payload_offset = offset + PARTITION_HEADER_SIZE; in read_microdroid_data()140 let mut header = [0; PARTITION_HEADER_SIZE as usize]; in read_microdroid_data()181 let mut header = [0; PARTITION_HEADER_SIZE as usize]; in write_microdroid_data()187 self.file.seek(SeekFrom::Start(offset + PARTITION_HEADER_SIZE))?; in write_microdroid_data()207 header_offset % PARTITION_HEADER_SIZE == 0, in read_header_at()253 let payload_size = round_to_multiple(header.payload_size, PARTITION_HEADER_SIZE)?; in locate_microdroid_header()255 .checked_add(PARTITION_HEADER_SIZE) in locate_microdroid_header()