Lines Matching refs:header_offset
205 fn read_header_at(&mut self, header_offset: u64) -> Result<PartitionHeader> { in read_header_at()
207 header_offset % PARTITION_HEADER_SIZE == 0, in read_header_at()
209 header_offset in read_header_at()
213 self.file.seek(SeekFrom::Start(header_offset))?; in read_header_at()
224 header_offset: u64, in write_header_at()
228 self.file.seek(SeekFrom::Start(header_offset))?; in write_header_at()
242 let mut header_offset = DISK_HEADER_SIZE; in locate_microdroid_header() localVariable
244 let header = self.read_header_at(header_offset)?; in locate_microdroid_header()
247 return Ok((Some(header), header_offset)); in locate_microdroid_header()
250 return Ok((None, header_offset)); in locate_microdroid_header()
257 header_offset = header_offset in locate_microdroid_header()