Home
last modified time | relevance | path

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

/bootable/libbootloader/gbl/libgbl/src/
Dops.rs28 required_scratch_size, AsBlockDevice, AsMultiBlockDevices, BlockDevice, BlockIo,
127 fn required_scratch_size(&mut self) -> GblResult<usize> { in required_scratch_size() method
132 total += required_scratch_size(io, max_gpt_entries).unwrap(); in required_scratch_size()
160 let total_scratch_size = ops.required_scratch_size()?; in new()
175 let scratch_size: usize = required_scratch_size(io, max_gpt_entries).unwrap(); in for_each()
/bootable/libbootloader/gbl/efi/src/
Dutils.rs32 required_scratch_size, AsBlockDevice, AsMultiBlockDevices, BlockInfo, BlockIo, BlockIoError,
108 let scratch = vec![0u8; required_scratch_size(&mut io, MAX_GPT_ENTRIES)?]; in new()
/bootable/libbootloader/gbl/libstorage/src/
Dtestlib.rs17 alignment_scratch_size, is_aligned, is_buffer_aligned, required_scratch_size, AsBlockDevice,
403 None => required_scratch_size(&mut io, self.max_gpt_entries).unwrap(), in build()
Dlib.rs501 pub fn required_scratch_size( in required_scratch_size() function
525 if scratch.len() < required_scratch_size(io, max_entries)? { in with_partitioned_scratch()
897 required_scratch_size, AsBlockDevice, TestBlockDevice, TestBlockDeviceBuilder,
1297 assert_eq!(required_scratch_size(&mut blk.io, 0).unwrap(), 0); in test_no_alignment_require_zero_size_scratch()