Home
last modified time | relevance | path

Searched refs:VMAddressSpace (Results 1 – 25 of 76) sorted by relevance

1234

/haiku/src/system/kernel/vm/
H A DVMAddressSpace.cpp49 typedef VMAddressSpace ValueType;
56 size_t Hash(const VMAddressSpace* value) const in Hash()
61 bool Compare(team_id key, const VMAddressSpace* value) const in Compare()
66 VMAddressSpace*& GetLink(VMAddressSpace* value) const in GetLink()
80 VMAddressSpace* VMAddressSpace::sKernelAddressSpace;
86 VMAddressSpace::VMAddressSpace(team_id id, addr_t base, size_t size, in VMAddressSpace() function in VMAddressSpace
104 VMAddressSpace::~VMAddressSpace() in ~VMAddressSpace()
118 VMAddressSpace::Init() in Init()
153 VMAddressSpace::RemoveAndPut() in RemoveAndPut()
165 VMAddressSpace::InitObject() in InitObject()
[all …]
H A DVMAddressSpaceLocking.h15 struct VMAddressSpace;
22 static VMAddressSpace* GetAddressSpaceByAreaID(area_id id);
29 AddressSpaceReadLocker(VMAddressSpace* space,
35 void SetTo(VMAddressSpace* space,
45 VMAddressSpace* AddressSpace() const { return fSpace; } in AddressSpace()
48 VMAddressSpace* fSpace;
56 AddressSpaceWriteLocker(VMAddressSpace* space,
62 void SetTo(VMAddressSpace* space,
76 VMAddressSpace* AddressSpace() const { return fSpace; } in AddressSpace()
79 VMAddressSpace* fSpace;
[all …]
H A DVMAddressSpaceLocking.cpp21 /*static*/ VMAddressSpace*
24 VMAddressSpace* addressSpace = NULL; in GetAddressSpaceByAreaID()
55 AddressSpaceReadLocker::AddressSpaceReadLocker(VMAddressSpace* space, in AddressSpaceReadLocker()
94 fSpace = VMAddressSpace::Get(team); in SetTo()
108 AddressSpaceReadLocker::SetTo(VMAddressSpace* space, bool getNewReference) in SetTo()
183 AddressSpaceWriteLocker::AddressSpaceWriteLocker(VMAddressSpace* space, in AddressSpaceWriteLocker()
224 fSpace = VMAddressSpace::Get(team); in SetTo()
235 AddressSpaceWriteLocker::SetTo(VMAddressSpace* space, bool getNewReference) in SetTo()
283 || (allowKernel && team == VMAddressSpace::KernelID()))) { in SetFromArea()
389 MultiAddressSpaceLocker::_IndexOfAddressSpace(VMAddressSpace* space) const in _IndexOfAddressSpace()
[all …]
H A DVMUserArea.cpp13 VMUserArea::VMUserArea(VMAddressSpace* addressSpace, uint32 wiring, in VMUserArea()
27 VMUserArea::Create(VMAddressSpace* addressSpace, const char* name, in Create()
46 VMUserArea::CreateReserved(VMAddressSpace* addressSpace, uint32 flags, in CreateReserved()
H A DVMUserArea.h18 VMUserArea(VMAddressSpace* addressSpace,
22 static VMUserArea* Create(VMAddressSpace* addressSpace,
25 static VMUserArea* CreateReserved(VMAddressSpace* addressSpace,
H A DVMKernelArea.cpp14 VMKernelArea::VMKernelArea(VMAddressSpace* addressSpace, uint32 wiring, in VMKernelArea()
28 VMKernelArea::Create(VMAddressSpace* addressSpace, const char* name, in Create()
H A Dvm.cpp261 static void delete_area(VMAddressSpace* addressSpace, VMArea* area,
263 static status_t vm_soft_fault(VMAddressSpace* addressSpace, addr_t address,
265 static status_t map_backing_store(VMAddressSpace* addressSpace,
500 lookup_area(VMAddressSpace* addressSpace, area_id id) in lookup_area()
528 area->address_space == VMAddressSpace::Kernel() in allocate_area_page_protections()
587 if (area->address_space == VMAddressSpace::Kernel()) in get_area_page_protection()
638 bool isKernelSpace = area->address_space == VMAddressSpace::Kernel(); in map_page()
746 cut_area(VMAddressSpace* addressSpace, VMArea* area, addr_t address, in cut_area()
761 if (addressSpace == VMAddressSpace::Kernel()) { in cut_area()
1057 unmap_address_range(VMAddressSpace* addressSpace, addr_t address, addr_t size, in unmap_address_range()
[all …]
H A Dvm_debug.cpp676 void SetAddressSpace(VMAddressSpace* addressSpace) in dump_mapping_info()
693 VMAddressSpace* fAddressSpace; in dump_mapping_info()
698 VMAddressSpace* addressSpace = team->address_space; in dump_mapping_info()
709 for (VMAddressSpace* addressSpace = VMAddressSpace::DebugFirst(); in dump_mapping_info()
711 addressSpace = VMAddressSpace::DebugNext(addressSpace)) { in dump_mapping_info()
721 VMAddressSpace* addressSpace; in dump_mapping_info()
723 addressSpace = VMAddressSpace::Kernel(); in dump_mapping_info()
780 VMAddressSpace* addressSpace; in vm_debug_copy_page_memory()
782 addressSpace = VMAddressSpace::Kernel(); in vm_debug_copy_page_memory()
790 addressSpace = VMAddressSpace::DebugGet(teamID); in vm_debug_copy_page_memory()
[all …]
H A DVMKernelArea.h113 VMKernelArea(VMAddressSpace* addressSpace,
117 static VMKernelArea* Create(VMAddressSpace* addressSpace,
H A DVMAnonymousNoSwapCache.cpp123 VMAnonymousNoSwapCache::Fault(struct VMAddressSpace* aspace, off_t offset) in Fault()
149 int priority = aspace == VMAddressSpace::Kernel() in Fault()
H A DJamfile14 VMAddressSpace.cpp
/haiku/headers/private/kernel/vm/
H A DVMAddressSpace.h23 struct VMAddressSpace { struct
29 VMAddressSpace(team_id id, addr_t base, argument
31 virtual ~VMAddressSpace();
74 VMAddressSpace*& HashTableLink() { return fHashTableLink; } in HashTableLink() argument
119 VMAddressSpace** _addressSpace);
123 static VMAddressSpace* Kernel() in Kernel() argument
125 static VMAddressSpace* GetKernel();
128 static VMAddressSpace* GetCurrent();
130 static VMAddressSpace* Get(team_id teamID);
132 static VMAddressSpace* DebugFirst();
[all …]
H A DVMArea.h22 struct VMAddressSpace;
122 struct VMAddressSpace* address_space;
149 VMArea(VMAddressSpace* addressSpace,
/haiku/headers/private/kernel/arch/
H A Dvm.h18 struct VMAddressSpace;
30 void arch_vm_aspace_swap(struct VMAddressSpace *from,
31 struct VMAddressSpace *to);
/haiku/src/system/kernel/arch/sparc/
H A Darch_vm.cpp62 if (vm_get_page_mapping(VMAddressSpace::KernelID(), range.start, in arch_vm_init_end()
65 area_id area = vm_map_physical_memory(VMAddressSpace::KernelID(), in arch_vm_init_end()
89 arch_vm_aspace_swap(struct VMAddressSpace *from, struct VMAddressSpace *to) in arch_vm_aspace_swap()
/haiku/src/system/kernel/arch/arm/
H A Darch_vm.cpp75 if (vm_get_page_mapping(VMAddressSpace::KernelID(), range.start, in arch_vm_init_end()
79 area_id area = vm_map_physical_memory(VMAddressSpace::KernelID(), in arch_vm_init_end()
107 arch_vm_aspace_swap(struct VMAddressSpace *from, struct VMAddressSpace *to) in arch_vm_aspace_swap()
/haiku/src/system/kernel/arch/arm64/
H A Darch_vm.cpp68 if (vm_get_page_mapping(VMAddressSpace::KernelID(), range.start, in arch_vm_init_end()
72 area_id area = vm_map_physical_memory(VMAddressSpace::KernelID(), in arch_vm_init_end()
98 arch_vm_aspace_swap(struct VMAddressSpace* from, struct VMAddressSpace* to) in arch_vm_aspace_swap()
/haiku/src/system/kernel/arch/riscv64/
H A Darch_vm.cpp177 VMAddressSpace* addrSpace = VMAddressSpace::DebugGet(id); in DumpPageTable()
239 VMAddressSpace* addrSpace = VMAddressSpace::DebugGet(id); in DumpVirtPage()
284 area_id area = vm_create_null_area(VMAddressSpace::KernelID(), in arch_vm_init_post_area()
324 if (vm_get_page_mapping(VMAddressSpace::KernelID(), range.start, in arch_vm_init_end()
327 area_id area = vm_map_physical_memory(VMAddressSpace::KernelID(), in arch_vm_init_end()
351 arch_vm_aspace_swap(struct VMAddressSpace *from, struct VMAddressSpace *to) in arch_vm_aspace_swap()
/haiku/src/system/kernel/arch/ppc/
H A Darch_vm.cpp123 if (vm_get_page_mapping(VMAddressSpace::KernelID(), range.start, in arch_vm_init_end()
126 area_id area = vm_map_physical_memory(VMAddressSpace::KernelID(), in arch_vm_init_end()
154 arch_vm_aspace_swap(struct VMAddressSpace *from, struct VMAddressSpace *to) in arch_vm_aspace_swap()
H A Darch_vm_translation_map.cpp317 VMAddressSpace *addressSpace = VMAddressSpace::Kernel(); in ppc_map_address_range()
344 VMAddressSpace *addressSpace = VMAddressSpace::Kernel(); in ppc_unmap_address_range()
355 VMAddressSpace *addressSpace = VMAddressSpace::Kernel(); in ppc_remap_address_range()
/haiku/headers/private/shared/
H A DAutoDeleterDrivers.h30 typedef MethodDeleter<VMAddressSpace, void, &VMAddressSpace::Put>
/haiku/src/system/kernel/arch/m68k/
H A Darch_vm.cpp107 arch_vm_aspace_swap(struct VMAddressSpace *from, struct VMAddressSpace *to) in arch_vm_aspace_swap()
H A Darch_thread.cpp101 VMAddressSpace* toAddressSpace = to->team->address_space; in m68k_next_page_directory()
108 toAddressSpace = VMAddressSpace::Kernel(); in m68k_next_page_directory()
/haiku/src/system/kernel/arch/x86/
H A Darch_thread.cpp137 VMAddressSpace* toAddressSpace = to->team->address_space; in x86_next_page_directory()
144 toAddressSpace = VMAddressSpace::Kernel(); in x86_next_page_directory()
210 VMAddressSpace* toAddressSpace = to->team->address_space; in arch_thread_context_switch()
/haiku/src/add-ons/kernel/generic/bios/
H A Dbios.cpp222 status = vm_reserve_address_range(VMAddressSpace::KernelID(), in bios_prepare()
233 vm_unreserve_address_range(VMAddressSpace::KernelID(), in bios_prepare()
242 vm_unreserve_address_range(VMAddressSpace::KernelID(), in bios_prepare()
252 vm_unreserve_address_range(VMAddressSpace::KernelID(), in bios_prepare()

1234