Searched refs:rw_size (Results 1 – 2 of 2) sorted by relevance
/bootable/libbootloader/gbl/libstorage/src/ |
D | lib.rs | 904 rw_size: u64, field 914 rw_size: u64, in new() 920 Self { rw_offset, rw_size, misalignment, alignment, block_size, storage_size } in new() 968 let mut aligned_buf = AlignedBuffer::new(case.alignment, case.rw_size + case.misalignment); in read_test_helper() 971 [misalignment.try_into().unwrap()..(misalignment + case.rw_size).try_into().unwrap()]; in read_test_helper() 977 [rw_offset.try_into().unwrap()..(rw_offset + case.rw_size).try_into().unwrap()] in read_test_helper() 996 [rw_offset.try_into().unwrap()..(rw_offset + case.rw_size).try_into().unwrap()] in write_test_helper() 1003 let mut aligned_buf = AlignedBuffer::new(case.alignment, case.rw_size + case.misalignment); in write_test_helper() 1005 [misalignment.try_into().unwrap()..(misalignment + case.rw_size).try_into().unwrap()]; in write_test_helper() 1012 [rw_offset.try_into().unwrap()..(rw_offset + case.rw_size).try_into().unwrap()] in write_test_helper()
|
/bootable/libbootloader/gbl/libgbl/src/fastboot/ |
D | mod.rs | 59 fn check_range(&self, rw_off: u64, rw_size: usize) -> Result<u64, CommandError> { in check_range() 60 if add(rw_off, u64::try_from(rw_size)?)? > self.part.window_size { in check_range()
|