Home
last modified time | relevance | path

Searched refs:VMArea (Results 1 – 25 of 60) sorted by relevance

123

/haiku/src/system/kernel/vm/
H A DVMUserAddressSpace.h20 virtual VMArea* FirstArea() const;
21 virtual VMArea* NextArea(VMArea* area) const;
23 virtual VMArea* LookupArea(addr_t address) const;
24 virtual VMArea* FindClosestArea(addr_t address, bool less)
26 virtual VMArea* CreateArea(const char* name, uint32 wiring,
28 virtual void DeleteArea(VMArea* area,
30 virtual status_t InsertArea(VMArea* area, size_t size,
34 virtual void RemoveArea(VMArea* area,
37 virtual bool CanResizeArea(VMArea* area, size_t newSize);
38 virtual status_t ResizeArea(VMArea* area, size_t newSize,
[all …]
H A DVMKernelAddressSpace.h25 virtual VMArea* FirstArea() const;
26 virtual VMArea* NextArea(VMArea* area) const;
28 virtual VMArea* LookupArea(addr_t address) const;
29 virtual VMArea* FindClosestArea(addr_t address, bool less)
31 virtual VMArea* CreateArea(const char* name, uint32 wiring,
33 virtual void DeleteArea(VMArea* area,
35 virtual status_t InsertArea(VMArea* area, size_t size,
39 virtual void RemoveArea(VMArea* area,
42 virtual bool CanResizeArea(VMArea* area, size_t newSize);
43 virtual status_t ResizeArea(VMArea* area, size_t newSize,
[all …]
H A DVMArea.cpp26 VMArea::VMArea(VMAddressSpace* addressSpace, uint32 wiring, uint32 protection) in VMArea() function in VMArea
45 VMArea::~VMArea() in ~VMArea()
53 VMArea::Init(const char* name, uint32 allocationFlags) in Init()
68 VMArea::IsWired(addr_t base, size_t size) const in IsWired()
84 VMArea::Wire(VMAreaWiredRange* range) in Wire()
98 VMArea::Unwire(VMAreaWiredRange* range) in Unwire()
124 VMArea::Unwire(addr_t base, size_t size, bool writable) in Unwire()
147 VMArea::AddWaiterIfWired(VMAreaUnwiredWaiter* waiter) in AddWaiterIfWired()
177 VMArea::AddWaiterIfWired(VMAreaUnwiredWaiter* waiter, addr_t base, size_t size, in AddWaiterIfWired()
213 /*static*/ VMArea*
[all …]
H A DVMAddressSpaceLocking.h16 struct VMArea;
37 status_t SetFromArea(area_id areaID, VMArea*& area);
64 status_t SetFromArea(area_id areaID, VMArea*& area);
66 bool allowKernel, VMArea*& area);
68 VMArea*& area);
94 inline status_t AddArea(VMArea* area, bool writeLock,
99 VMArea*& _area, VMCache** _cache = NULL);
145 MultiAddressSpaceLocker::AddArea(VMArea* area, bool writeLock, in AddArea()
H A DVMAddressSpaceLocking.cpp28 VMArea* area = VMAreas::LookupLocked(id); in GetAddressSpaceByAreaID()
123 AddressSpaceReadLocker::SetFromArea(area_id areaID, VMArea*& area) in SetFromArea()
250 AddressSpaceWriteLocker::SetFromArea(area_id areaID, VMArea*& area) in SetFromArea()
274 bool allowKernel, VMArea*& area) in SetFromArea()
312 VMArea*& area) in SetFromArea()
498 bool writeLockThisOne, bool writeLockOthers, VMArea*& _area, in AddAreaCacheAndLock()
514 VMArea* area; in AddAreaCacheAndLock()
527 VMArea* firstArea = cache->areas; in AddAreaCacheAndLock()
528 for (VMArea* current = firstArea; current; in AddAreaCacheAndLock()
H A DVMUserAddressSpace.cpp96 inline VMArea*
106 inline VMArea*
107 VMUserAddressSpace::NextArea(VMArea* _area) const in NextArea()
117 VMArea*
126 VMUserAddressSpace::DeleteArea(VMArea* _area, uint32 allocationFlags) in DeleteArea()
135 VMArea*
147 VMArea*
163 VMUserAddressSpace::InsertArea(VMArea* _area, size_t size, in InsertArea()
211 VMUserAddressSpace::RemoveArea(VMArea* _area, uint32 allocationFlags) in RemoveArea()
225 VMUserAddressSpace::CanResizeArea(VMArea* area, size_t newSize) in CanResizeArea()
[all …]
H A DVMTranslationMap.cpp48 VMTranslationMap::UnmapPages(VMArea* area, addr_t base, size_t size, in UnmapPages()
92 VMTranslationMap::UnmapArea(VMArea* area, bool deletingAddressSpace, in UnmapArea()
163 VMTranslationMap::PageUnmapped(VMArea* area, page_num_t pageNumber, in PageUnmapped()
227 VMTranslationMap::UnaccessedPageUnmapped(VMArea* area, page_num_t pageNumber) in UnaccessedPageUnmapped()
H A Dvm.cpp100 inline AreaCacheLocker(VMArea* area) in AreaCacheLocker()
111 inline void SetTo(VMArea* area) in SetTo()
261 static void delete_area(VMAddressSpace* addressSpace, VMArea* area,
269 VMArea** _area, void** _virtualAddress);
482 virtual_page_address(VMArea* area, vm_page* page) in virtual_page_address()
490 is_page_in_area(VMArea* area, vm_page* page) in is_page_in_area()
499 static VMArea*
504 VMArea* area = VMAreas::LookupLocked(id); in lookup_area()
524 allocate_area_page_protections(VMArea* area) in allocate_area_page_protections()
555 set_area_page_protection(VMArea* area, addr_t pageAddress, uint32 protection) in set_area_page_protection()
[all …]
H A DVMKernelAddressSpace.cpp121 inline VMArea*
131 inline VMArea*
132 VMKernelAddressSpace::NextArea(VMArea* _area) const in NextArea()
142 VMArea*
152 VMKernelAddressSpace::DeleteArea(VMArea* _area, uint32 allocationFlags) in DeleteArea()
162 VMArea*
175 VMArea*
192 VMKernelAddressSpace::InsertArea(VMArea* _area, size_t size, in InsertArea()
227 VMKernelAddressSpace::RemoveArea(VMArea* _area, uint32 allocationFlags) in RemoveArea()
242 VMKernelAddressSpace::CanResizeArea(VMArea* area, size_t newSize) in CanResizeArea()
[all …]
/haiku/headers/private/kernel/vm/
H A DVMArea.h30 VMArea* area;
41 VMArea* area;
96 struct VMArea : private VMAreasTreeNode { struct
123 struct VMArea* cache_next; argument
124 struct VMArea* cache_prev; argument
149 VMArea(VMAddressSpace* addressSpace, argument
151 ~VMArea();
173 typedef VMArea Value; argument
175 AVLTreeNode* GetAVLTreeNode(VMArea* value) const in GetAVLTreeNode()
180 VMArea* GetValue(AVLTreeNode* node) const in GetValue()
[all …]
H A DVMAddressSpace.h78 virtual VMArea* FirstArea() const = 0;
79 virtual VMArea* NextArea(VMArea* area) const = 0;
81 virtual VMArea* LookupArea(addr_t address) const = 0;
82 virtual VMArea* FindClosestArea(addr_t address, bool less) const
84 virtual VMArea* CreateArea(const char* name, uint32 wiring,
87 virtual void DeleteArea(VMArea* area,
89 virtual status_t InsertArea(VMArea* area, size_t size,
94 virtual void RemoveArea(VMArea* area,
97 virtual bool CanResizeArea(VMArea* area, size_t newSize) = 0;
98 virtual status_t ResizeArea(VMArea* area, size_t newSize,
[all …]
H A DVMTranslationMap.h46 virtual status_t UnmapPage(VMArea* area, addr_t address,
48 virtual void UnmapPages(VMArea* area, addr_t base,
50 virtual void UnmapArea(VMArea* area,
63 status_t ProtectPage(VMArea* area, addr_t address,
65 status_t ProtectArea(VMArea* area,
72 VMArea* area, addr_t address,
85 void PageUnmapped(VMArea* area,
88 void UnaccessedPageUnmapped(VMArea* area,
147 VMTranslationMap::ProtectPage(VMArea* area, addr_t address, uint32 attributes) in ProtectPage()
156 VMTranslationMap::ProtectArea(VMArea* area, uint32 attributes) in ProtectArea()
/haiku/headers/private/kernel/arch/
H A Dvm.h19 struct VMArea;
34 status_t arch_vm_set_memory_type(struct VMArea *area, phys_addr_t physicalBase,
36 void arch_vm_unset_memory_type(struct VMArea *area);
/haiku/src/system/kernel/arch/m68k/paging/040/
H A DM68KVMTranslationMap040.h29 virtual status_t UnmapPage(VMArea* area, addr_t address,
31 virtual void UnmapPages(VMArea* area, addr_t base,
33 virtual void UnmapArea(VMArea* area,
51 VMArea* area, addr_t address,
/haiku/src/system/kernel/arch/x86/paging/32bit/
H A DX86VMTranslationMap32Bit.h33 virtual status_t UnmapPage(VMArea* area, addr_t address,
35 virtual void UnmapPages(VMArea* area, addr_t base,
37 virtual void UnmapArea(VMArea* area,
55 VMArea* area, addr_t address,
/haiku/src/system/kernel/arch/arm/paging/32bit/
H A DARMVMTranslationMap32Bit.h33 virtual status_t UnmapPage(VMArea* area, addr_t address,
35 virtual void UnmapPages(VMArea* area, addr_t base,
37 virtual void UnmapArea(VMArea* area,
57 VMArea* area, addr_t address,
/haiku/src/system/kernel/arch/x86/paging/pae/
H A DX86VMTranslationMapPAE.h36 virtual status_t UnmapPage(VMArea* area, addr_t address,
38 virtual void UnmapPages(VMArea* area, addr_t base,
40 virtual void UnmapArea(VMArea* area,
58 VMArea* area, addr_t address,
/haiku/src/system/kernel/arch/x86/paging/64bit/
H A DX86VMTranslationMap64Bit.h34 virtual status_t UnmapPage(VMArea* area, addr_t address,
36 virtual void UnmapPages(VMArea* area, addr_t base,
38 virtual void UnmapArea(VMArea* area,
56 VMArea* area, addr_t address,
/haiku/src/system/kernel/arch/ppc/paging/classic/
H A DPPCVMTranslationMapClassic.h44 virtual status_t UnmapPage(VMArea* area, addr_t address,
46 virtual void UnmapPages(VMArea* area, addr_t base,
48 virtual void UnmapArea(VMArea* area,
66 VMArea* area, addr_t address,
/haiku/src/system/kernel/arch/ppc/paging/460/
H A DPPCVMTranslationMap460.h44 virtual status_t UnmapPage(VMArea* area, addr_t address,
46 virtual void UnmapPages(VMArea* area, addr_t base,
48 virtual void UnmapArea(VMArea* area,
66 VMArea* area, addr_t address,
/haiku/src/system/kernel/arch/riscv64/
H A DRISCV64VMTranslationMap.h45 virtual status_t UnmapPage(VMArea* area, addr_t address,
47 virtual void UnmapPages(VMArea* area, addr_t base,
49 virtual void UnmapArea(VMArea* area,
62 status_t ProtectPage(VMArea* area, addr_t address,
64 status_t ProtectArea(VMArea* area,
74 VMArea* area, addr_t address,
/haiku/src/system/kernel/arch/arm64/
H A DVMSAv8TranslationMap.h59 virtual status_t UnmapPage(VMArea* area, addr_t address,
61 virtual void UnmapPages(VMArea* area, addr_t base,
63 virtual void UnmapArea(VMArea* area,
81 VMArea* area, addr_t address,
/haiku/src/system/kernel/arch/sparc/
H A Darch_vm.cpp110 arch_vm_unset_memory_type(VMArea *area) in arch_vm_unset_memory_type()
116 arch_vm_set_memory_type(VMArea *area, phys_addr_t physicalBase, uint32 type, in arch_vm_set_memory_type()
/haiku/src/system/kernel/arch/arm/
H A Darch_vm.cpp129 arch_vm_unset_memory_type(VMArea *area) in arch_vm_unset_memory_type()
135 arch_vm_set_memory_type(VMArea *area, phys_addr_t physicalBase, uint32 type, in arch_vm_set_memory_type()
/haiku/src/system/kernel/arch/m68k/
H A Darch_vm.cpp128 arch_vm_unset_memory_type(VMArea *area) in arch_vm_unset_memory_type()
134 arch_vm_set_memory_type(VMArea *area, phys_addr_t physicalBase, uint32 type, in arch_vm_set_memory_type()

123