Home
last modified time | relevance | path

Searched defs:VirtRegion (Results 1 – 2 of 2) sorted by relevance

/DragonOS-0.1.8/kernel/src/mm/
Dmod.rs467 pub struct VirtRegion { struct
473 impl VirtRegion { implementation
505 pub fn intersect(&self, other: &VirtRegion) -> Option<VirtRegion> { in intersect()
596 impl PartialOrd for VirtRegion { implementation
602 impl Ord for VirtRegion { implementation
Ducontext.rs633 pub fn find_free(&self, min_vaddr: VirtAddr, size: usize) -> Option<VirtRegion> { in find_free()
663 ) -> Result<VirtRegion, SystemError> { in find_free_at()
702 fn reserve_hole(&mut self, region: &VirtRegion) { in reserve_hole()
724 fn unreserve_hole(&mut self, region: &VirtRegion) { in unreserve_hole()
879 region: VirtRegion, in extract()
956 pub fn region(&self) -> &VirtRegion { in region()