Lines Matching refs:VirtRegion
40 MemoryManagementArch, PageTableKind, VirtAddr, VirtRegion, VmFlags,
291 VirtRegion::new(page.virt_address(), count.data() * MMArch::PAGE_SIZE), in map_anonymous()
394 VirtRegion::new(page.virt_address(), count.data() * MMArch::PAGE_SIZE), in file_mapping()
528 let old_region = VirtRegion::new(old_vaddr, old_len); in mremap()
529 let new_region = VirtRegion::new(new_vaddr, new_len); in mremap()
580 let to_unmap = VirtRegion::new(start_page.virt_address(), page_count.bytes()); in munmap()
632 let region = VirtRegion::new(start_page.virt_address(), page_count.bytes()); in mprotect()
694 let region = VirtRegion::new(start_page.virt_address(), page_count.bytes()); in madvise()
912 pub fn conflicts(&self, request: VirtRegion) -> impl Iterator<Item = Arc<LockedVMA>> + '_ { in conflicts()
927 pub fn find_free(&self, min_vaddr: VirtAddr, size: usize) -> Option<VirtRegion> { in find_free() argument
947 let region = VirtRegion::new(cmp::max(*hole_vaddr, min_vaddr), *size); in find_free()
958 ) -> Result<VirtRegion, SystemError> { in find_free_at() argument
966 let requested = VirtRegion::new(vaddr, size); in find_free_at()
997 fn reserve_hole(&mut self, region: &VirtRegion) { in reserve_hole() argument
1019 fn unreserve_hole(&mut self, region: &VirtRegion) { in unreserve_hole() argument
1054 pub fn remove_vma(&mut self, region: &VirtRegion) -> Option<Arc<LockedVMA>> { in remove_vma()
1207 pub fn extract(&self, region: VirtRegion, utable: &PageMapper) -> Option<VMASplitResult> { in extract() argument
1219 let intersect: Option<VirtRegion> = guard.region.intersect(®ion); in extract()
1224 let intersect: VirtRegion = intersect.unwrap(); in extract()
1354 region: VirtRegion,
1389 region: VirtRegion, in new() argument
1409 pub fn region(&self) -> &VirtRegion { in region() argument
1569 VirtRegion::new(destination.virt_address(), count.data() * MMArch::PAGE_SIZE), in physmap()
1634 VirtRegion::new( in zeroed()