Searched defs:GptHeader (Results 1 – 1 of 1) sorted by relevance
| /bootable/libbootloader/gbl/libstorage/src/ |
| D | gpt.rs | 46 pub struct GptHeader { struct 48 pub magic: u64, 50 pub revision: u32, 52 pub size: u32, 77 impl GptHeader { implementation 79 pub fn from_bytes_mut(bytes: &mut [u8]) -> &mut GptHeader { in from_bytes_mut() 121 fn check_header(io: &mut impl BlockIo, header: &GptHeader, is_primary: bool) -> Result<()> { in check_header() 210 fn check_entries(header: &GptHeader, entries: &[u8]) -> Result<()> { in check_entries() 529 fn secondary(self) -> (Ref<B, GptHeader>, Ref<B, [GptEntry]>) { in secondary() argument 773 fn is_consistent(primary: &GptHeader, secondary: &GptHeader) -> bool { in is_consistent() [all …]
|