Lines Matching refs:u8
38 pub guid: [u8; GPT_GUID_LEN],
47 fn from_bytes(bytes: &mut [u8]) -> &mut GptHeader { in from_bytes()
62 pub part_type: [u8; GPT_GUID_LEN],
63 pub guid: [u8; GPT_GUID_LEN],
84 pub fn name_to_str<'a>(&self, buffer: &'a mut [u8]) -> Result<&'a str> { in name_to_str()
143 fn from_bytes(bytes: &mut [u8]) -> &mut Self { in from_bytes()
156 primary_header: &'a mut [u8],
158 primary_entries: &'a mut [u8],
160 secondary_header: &'a mut [u8],
162 secondary_entries: &'a mut [u8],
174 pub(crate) fn new_from_buffer(max_entries: u64, buffer: &'a mut [u8]) -> Result<Gpt<'a>> { in new_from_buffer()
191 pub fn from_existing(buffer: &'a mut [u8]) -> Result<Gpt<'a>> { in from_existing()
254 scratch: &mut [u8], in validate_gpt() argument
304 scratch: &mut [u8], in load_and_sync() argument
387 scratch: &mut [u8], in gpt_sync() argument
395 gpt_cache_buffer: &mut [u8], in check_gpt_rw_params() argument
410 fn crc32(data: &[u8]) -> u32 { in crc32()