Searched refs:write_gpt_partition (Results 1 – 5 of 5) sorted by relevance
/bootable/libbootloader/gbl/libstorage/src/ |
D | multi_blocks.rs | 94 fn write_gpt_partition(&mut self, part_name: &str, offset: u64, data: &mut [u8]) -> Result<()> { in write_gpt_partition() method 96 until_ok(self, |dev, _| dev.write_gpt_partition(part_name, offset, &mut data[..])) in write_gpt_partition() 280 devs.write_gpt_partition(part, off, to_write).unwrap(); in check_write_partition() 285 devs.write_gpt_partition(part, off, to_write).unwrap(); in check_write_partition() 325 assert!(devs.write_gpt_partition("boot_a", 0, &mut []).is_err()); in test_none_block_id_fail_with_non_unique_partition()
|
D | gpt.rs | 619 dev.write_gpt_partition("boot_a", 0, expect_boot_a.as_mut_slice()).unwrap(); in test_gpt_write() 623 dev.write_gpt_partition("boot_a", 1, expect_boot_a[1..].as_mut()).unwrap(); in test_gpt_write() 629 dev.write_gpt_partition("boot_b", 0, expect_boot_b.as_mut_slice()).unwrap(); in test_gpt_write() 633 dev.write_gpt_partition("boot_b", 1, expect_boot_b[1..].as_mut()).unwrap(); in test_gpt_write() 649 assert!(dev.write_gpt_partition("boot_a", 1, boot_a.as_mut_slice()).is_err()); in test_gpt_rw_overflow() 652 assert!(dev.write_gpt_partition("boot_b", 1, boot_b.as_mut_slice()).is_err()); in test_gpt_rw_overflow()
|
D | lib.rs | 467 fn write_gpt_partition(&mut self, part_name: &str, offset: u64, data: &mut [u8]) -> Result<()> { in write_gpt_partition() method
|
/bootable/libbootloader/gbl/libgbl/src/slots/ |
D | partition.rs | 140 match block_dev.write_gpt_partition( in sync_to_disk()
|
/bootable/libbootloader/gbl/libgbl/src/fastboot/ |
D | mod.rs | 82 part => dev.write_gpt_partition(part, offset, data), in write()
|