Home
last modified time | relevance | path

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

/aosp_15_r20/bootable/libbootloader/gbl/libstorage/src/
H A Dlib.rs437 pub fn new_ram_alloc(block_size: u64, alignment: u64, storage: T) -> Result<Self> { in new_ram_alloc() function
591 let mut disk = TestDisk::new_ram_alloc(case.alignment, case.block_size, data).unwrap(); in read_test_helper()
615 let mut disk = TestDisk::new_ram_alloc(case.alignment, case.block_size, data).unwrap(); in write_test_helper()
917 let mut disk = TestDisk::new_ram_alloc(512, 512, vec![0u8; 512]).unwrap(); in test_read_overflow()
924 let mut disk = TestDisk::new_ram_alloc(512, 512, vec![0u8; 512]).unwrap(); in test_read_arithmetic_overflow()
930 let mut disk = TestDisk::new_ram_alloc(512, 512, vec![0u8; 512]).unwrap(); in test_write_overflow()
937 let mut disk = TestDisk::new_ram_alloc(512, 512, vec![0u8; 512]).unwrap(); in test_write_arithmetic_overflow()
H A Dgpt.rs1126 TestDisk::new_ram_alloc(512, 512, data.as_ref().to_vec()).unwrap() in test_disk()
/aosp_15_r20/bootable/libbootloader/gbl/libgbl/src/
H A Dops.rs497 Disk::new_ram_alloc(512, 512, data.as_ref().to_vec()).unwrap(), in add_gpt_device()
506 TestGblDisk::new_raw(Disk::new_ram_alloc(1, 1, data.as_ref().to_vec()).unwrap(), name) in add_raw_device()
/aosp_15_r20/bootable/libbootloader/gbl/libgbl/src/slots/
H A Dfuchsia.rs608 let mut blk = TestDisk::new_ram_alloc(512, 512, disk).unwrap(); in test_writeback()
643 let mut blk = TestDisk::new_ram_alloc(512, 512, disk).unwrap(); in test_writeback_with_cursor()