[haiku-commits] r36360 - haiku/trunk/src/system/kernel/cache

  • From: ingo_weinhold@xxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Mon, 19 Apr 2010 22:41:05 +0200 (CEST)

Author: bonefish
Date: 2010-04-19 22:41:05 +0200 (Mon, 19 Apr 2010)
New Revision: 36360
Changeset: http://dev.haiku-os.org/changeset/36360/haiku

Modified:
   haiku/trunk/src/system/kernel/cache/vnode_store.h
Log:
Adjusted indentation. No functional change.


Modified: haiku/trunk/src/system/kernel/cache/vnode_store.h
===================================================================
--- haiku/trunk/src/system/kernel/cache/vnode_store.h   2010-04-19 20:15:32 UTC 
(rev 36359)
+++ haiku/trunk/src/system/kernel/cache/vnode_store.h   2010-04-19 20:41:05 UTC 
(rev 36360)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2008-2009, Ingo Weinhold, ingo_weinhold@xxxxxxx
+ * Copyright 2008-2010, Ingo Weinhold, ingo_weinhold@xxxxxxx
  * Copyright 2004-2007, Axel Dörfler, axeld@xxxxxxxxxxxxxxxxx
  * Distributed under the terms of the MIT License.
  */
@@ -15,38 +15,42 @@
 
 class VMVnodeCache : public VMCache {
 public:
-                       status_t        Init(struct vnode *vnode, uint32 
allocationFlags);
+                       status_t                        Init(struct vnode 
*vnode,
+                                                                       uint32 
allocationFlags);
 
-       virtual bool            HasPage(off_t offset);
+       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        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,
-                                                       size_t count, size_t 
numBytes, uint32 flags,
-                                                       AsyncIOCallback* 
callback);
-       virtual bool            CanWritePage(off_t offset);
+       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,
+                                                                       size_t 
count, size_t numBytes, uint32 flags,
+                                                                       
AsyncIOCallback* callback);
+       virtual bool                            CanWritePage(off_t offset);
 
-       virtual status_t        Fault(struct VMAddressSpace *aspace, off_t 
offset);
+       virtual status_t                        Fault(struct VMAddressSpace 
*aspace,
+                                                                       off_t 
offset);
 
-       virtual status_t        AcquireUnreferencedStoreRef();
-       virtual void            AcquireStoreRef();
-       virtual void            ReleaseStoreRef();
+       virtual status_t                        AcquireUnreferencedStoreRef();
+       virtual void                            AcquireStoreRef();
+       virtual void                            ReleaseStoreRef();
 
-                       void            SetFileCacheRef(file_cache_ref* ref)
-                                                       { fFileCacheRef = ref; }
-       file_cache_ref*         FileCacheRef() const
-                                                       { return fFileCacheRef; 
}
+                       void                            
SetFileCacheRef(file_cache_ref* ref)
+                                                                       { 
fFileCacheRef = ref; }
+                       file_cache_ref*         FileCacheRef() const
+                                                                       { 
return fFileCacheRef; }
 
-                       void            VnodeDeleted()  { fVnodeDeleted = true; 
}
+                       void                            VnodeDeleted()  { 
fVnodeDeleted = true; }
 
 private:
-       struct vnode*   fVnode;
-       file_cache_ref* fFileCacheRef;
-       ino_t                   fInode;
-       dev_t                   fDevice;
-       volatile bool   fVnodeDeleted;
+                       struct vnode*           fVnode;
+                       file_cache_ref*         fFileCacheRef;
+                       ino_t                           fInode;
+                       dev_t                           fDevice;
+       volatile bool                           fVnodeDeleted;
 };
 
 


Other related posts:

  • » [haiku-commits] r36360 - haiku/trunk/src/system/kernel/cache - ingo_weinhold