Searched refs:read_gpt_partition (Results 1 – 10 of 10) sorted by relevance
/bootable/libbootloader/gbl/efi/src/ |
D | android_boot.rs | 105 gpt_devices.read_gpt_partition("misc", 0, bcb_buffer)?; in load_android_simple() 112 gpt_devices.read_gpt_partition("boot_a", 0, boot_header_buffer)?; in load_android_simple() 129 gpt_devices.read_gpt_partition("vendor_boot_a", 0, vendor_boot_header_buffer)?; in load_android_simple() 148 gpt_devices.read_gpt_partition("init_boot_a", 0, init_boot_header_buffer)?; in load_android_simple() 175 gpt_devices.read_gpt_partition( in load_android_simple() 183 gpt_devices.read_gpt_partition( in load_android_simple() 191 gpt_devices.read_gpt_partition( in load_android_simple() 236 .read_gpt_partition( in load_android_simple() 255 .read_gpt_partition("bootconfig", 0, &mut out[..max_size]) in load_android_simple()
|
D | fuchsia_boot.rs | 117 gpt_devices.read_gpt_partition("zircon_a", 0, &mut load[..size_of::<ZbiHeader>()]).unwrap(); in load_fuchsia_simple() 126 .read_gpt_partition( in load_fuchsia_simple()
|
D | avb.rs | 67 self.gpt_dev.read_gpt_partition(part_str, read_off, buffer).map_err(|_| IoError::Io)?; in read_from_partition()
|
/bootable/libbootloader/gbl/libstorage/src/ |
D | gpt.rs | 587 dev.read_gpt_partition("boot_a", 0, &mut actual_boot_a).unwrap(); in test_gpt_read() 591 dev.read_gpt_partition("boot_a", 1, &mut actual_boot_a).unwrap(); in test_gpt_read() 594 dev.read_gpt_partition("boot_b", 0, &mut actual_boot_b).unwrap(); in test_gpt_read() 598 dev.read_gpt_partition("boot_b", 1, &mut actual_boot_b).unwrap(); in test_gpt_read() 620 dev.read_gpt_partition("boot_a", 0, &mut actual_boot_a).unwrap(); in test_gpt_write() 624 dev.read_gpt_partition("boot_a", 1, &mut actual_boot_a[1..]).unwrap(); in test_gpt_write() 630 dev.read_gpt_partition("boot_b", 0, &mut actual_boot_b).unwrap(); in test_gpt_write() 634 dev.read_gpt_partition("boot_b", 1, &mut actual_boot_b[1..]).unwrap(); in test_gpt_write() 648 assert!(dev.read_gpt_partition("boot_a", 1, &mut boot_a).is_err()); in test_gpt_rw_overflow() 651 assert!(dev.read_gpt_partition("boot_b", 1, &mut boot_b).is_err()); in test_gpt_rw_overflow()
|
D | multi_blocks.rs | 86 fn read_gpt_partition(&mut self, part_name: &str, offset: u64, out: &mut [u8]) -> Result<()> { in read_gpt_partition() method 88 until_ok(self, |dev, _| dev.read_gpt_partition(part_name, offset, out)) in read_gpt_partition() 242 devs.read_gpt_partition(part, off, &mut out[..]).unwrap(); in check_read_partition() 281 devs.read_gpt_partition(part, off, &mut out[..]).unwrap(); in check_write_partition() 286 devs.read_gpt_partition(part, off, &mut out[..]).unwrap(); in check_write_partition() 324 assert!(devs.read_gpt_partition("boot_a", 0, &mut []).is_err()); in test_none_block_id_fail_with_non_unique_partition()
|
D | testlib.rs | 568 assert!(block_dev.read_gpt_partition("squid", 0, actual.as_mut_slice()).is_ok()); in test_builder_partitions() 571 assert!(block_dev.read_gpt_partition("clam", 0, actual.as_mut_slice()).is_ok()); in test_builder_partitions()
|
D | lib.rs | 444 fn read_gpt_partition(&mut self, part_name: &str, offset: u64, out: &mut [u8]) -> Result<()> { in read_gpt_partition() method
|
/bootable/libbootloader/gbl/libgbl/src/slots/ |
D | fuchsia.rs | 624 let res = block_dev.read_gpt_partition(PARTITION, OFFSET, &mut read_buffer); in test_writeback() 634 let res = block_dev.read_gpt_partition(PARTITION, OFFSET, &mut read_buffer); in test_writeback() 664 let res = block_dev.read_gpt_partition(PARTITION, OFFSET, &mut read_buffer); in test_writeback_with_cursor()
|
/bootable/libbootloader/gbl/libgbl/src/ |
D | lib.rs | 550 block_devices.read_gpt_partition("zircon_a", 0, kernel)?; in zircon_load_and_boot()
|
/bootable/libbootloader/gbl/libgbl/src/fastboot/ |
D | mod.rs | 72 part => dev.read_gpt_partition(part, offset, out), in read()
|