[−][src]Function linked_list_allocator::align_up
pub fn align_up(addr: usize, align: usize) -> usize
Align upwards. Returns the smallest x with alignment align
so that x >= addr. The alignment must be a power of 2.
pub fn align_up(addr: usize, align: usize) -> usize
Align upwards. Returns the smallest x with alignment align
so that x >= addr. The alignment must be a power of 2.