Searched refs:unchecked_align_down (Results 1 – 3 of 3) sorted by relevance
31 pub const fn unchecked_align_down(addr: usize, alignment: usize) -> usize { in unchecked_align_down() function39 unchecked_align_down(addr + alignment - 1, alignment) in unchecked_align_up()47 Some(unchecked_align_down(s, alignment)) in align_up()61 Some(unchecked_align_down(addr, alignment)) in align_down()
18 use crate::util::unchecked_align_down;57 let start = unchecked_align_down(start, line_size); in flush_region()86 unchecked_align_down(addr, SIZE_4KB) in page_4kb_of()
25 use crate::util::unchecked_align_down;412 let base = unchecked_align_down(phys, self.granule); in share()