Lines Matching refs:VirtRegion
35 MemoryManagementArch, PageTableKind, VirtAddr, VirtRegion,
372 let to_unmap = VirtRegion::new(start_page.virt_address(), page_count.bytes()); in munmap()
424 let region = VirtRegion::new(start_page.virt_address(), page_count.bytes()); in mprotect()
618 pub fn conflicts(&self, request: VirtRegion) -> impl Iterator<Item = Arc<LockedVMA>> + '_ { in conflicts()
633 pub fn find_free(&self, min_vaddr: VirtAddr, size: usize) -> Option<VirtRegion> { in find_free() argument
653 let region = VirtRegion::new(cmp::max(*hole_vaddr, min_vaddr), *size); in find_free()
663 ) -> Result<VirtRegion, SystemError> { in find_free_at() argument
671 let requested = VirtRegion::new(vaddr, size); in find_free_at()
702 fn reserve_hole(&mut self, region: &VirtRegion) { in reserve_hole() argument
724 fn unreserve_hole(&mut self, region: &VirtRegion) { in unreserve_hole() argument
759 pub fn remove_vma(&mut self, region: &VirtRegion) -> Option<Arc<LockedVMA>> { in remove_vma()
879 region: VirtRegion, in extract() argument
896 let intersect: Option<VirtRegion> = guard.region.intersect(®ion); in extract()
901 let intersect: VirtRegion = intersect.unwrap(); in extract()
936 region: VirtRegion,
956 pub fn region(&self) -> &VirtRegion { in region() argument
1063 region: VirtRegion::new(destination.virt_address(), count.data() * MMArch::PAGE_SIZE), in physmap()
1108 region: VirtRegion::new( in zeroed()