/haiku/src/system/kernel/vm/ |
H A D | VMAddressSpace.cpp | 49 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 D | VMAddressSpaceLocking.h | 15 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 D | VMAddressSpaceLocking.cpp | 21 /*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 D | VMUserArea.cpp | 13 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 D | VMUserArea.h | 18 VMUserArea(VMAddressSpace* addressSpace, 22 static VMUserArea* Create(VMAddressSpace* addressSpace, 25 static VMUserArea* CreateReserved(VMAddressSpace* addressSpace,
|
H A D | VMKernelArea.cpp | 14 VMKernelArea::VMKernelArea(VMAddressSpace* addressSpace, uint32 wiring, in VMKernelArea() 28 VMKernelArea::Create(VMAddressSpace* addressSpace, const char* name, in Create()
|
H A D | vm.cpp | 261 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 D | vm_debug.cpp | 676 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 D | VMKernelArea.h | 113 VMKernelArea(VMAddressSpace* addressSpace, 117 static VMKernelArea* Create(VMAddressSpace* addressSpace,
|
H A D | VMAnonymousNoSwapCache.cpp | 123 VMAnonymousNoSwapCache::Fault(struct VMAddressSpace* aspace, off_t offset) in Fault() 149 int priority = aspace == VMAddressSpace::Kernel() in Fault()
|
H A D | Jamfile | 14 VMAddressSpace.cpp
|
/haiku/headers/private/kernel/vm/ |
H A D | VMAddressSpace.h | 23 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 D | VMArea.h | 22 struct VMAddressSpace; 122 struct VMAddressSpace* address_space; 149 VMArea(VMAddressSpace* addressSpace,
|
/haiku/headers/private/kernel/arch/ |
H A D | vm.h | 18 struct VMAddressSpace; 30 void arch_vm_aspace_swap(struct VMAddressSpace *from, 31 struct VMAddressSpace *to);
|
/haiku/src/system/kernel/arch/sparc/ |
H A D | arch_vm.cpp | 62 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 D | arch_vm.cpp | 75 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 D | arch_vm.cpp | 68 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 D | arch_vm.cpp | 177 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 D | arch_vm.cpp | 123 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 D | arch_vm_translation_map.cpp | 317 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 D | AutoDeleterDrivers.h | 30 typedef MethodDeleter<VMAddressSpace, void, &VMAddressSpace::Put>
|
/haiku/src/system/kernel/arch/m68k/ |
H A D | arch_vm.cpp | 107 arch_vm_aspace_swap(struct VMAddressSpace *from, struct VMAddressSpace *to) in arch_vm_aspace_swap()
|
H A D | arch_thread.cpp | 101 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 D | arch_thread.cpp | 137 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 D | bios.cpp | 222 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()
|