Mercurial > yaffs-ecoscentric-gpl
diff yaffs_guts.h @ 384:c9e1700f2e05
Get rid of kernel lock, change stats to __u32
| author | charles <charles> |
|---|---|
| date | Mon, 15 Mar 2010 06:07:44 +0000 |
| parents | 952d0cdd1cbc |
| children | 36569f389824 |
line wrap: on
line diff
--- a/yaffs_guts.h +++ b/yaffs_guts.h @@ -751,23 +751,23 @@ struct yaffs_DeviceStruct { /* Statistcs */ - int nPageWrites; - int nPageReads; - int nBlockErasures; - int nErasureFailures; - int nGCCopies; - int garbageCollections; - int passiveGarbageCollections; - int nRetriedWrites; - int nRetiredBlocks; - int eccFixed; - int eccUnfixed; - int tagsEccFixed; - int tagsEccUnfixed; - int nDeletions; - int nUnmarkedDeletions; - int refreshCount; - int cacheHits; + __u32 nPageWrites; + __u32 nPageReads; + __u32 nBlockErasures; + __u32 nErasureFailures; + __u32 nGCCopies; + __u32 garbageCollections; + __u32 passiveGarbageCollections; + __u32 nRetriedWrites; + __u32 nRetiredBlocks; + __u32 eccFixed; + __u32 eccUnfixed; + __u32 tagsEccFixed; + __u32 tagsEccUnfixed; + __u32 nDeletions; + __u32 nUnmarkedDeletions; + __u32 refreshCount; + __u32 cacheHits; };
