Searched refs:Gpt (Results 1 – 2 of 2) sorted by relevance
153 pub(crate) struct Gpt<'a> { struct165 impl<'a> Gpt<'a> { argument174 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()386 gpt: &mut Gpt, in gpt_sync() argument400 let gpt = Gpt::from_existing(gpt_cache_buffer)?; in check_gpt_rw_params()426 fn gpt(dev: &mut TestBlockDevice) -> Gpt { in gpt() argument428 Gpt::from_existing(gpt).unwrap() in gpt()
108 use gpt::Gpt;297 Ok(Gpt::from_existing(gpt_buffer)? in next()403 &mut Gpt::new_from_buffer(max_entries, gpt_buffer)?, in sync_gpt()425 *Gpt::from_existing(gpt_buffer)?.find_partition(part)?, in find_partition()508 v => Gpt::required_buffer_size(v)?, in required_scratch_size()