Home
last modified time | relevance | path

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

/packages/modules/Virtualization/vmbase/src/
Dutil.rs31 pub const fn unchecked_align_down(addr: usize, alignment: usize) -> usize { in unchecked_align_down() function
39 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()
/packages/modules/Virtualization/vmbase/src/memory/
Dutil.rs18 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()
Dshared.rs25 use crate::util::unchecked_align_down;
412 let base = unchecked_align_down(phys, self.granule); in share()