summaryrefslogtreecommitdiff
path: root/Kernel/VM/MemoryManager.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-07-30 23:52:28 +0200
committerAndreas Kling <kling@serenityos.org>2020-07-30 23:52:28 +0200
commitbe7add690d3caa622ca2fdba96a00f4127229648 (patch)
tree050f6d72047d9fa4644c921f36b664dfeff8b2d9 /Kernel/VM/MemoryManager.h
parent2e2de125e5134d0fdcb6d4e96a3a025be5630811 (diff)
downloadserenity-be7add690d3caa622ca2fdba96a00f4127229648.zip
Kernel: Rename region_from_foo() => find_region_from_foo()
Let's emphasize that these functions actually go out and find regions.
Diffstat (limited to 'Kernel/VM/MemoryManager.h')
-rw-r--r--Kernel/VM/MemoryManager.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Kernel/VM/MemoryManager.h b/Kernel/VM/MemoryManager.h
index a3dd4a92be..a7a324ed0d 100644
--- a/Kernel/VM/MemoryManager.h
+++ b/Kernel/VM/MemoryManager.h
@@ -150,8 +150,8 @@ public:
}
}
- static Region* region_from_vaddr(Process&, VirtualAddress);
- static const Region* region_from_vaddr(const Process&, VirtualAddress);
+ static Region* find_region_from_vaddr(Process&, VirtualAddress);
+ static const Region* find_region_from_vaddr(const Process&, VirtualAddress);
void dump_kernel_regions();
@@ -184,7 +184,7 @@ private:
static Region* user_region_from_vaddr(Process&, VirtualAddress);
static Region* kernel_region_from_vaddr(VirtualAddress);
- static Region* region_from_vaddr(VirtualAddress);
+ static Region* find_region_from_vaddr(VirtualAddress);
RefPtr<PhysicalPage> find_free_user_physical_page();
u8* quickmap_page(PhysicalPage&);