Kernel: Rename region_from_foo() => find_region_from_foo()

Let's emphasize that these functions actually go out and find regions.
This commit is contained in:
Andreas Kling 2020-07-30 23:52:28 +02:00
commit be7add690d
Notes: sideshowbarker 2024-07-19 04:27:12 +09:00
8 changed files with 21 additions and 21 deletions

View file

@ -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&);