Home
last modified time | relevance | path

Searched refs:read_gpt_partition (Results 1 – 10 of 10) sorted by relevance

/bootable/libbootloader/gbl/efi/src/
Dandroid_boot.rs105 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()
Dfuchsia_boot.rs117 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()
Davb.rs67 self.gpt_dev.read_gpt_partition(part_str, read_off, buffer).map_err(|_| IoError::Io)?; in read_from_partition()
/bootable/libbootloader/gbl/libstorage/src/
Dgpt.rs587 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()
Dmulti_blocks.rs86 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()
Dtestlib.rs568 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()
Dlib.rs444 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/
Dfuchsia.rs624 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/
Dlib.rs550 block_devices.read_gpt_partition("zircon_a", 0, kernel)?; in zircon_load_and_boot()
/bootable/libbootloader/gbl/libgbl/src/fastboot/
Dmod.rs72 part => dev.read_gpt_partition(part, offset, out), in read()