From d6ddb118f319908682fa1c256d5e7ef484454e1f Mon Sep 17 00:00:00 2001 From: Michael Lotz Date: Tue, 5 May 2020 22:36:23 +0200 Subject: [PATCH] kernel/vm: Whitespace cleanup only. --- headers/private/kernel/vm/VMAddressSpace.h | 2 +- src/system/kernel/vm/VMAnonymousCache.h | 6 +++--- src/system/kernel/vm/VMAnonymousNoSwapCache.h | 12 ++++++------ src/system/kernel/vm/VMKernelArea.h | 2 +- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/headers/private/kernel/vm/VMAddressSpace.h b/headers/private/kernel/vm/VMAddressSpace.h index 28127ec8b4..aa8e4ee875 100644 --- a/headers/private/kernel/vm/VMAddressSpace.h +++ b/headers/private/kernel/vm/VMAddressSpace.h @@ -53,7 +53,7 @@ public: { return fRefCount; } inline void Get() { atomic_add(&fRefCount, 1); } - inline void Put(); + inline void Put(); void RemoveAndPut(); void IncrementFaultCount() diff --git a/src/system/kernel/vm/VMAnonymousCache.h b/src/system/kernel/vm/VMAnonymousCache.h index 2103eb8210..774c342e33 100644 --- a/src/system/kernel/vm/VMAnonymousCache.h +++ b/src/system/kernel/vm/VMAnonymousCache.h @@ -80,7 +80,7 @@ private: void _SwapBlockBuild(off_t pageIndex, swap_addr_t slotIndex, uint32 count); - void _SwapBlockFree(off_t pageIndex, uint32 count); + void _SwapBlockFree(off_t pageIndex, uint32 count); swap_addr_t _SwapBlockGetAddress(off_t pageIndex); status_t _Commit(off_t size, int priority); @@ -100,8 +100,8 @@ private: bool fHasPrecommitted; uint8 fPrecommittedPages; int32 fGuardedSize; - off_t fCommittedSwapSize; - off_t fAllocatedSwapSize; + off_t fCommittedSwapSize; + off_t fAllocatedSwapSize; }; #endif // ENABLE_SWAP_SUPPORT diff --git a/src/system/kernel/vm/VMAnonymousNoSwapCache.h b/src/system/kernel/vm/VMAnonymousNoSwapCache.h index ac922ef4f0..ee92338448 100644 --- a/src/system/kernel/vm/VMAnonymousNoSwapCache.h +++ b/src/system/kernel/vm/VMAnonymousNoSwapCache.h @@ -19,8 +19,8 @@ public: status_t Init(bool canOvercommit, int32 numPrecommittedPages, - int32 numGuardPages, - uint32 allocationFlags); + int32 numGuardPages, + uint32 allocationFlags); virtual status_t Commit(off_t size, int priority); virtual bool HasPage(off_t offset); @@ -30,11 +30,11 @@ public: { fGuardedSize = guardSize; } virtual status_t Read(off_t offset, const generic_io_vec *vecs, - size_t count,uint32 flags, - generic_size_t *_numBytes); + size_t count,uint32 flags, + generic_size_t *_numBytes); virtual status_t Write(off_t offset, const generic_io_vec *vecs, - size_t count, uint32 flags, - generic_size_t *_numBytes); + size_t count, uint32 flags, + generic_size_t *_numBytes); virtual status_t Fault(struct VMAddressSpace* aspace, off_t offset); diff --git a/src/system/kernel/vm/VMKernelArea.h b/src/system/kernel/vm/VMKernelArea.h index 3ece2371f8..0f64bdbf6d 100644 --- a/src/system/kernel/vm/VMKernelArea.h +++ b/src/system/kernel/vm/VMKernelArea.h @@ -30,7 +30,7 @@ public: addr_t base; size_t size; union { - VMKernelArea* area; + VMKernelArea* area; struct { addr_t base; uint32 flags;