Home
last modified time | relevance | path

Searched refs:intersect (Results 1 – 2 of 2) sorted by relevance

/DragonOS-0.1.8/kernel/src/mm/
Ducontext.rs380 let intersection = r.lock().region().intersect(&to_unmap).unwrap(); in munmap()
435 let intersection = r.lock().region().intersect(&region).unwrap(); in mprotect()
622 .filter(move |v| !v.lock().region.intersect(&request).is_none()) in conflicts()
896 let intersect: Option<VirtRegion> = guard.region.intersect(&region); in extract() localVariable
898 if unlikely(intersect.is_none()) { in extract()
901 let intersect: VirtRegion = intersect.unwrap(); in extract() localVariable
902 if unlikely(intersect == guard.region) { in extract()
Dmod.rs505 pub fn intersect(&self, other: &VirtRegion) -> Option<VirtRegion> { in intersect() method
543 return self.intersect(other).is_some(); in collide()