Lines Matching refs:LockedVMA
302 ) -> Result<Arc<LockedVMA>, SystemError>, in mmap() argument
375 let regions: Vec<Arc<LockedVMA>> = self.mappings.conflicts(to_unmap).collect::<Vec<_>>(); in munmap()
589 vmas: HashSet<Arc<LockedVMA>>,
607 pub fn contains(&self, vaddr: VirtAddr) -> Option<Arc<LockedVMA>> { in contains() argument
618 pub fn conflicts(&self, request: VirtRegion) -> impl Iterator<Item = Arc<LockedVMA>> + '_ { in conflicts()
742 pub fn insert_vma(&mut self, vma: Arc<LockedVMA>) { in insert_vma() argument
759 pub fn remove_vma(&mut self, region: &VirtRegion) -> Option<Arc<LockedVMA>> { in remove_vma() argument
761 let vma: Arc<LockedVMA> = self in remove_vma()
771 pub fn iter_vmas(&self) -> hashbrown::hash_set::Iter<Arc<LockedVMA>> { in iter_vmas() argument
786 pub struct LockedVMA(SpinLock<VMA>); struct
788 impl core::hash::Hash for LockedVMA { implementation
794 impl PartialEq for LockedVMA { implementation
800 impl Eq for LockedVMA {} implementation
803 impl LockedVMA { impl
881 Option<Arc<LockedVMA>>, in extract() argument
882 Arc<LockedVMA>, in extract()
883 Option<Arc<LockedVMA>>, in extract()
908 let before: Option<Arc<LockedVMA>> = guard.region.before(®ion).map(|virt_region| { in extract()
912 let vma: Arc<LockedVMA> = LockedVMA::new(vma); in extract()
916 let after: Option<Arc<LockedVMA>> = guard.region.after(®ion).map(|virt_region| { in extract()
920 let vma: Arc<LockedVMA> = LockedVMA::new(vma); in extract()
943 self_ref: Weak<LockedVMA>,
1038 ) -> Result<Arc<LockedVMA>, SystemError> { in physmap() argument
1062 let r: Arc<LockedVMA> = LockedVMA::new(VMA { in physmap()
1087 ) -> Result<Arc<LockedVMA>, SystemError> { in zeroed() argument
1107 let r = LockedVMA::new(VMA { in zeroed()