mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:37:45 +00:00
Kernel: Improve RegionTree's internal helper function names
It's a bit nicer if functions that allocate ranges have some kind of name that includes both "allocate" and "range". :^)
This commit is contained in:
parent
32dea6bde5
commit
8b01789ec4
2 changed files with 10 additions and 10 deletions
|
@ -47,9 +47,9 @@ public:
|
|||
void delete_all_regions_assuming_they_are_unmapped();
|
||||
|
||||
private:
|
||||
ErrorOr<VirtualRange> try_allocate_anywhere(size_t size, size_t alignment = PAGE_SIZE);
|
||||
ErrorOr<VirtualRange> try_allocate_specific(VirtualAddress base, size_t size);
|
||||
ErrorOr<VirtualRange> try_allocate_randomized(size_t size, size_t alignment = PAGE_SIZE);
|
||||
ErrorOr<VirtualRange> allocate_range_anywhere(size_t size, size_t alignment = PAGE_SIZE);
|
||||
ErrorOr<VirtualRange> allocate_range_specific(VirtualAddress base, size_t size);
|
||||
ErrorOr<VirtualRange> allocate_range_randomized(size_t size, size_t alignment = PAGE_SIZE);
|
||||
|
||||
Spinlock m_lock;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue