Home
last modified time | relevance | path

Searched refs:max_gpt_entries (Results 1 – 4 of 4) sorted by relevance

/bootable/libbootloader/gbl/libgbl/tests/
Dintegration_tests.rs24 max_gpt_entries: u64, field
41 max_gpt_entries: u64, in add_block_device()
46 max_gpt_entries, in add_block_device()
57 f(&mut ele.io, idx.try_into().unwrap(), ele.max_gpt_entries); in visit_block_devices()
/bootable/libbootloader/gbl/libgbl/src/
Dops.rs130 self.visit_block_devices(&mut |io, id, max_gpt_entries| { in required_scratch_size()
132 total += required_scratch_size(io, max_gpt_entries).unwrap(); in required_scratch_size()
173 .visit_block_devices(&mut |io, id, max_gpt_entries| { in for_each()
175 let scratch_size: usize = required_scratch_size(io, max_gpt_entries).unwrap(); in for_each()
179 f(&mut BlockDevice::new(io, scratch, max_gpt_entries), id); in for_each()
/bootable/libbootloader/gbl/libstorage/src/
Dtestlib.rs214 max_gpt_entries: u64, field
231 f(&mut self.io, &mut self.scratch[..], self.max_gpt_entries) in with()
281 max_gpt_entries: u64, field
299 max_gpt_entries: Self::MAX_GPT_ENTRIES, in new()
319 pub fn set_max_gpt_entries(mut self, max_gpt_entries: u64) -> Self { in set_max_gpt_entries()
320 self.max_gpt_entries = max_gpt_entries; in set_max_gpt_entries()
403 None => required_scratch_size(&mut io, self.max_gpt_entries).unwrap(), in build()
408 max_gpt_entries: self.max_gpt_entries, in build()
Dlib.rs485 max_gpt_entries: u64, field
489 pub fn new(io: &'a mut dyn BlockIo, scratch: &'b mut [u8], max_gpt_entries: u64) -> Self { in new()
490 Self { io, scratch, max_gpt_entries } in new()
496 f(self.io, self.scratch, self.max_gpt_entries) in with()
503 max_gpt_entries: u64, in required_scratch_size()
506 let gpt_buffer_size = match max_gpt_entries { in required_scratch_size()