Style changes
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34536 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -107,8 +107,9 @@ public:
|
||||
virtual status_t Commit(off_t size);
|
||||
virtual bool HasPage(off_t offset);
|
||||
|
||||
virtual status_t Read(off_t offset, const iovec *vecs, size_t count,
|
||||
uint32 flags, size_t *_numBytes);
|
||||
virtual status_t Read(off_t offset, const iovec *vecs,
|
||||
size_t count,uint32 flags,
|
||||
size_t *_numBytes);
|
||||
virtual status_t Write(off_t offset, const iovec *vecs, size_t count,
|
||||
uint32 flags, size_t *_numBytes);
|
||||
virtual status_t WriteAsync(off_t offset, const iovec* vecs,
|
||||
@@ -130,16 +131,10 @@ public:
|
||||
virtual void AcquireStoreRef();
|
||||
virtual void ReleaseStoreRef();
|
||||
|
||||
private:
|
||||
inline bool _IsMergeable() const;
|
||||
|
||||
void _MergeWithOnlyConsumer();
|
||||
void _RemoveConsumer(VMCache* consumer);
|
||||
|
||||
public:
|
||||
struct VMArea* areas;
|
||||
struct list_link consumer_link;
|
||||
struct list consumers;
|
||||
VMArea* areas;
|
||||
list_link consumer_link;
|
||||
list consumers;
|
||||
// list of caches that use this cache as a source
|
||||
VMCachePagesTree pages;
|
||||
VMCache* source;
|
||||
@@ -153,10 +148,16 @@ public:
|
||||
uint32 type : 6;
|
||||
|
||||
#if DEBUG_CACHE_LIST
|
||||
struct VMCache* debug_previous;
|
||||
struct VMCache* debug_next;
|
||||
VMCache* debug_previous;
|
||||
VMCache* debug_next;
|
||||
#endif
|
||||
|
||||
private:
|
||||
inline bool _IsMergeable() const;
|
||||
|
||||
void _MergeWithOnlyConsumer();
|
||||
void _RemoveConsumer(VMCache* consumer);
|
||||
|
||||
private:
|
||||
int32 fRefCount;
|
||||
mutex fLock;
|
||||
|
||||
Reference in New Issue
Block a user