Home
last modified time | relevance | path

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

/bootable/libbootloader/gbl/libstorage/src/
Dlib.rs663 let block_alignment = match blk_io.block_size() { in alignment_scratch_size() localVariable
667 ((SafeNum::from(blk_io.alignment()) - 1) * 2 + block_alignment) in alignment_scratch_size()
684 let (buffer_alignment, block_alignment) = aligned_subslice(scratch, blk_io.alignment())? in split_scratch()
686 let block_alignment = aligned_subslice(block_alignment, blk_io.alignment())?; in split_scratch() localVariable
691 Ok((buffer_alignment, &mut block_alignment[..block_alignment_scratch_size.try_into()?])) in split_scratch()