Searched refs:aligned_relative_offset (Results 1 – 1 of 1) sorted by relevance
628 let aligned_relative_offset: usize = (SafeNum::from(aligned_start) - offset).try_into()?; in read_aligned_buffer() localVariable629 if aligned_relative_offset < out.len() { in read_aligned_buffer()630 if is_buffer_aligned(&out[aligned_relative_offset..], blk_io.alignment())? { in read_aligned_buffer()635 &mut out[aligned_relative_offset..], in read_aligned_buffer()642 (SafeNum::from(out.len()) - aligned_relative_offset).try_into()?; in read_aligned_buffer()644 out.copy_within(..read_len, aligned_relative_offset); in read_aligned_buffer()653 let unaligned = &mut out[..aligned_relative_offset]; in read_aligned_buffer()808 let aligned_relative_offset: usize = (SafeNum::from(aligned_start) - offset).try_into()?; in write_aligned_buffer() localVariable809 if aligned_relative_offset < data.len() { in write_aligned_buffer()810 if is_buffer_aligned(&data[aligned_relative_offset..], blk_io.alignment())? { in write_aligned_buffer()[all …]