Lines Matching refs:VmAddressRegion

24 VmAddressRegion::VmAddressRegion(VmAspace& aspace, vaddr_t base, size_t size, uint32_t vmar_flags)  in VmAddressRegion()  function in VmAddressRegion
35 VmAddressRegion::VmAddressRegion(VmAddressRegion& parent, vaddr_t base, size_t size, in VmAddressRegion() function in VmAddressRegion
44 VmAddressRegion::VmAddressRegion(VmAspace& kernel_aspace) in VmAddressRegion() function in VmAddressRegion
45 : VmAddressRegion(kernel_aspace, kernel_aspace.base(), kernel_aspace.size(), in VmAddressRegion()
52 VmAddressRegion::VmAddressRegion() in VmAddressRegion() function in VmAddressRegion
59 zx_status_t VmAddressRegion::CreateRoot(VmAspace& aspace, uint32_t vmar_flags, in CreateRoot()
60 fbl::RefPtr<VmAddressRegion>* out) { in CreateRoot()
64 auto vmar = new (&ac) VmAddressRegion(aspace, aspace.base(), aspace.size(), vmar_flags); in CreateRoot()
74 zx_status_t VmAddressRegion::CreateSubVmarInternal(size_t offset, size_t size, uint8_t align_pow2, in CreateSubVmarInternal()
166 VmAddressRegion(*this, new_base, size, vmar_flags, name)); in CreateSubVmarInternal()
188 zx_status_t VmAddressRegion::CreateSubVmar(size_t offset, size_t size, uint8_t align_pow2, in CreateSubVmar()
190 fbl::RefPtr<VmAddressRegion>* out) { in CreateSubVmar()
213 zx_status_t VmAddressRegion::CreateVmMapping(size_t mapping_offset, size_t size, uint8_t align_pow2, in CreateVmMapping()
264 zx_status_t VmAddressRegion::OverwriteVmMapping( in OverwriteVmMapping()
294 zx_status_t VmAddressRegion::DestroyLocked() { in DestroyLocked()
301 fbl::RefPtr<VmAddressRegion> cur(this); in DestroyLocked()
305 fbl::RefPtr<VmAddressRegion> child_region = nullptr; in DestroyLocked()
330 VmAddressRegion* cur_parent = cur->parent_; in DestroyLocked()
341 void VmAddressRegion::RemoveSubregion(VmAddressRegionOrMapping* region) { in RemoveSubregion()
345 fbl::RefPtr<VmAddressRegionOrMapping> VmAddressRegion::FindRegion(vaddr_t addr) { in FindRegion()
353 fbl::RefPtr<VmAddressRegionOrMapping> VmAddressRegion::FindRegionLocked(vaddr_t addr) { in FindRegionLocked()
366 size_t VmAddressRegion::AllocatedPagesLocked() const { in AllocatedPagesLocked()
381 zx_status_t VmAddressRegion::PageFault(vaddr_t va, uint pf_flags) { in PageFault()
396 bool VmAddressRegion::IsRangeAvailableLocked(vaddr_t base, size_t size) { in IsRangeAvailableLocked()
429 bool VmAddressRegion::CheckGapLocked(const ChildList::iterator& prev, in CheckGapLocked()
513 zx_status_t VmAddressRegion::AllocSpotLocked(size_t size, uint8_t align_pow2, uint arch_mmu_flags, in AllocSpotLocked()
533 bool VmAddressRegion::EnumerateChildrenLocked(VmEnumerator* ve, uint depth) { in EnumerateChildrenLocked()
542 VmAddressRegion* up = curr->parent_; in EnumerateChildrenLocked()
551 VmAddressRegion* vmar = curr->as_vm_address_region().get(); in EnumerateChildrenLocked()
585 bool VmAddressRegion::has_parent() const { in has_parent()
590 void VmAddressRegion::Dump(uint depth, bool verbose) const { in Dump()
602 void VmAddressRegion::Activate() { in Activate()
610 zx_status_t VmAddressRegion::Unmap(vaddr_t base, size_t size) { in Unmap()
627 zx_status_t VmAddressRegion::UnmapAllowPartial(vaddr_t base, size_t size) { in UnmapAllowPartial()
644 VmAddressRegion::ChildList::iterator VmAddressRegion::UpperBoundInternalLocked(vaddr_t base) { in UpperBoundInternalLocked()
657 zx_status_t VmAddressRegion::UnmapInternalLocked(vaddr_t base, size_t size, in UnmapInternalLocked()
697 VmAddressRegion* up = curr->parent_; in UnmapInternalLocked()
733 fbl::RefPtr<VmAddressRegion> vmar = curr->as_vm_address_region(); in UnmapInternalLocked()
770 zx_status_t VmAddressRegion::Protect(vaddr_t base, size_t size, uint new_arch_mmu_flags) { in Protect()
850 zx_status_t VmAddressRegion::LinearRegionAllocatorLocked(size_t size, uint8_t align_pow2, in LinearRegionAllocatorLocked()
883 void VmAddressRegion::ForEachGap(F func, uint8_t align_pow2) { in ForEachGap()
922 zx_status_t VmAddressRegion::NonCompactRandomizedRegionAllocatorLocked(size_t size, uint8_t align_p… in NonCompactRandomizedRegionAllocatorLocked()
993 zx_status_t VmAddressRegion::CompactRandomizedRegionAllocatorLocked(size_t size, uint8_t align_pow2, in CompactRandomizedRegionAllocatorLocked()