linked_list_allocator

Function align_down_size

Source
pub fn align_down_size(size: usize, align: usize) -> usize
Expand description

Align downwards. Returns the greatest x with alignment align so that x <= addr. The alignment must be a power of 2.