Home
last modified time | relevance | path

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

/bootable/libbootloader/gbl/libstorage/src/
Dlib.rs589 let aligned_read: usize = SafeNum::from(out.len()).round_down(block_size).try_into()?; in read_aligned_offset_and_buffer() localVariable
591 if aligned_read > 0 { in read_aligned_offset_and_buffer()
592 read_aligned_all(blk_io, offset, &mut out[..aligned_read])?; in read_aligned_offset_and_buffer()
594 let unaligned = &mut out[aligned_read..]; in read_aligned_offset_and_buffer()
600 let aligned_offset = SafeNum::from(offset) + aligned_read; in read_aligned_offset_and_buffer()