Home
last modified time | relevance | path

Searched refs:AsBlockDevice (Results 1 – 13 of 13) sorted by relevance

/bootable/libbootloader/gbl/libstorage/src/
Dmulti_blocks.rs15 use crate::{AsBlockDevice, BlockIo, Partition, Result, StorageError};
23 f: &mut dyn FnMut(&mut dyn AsBlockDevice, u64), in for_each() argument
30 f: &mut dyn FnMut(&mut dyn AsBlockDevice, u64) -> bool, in for_each_until() argument
50 fn sync_gpt_all(&mut self, f: &mut dyn FnMut(&mut dyn AsBlockDevice, u64, StorageError)) { in sync_gpt_all() argument
103 f: &mut dyn FnMut(&mut dyn AsBlockDevice, u64), in for_each() argument
112 F: FnMut(&mut dyn AsBlockDevice, u64) -> Result<R>, in until_ok() argument
125 F: FnMut(&mut dyn AsBlockDevice) -> R, in with_id()
140 impl AsBlockDevice for SelectedBlockDevice<'_> {
149 AsBlockDevice, AsMultiBlockDevices, TestBlockDeviceBuilder, TestMultiBlockDevices,
Dlib.rs286 dev: &'a mut dyn AsBlockDevice,
312 pub trait AsBlockDevice { interface
475 impl<T: ?Sized + AsBlockDevice> AsBlockDevice for &mut T { impl
494 impl AsBlockDevice for BlockDevice<'_, '_> {
516 dev: &mut (impl AsBlockDevice + ?Sized), in with_partitioned_scratch()
897 required_scratch_size, AsBlockDevice, TestBlockDevice, TestBlockDeviceBuilder,
Dtestlib.rs17 alignment_scratch_size, is_aligned, is_buffer_aligned, required_scratch_size, AsBlockDevice,
229 impl AsBlockDevice for TestBlockDevice {
543 f: &mut dyn FnMut(&mut dyn AsBlockDevice, u64), in for_each() argument
Dgpt.rs420 alignment_scratch_size, AsBlockDevice, TestBlockDevice, TestBlockDeviceBuilder,
/bootable/libbootloader/gbl/libgbl/src/
Dops.rs28 required_scratch_size, AsBlockDevice, AsMultiBlockDevices, BlockDevice, BlockIo,
103 fn do_fastboot<B: gbl_storage::AsBlockDevice>( in do_fastboot()
118 fn load_slot_interface<'b, B: gbl_storage::AsBlockDevice, M: slots::Manager>( in load_slot_interface() argument
169 f: &mut dyn FnMut(&mut dyn AsBlockDevice, u64), in for_each() argument
Dslots.rs409 fn write_back<B: gbl_storage::AsBlockDevice>(&mut self, block_dev: &mut B) {} in write_back()
413 pub struct Cursor<'a, B: gbl_storage::AsBlockDevice, M: Manager> {
421 impl<'a, B: gbl_storage::AsBlockDevice, M: Manager> Drop for Cursor<'a, B, M> {
Dlib.rs251 pub fn load_slot_interface<'b, B: gbl_storage::AsBlockDevice, M: Manager>( in load_slot_interface() argument
404 pub fn load_verify_boot<'b: 'c, 'c, 'd: 'b, B: gbl_storage::AsBlockDevice>( in load_verify_boot()
451 fn lvb_inner<'b: 'c, 'c, 'd: 'b, 'e, B: gbl_storage::AsBlockDevice>( in lvb_inner()
/bootable/libbootloader/gbl/efi/src/
Dutils.rs32 required_scratch_size, AsBlockDevice, AsMultiBlockDevices, BlockInfo, BlockIo, BlockIoError,
113 impl AsBlockDevice for EfiGptDevice<'_> {
124 f: &mut dyn FnMut(&mut dyn AsBlockDevice, u64), in for_each() argument
/bootable/libbootloader/gbl/libgbl/src/slots/
Dpartition.rs133 pub fn sync_to_disk<BlockDev: gbl_storage::AsBlockDevice>(&mut self, block_dev: &mut BlockDev) { in sync_to_disk()
Dfuchsia.rs286 fn write_back<B: gbl_storage::AsBlockDevice>(&mut self, block_dev: &mut B) { in write_back()
304 use gbl_storage::AsBlockDevice;
Dandroid.rs380 fn write_back<B: gbl_storage::AsBlockDevice>(&mut self, block_dev: &mut B) { in write_back()
/bootable/libbootloader/gbl/libgbl/src/fastboot/
Dvars.rs19 use gbl_storage::{AsBlockDevice, AsMultiBlockDevices};
Dmod.rs21 use gbl_storage::{AsBlockDevice, AsMultiBlockDevices, GPT_NAME_LEN_U16};