kernel/vm: Rename VMCache::HasPage to StoreHasPage.

It checks whether the page or page's data is present in an underlying
"backing store", not whether the page is present in the cache itself.

No functional change intended.
This commit is contained in:
Augustin Cavalier
2025-01-22 16:19:33 -05:00
parent ece9fcbaa8
commit 414774d79f
11 changed files with 19 additions and 19 deletions
+2 -2
View File
@@ -152,7 +152,7 @@ public:
// backing store operations
virtual bool CanOvercommit();
virtual status_t Commit(off_t size, int priority);
virtual bool HasPage(off_t offset);
virtual bool StoreHasPage(off_t offset);
virtual status_t Read(off_t offset, const generic_io_vec *vecs,
size_t count, uint32 flags,
@@ -180,7 +180,7 @@ public:
virtual void AcquireStoreRef();
virtual void ReleaseStoreRef();
virtual bool DebugHasPage(off_t offset);
virtual bool DebugStoreHasPage(off_t offset);
vm_page* DebugLookupPage(off_t offset);
virtual void Dump(bool showPages) const;