Home
last modified time | relevance | path

Searched refs:Gpt (Results 1 – 2 of 2) sorted by relevance

/bootable/libbootloader/gbl/libstorage/src/
Dgpt.rs153 pub(crate) struct Gpt<'a> { struct
165 impl<'a> Gpt<'a> { argument
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()
386 gpt: &mut Gpt, in gpt_sync() argument
400 let gpt = Gpt::from_existing(gpt_cache_buffer)?; in check_gpt_rw_params()
426 fn gpt(dev: &mut TestBlockDevice) -> Gpt { in gpt() argument
428 Gpt::from_existing(gpt).unwrap() in gpt()
Dlib.rs108 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()