Lines Matching defs:self

237         &mut self,  in map_anonymous()
304 &mut self, in mmap()
368 &mut self, in munmap()
404 &mut self, in mprotect()
471 pub fn new_user_stack(&mut self, size: usize) -> Result<(), SystemError> { in new_user_stack()
484 pub unsafe fn unmap_all(&mut self) { in unmap_all()
500 pub unsafe fn set_brk(&mut self, new_brk: VirtAddr) -> Result<VirtAddr, SystemError> { in set_brk()
532 pub unsafe fn sbrk(&mut self, incr: isize) -> Result<VirtAddr, SystemError> { in sbrk()
550 fn drop(&mut self) { in drop()
569 fn drop(&mut self) { in drop()
607 pub fn contains(&self, vaddr: VirtAddr) -> Option<Arc<LockedVMA>> { in contains()
618 pub fn conflicts(&self, request: VirtRegion) -> impl Iterator<Item = Arc<LockedVMA>> + '_ { in conflicts()
633 pub fn find_free(&self, min_vaddr: VirtAddr, size: usize) -> Option<VirtRegion> { in find_free()
658 &self, 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()
742 pub fn insert_vma(&mut self, vma: Arc<LockedVMA>) { in insert_vma()
759 pub fn remove_vma(&mut self, region: &VirtRegion) -> Option<Arc<LockedVMA>> { in remove_vma()
789 fn hash<H: Hasher>(&self, state: &mut H) { in hash()
795 fn eq(&self, other: &Self) -> bool { in eq()
823 &self, in remap()
844 pub fn unmap(&self, mapper: &mut PageMapper, mut flusher: impl Flusher<MMArch>) { in unmap()
878 &self, in extract()
947 fn hash<H: Hasher>(&self, state: &mut H) { in hash()
988 &mut self, in remap()
1016 pub fn can_have_flags(&self, prot_flags: ProtFlags) -> bool { in can_have_flags()
1137 fn drop(&mut self) { in drop()
1144 fn eq(&self, other: &Self) -> bool { in eq()
1152 fn partial_cmp(&self, other: &Self) -> Option<cmp::Ordering> { in partial_cmp()
1158 fn cmp(&self, other: &Self) -> cmp::Ordering { in cmp()
1243 &mut self, in initial_extend()
1277 &mut self, in extend()
1305 pub unsafe fn set_sp(&mut self, sp: VirtAddr) { in set_sp()