Lines Matching refs:LockedVMA

185             let new_vma = LockedVMA::new(vma_guard.clone_info_only());  in try_clone()
289 Ok(LockedVMA::new(VMA::new( in map_anonymous()
392 Ok(LockedVMA::new(VMA::new( in file_mapping()
431 ) -> Result<Arc<LockedVMA>, SystemError>, in mmap() argument
578 let regions: Vec<Arc<LockedVMA>> = self.mappings.conflicts(to_unmap).collect::<Vec<_>>(); in munmap()
849 vmas: HashSet<Arc<LockedVMA>>,
867 pub fn contains(&self, vaddr: VirtAddr) -> Option<Arc<LockedVMA>> { in contains() argument
886 pub fn find_nearest(&self, vaddr: VirtAddr) -> Option<Arc<LockedVMA>> { in find_nearest() argument
887 let mut nearest: Option<Arc<LockedVMA>> = None; in find_nearest()
907 pub fn conflicts(&self, request: VirtRegion) -> impl Iterator<Item = Arc<LockedVMA>> + '_ { in conflicts()
1032 pub fn insert_vma(&mut self, vma: Arc<LockedVMA>) { in insert_vma() argument
1049 pub fn remove_vma(&mut self, region: &VirtRegion) -> Option<Arc<LockedVMA>> { in remove_vma() argument
1051 let vma: Arc<LockedVMA> = self in remove_vma()
1061 pub fn iter_vmas(&self) -> hashbrown::hash_set::Iter<Arc<LockedVMA>> { in iter_vmas() argument
1076 pub struct LockedVMA { struct
1082 impl core::hash::Hash for LockedVMA { implementation
1088 impl PartialEq for LockedVMA { implementation
1094 impl Eq for LockedVMA {} implementation
1097 impl LockedVMA { implementation
1230 let before: Option<Arc<LockedVMA>> = guard.region.before(&region).map(|virt_region| { in extract()
1234 let vma: Arc<LockedVMA> = LockedVMA::new(vma); in extract()
1238 let after: Option<Arc<LockedVMA>> = guard.region.after(&region).map(|virt_region| { in extract()
1242 let vma: Arc<LockedVMA> = LockedVMA::new(vma); in extract()
1317 impl Drop for LockedVMA { implementation
1326 pub prev: Option<Arc<LockedVMA>>,
1327 pub middle: Arc<LockedVMA>,
1328 pub after: Option<Arc<LockedVMA>>,
1333 prev: Option<Arc<LockedVMA>>, in new() argument
1334 middle: Arc<LockedVMA>, in new() argument
1335 post: Option<Arc<LockedVMA>>, in new() argument
1358 self_ref: Weak<LockedVMA>,
1544 ) -> Result<Arc<LockedVMA>, SystemError> { in physmap() argument
1563 let r: Arc<LockedVMA> = LockedVMA::new(VMA::new( in physmap()
1609 ) -> Result<Arc<LockedVMA>, SystemError> { in zeroed() argument
1628 let r = LockedVMA::new(VMA::new( in zeroed()