Searched refs:LockedVMA (Results 1 – 10 of 10) sorted by relevance
/DragonOS/kernel/src/mm/ |
H A D | ucontext.rs | 186 let new_vma = LockedVMA::new(vma_guard.clone_info_only()); in try_clone() 290 Ok(LockedVMA::new(VMA::new( in map_anonymous() 393 Ok(LockedVMA::new(VMA::new( in file_mapping() 436 ) -> Result<Arc<LockedVMA>, SystemError>, in mmap() argument 583 let regions: Vec<Arc<LockedVMA>> = self.mappings.conflicts(to_unmap).collect::<Vec<_>>(); in munmap() 854 vmas: HashSet<Arc<LockedVMA>>, 872 pub fn contains(&self, vaddr: VirtAddr) -> Option<Arc<LockedVMA>> { in contains() argument 891 pub fn find_nearest(&self, vaddr: VirtAddr) -> Option<Arc<LockedVMA>> { in find_nearest() argument 892 let mut nearest: Option<Arc<LockedVMA>> = None; in find_nearest() 912 pub fn conflicts(&self, request: VirtRegion) -> impl Iterator<Item = Arc<LockedVMA>> + '_ { in conflicts() [all …]
|
H A D | madvise.rs | 5 use super::{page::Flusher, syscall::MadvFlags, ucontext::LockedVMA, VmFlags}; 7 impl LockedVMA { implementation
|
H A D | fault.rs | 15 ucontext::LockedVMA, 51 vma: Arc<LockedVMA>, 68 vma: Arc<LockedVMA>, in new() argument 90 pub fn vma(&self) -> Arc<LockedVMA> { in vma() argument
|
H A D | page.rs | 34 ucontext::LockedVMA, 342 anon_vma: HashSet<Arc<LockedVMA>>, 369 pub fn insert_vma(&mut self, vma: Arc<LockedVMA>) { in insert_vma() argument 375 pub fn remove_vma(&mut self, vma: &LockedVMA) { in remove_vma() argument 427 pub fn anon_vma(&self) -> &HashSet<Arc<LockedVMA>> { in anon_vma() argument
|
H A D | mod.rs | 20 ucontext::{AddressSpace, LockedVMA, UserMapper}, 649 _vma: Arc<LockedVMA>, in vma_access_permitted() argument
|
/DragonOS/kernel/src/arch/x86_64/mm/ |
H A D | pkru.rs | 3 use crate::mm::ucontext::LockedVMA; 18 pub fn vma_pkey(vma: Arc<LockedVMA>) -> u16 { in vma_pkey()
|
H A D | fault.rs | 21 ucontext::{AddressSpace, LockedVMA}, 33 pub fn vma_access_error(vma: Arc<LockedVMA>, error_code: X86PfErrorCode) -> bool { in vma_access_error() argument
|
H A D | mod.rs | 22 use crate::mm::ucontext::LockedVMA; 320 vma: Arc<LockedVMA>, in vma_access_permitted() argument
|
/DragonOS/kernel/src/driver/video/fbdev/base/ |
H A D | mod.rs | 9 mm::{ucontext::LockedVMA, PhysAddr, VirtAddr}, 401 fn fb_mmap(&self, _vma: &Arc<LockedVMA>) -> Result<(), SystemError> { in fb_mmap()
|
/DragonOS/kernel/src/arch/riscv64/mm/ |
H A D | mod.rs | 252 _vma: alloc::sync::Arc<crate::mm::ucontext::LockedVMA>, in vma_access_permitted() argument
|