Home
last modified time | relevance | path

Searched defs:CheckSumCache (Results 1 – 1 of 1) sorted by relevance

/haiku/src/tests/system/kernel/file_corruption/driver/
H A Dchecksum_device.cpp87 struct CheckSumCache { struct
88 CheckSumCache() in CheckSumCache() function
93 ~CheckSumCache() in ~CheckSumCache() argument
101 status_t Init(int fd, uint64 blockCount, uint32 cachedBlockCount) in Init()
117 status_t GetCheckSum(uint64 blockIndex, CheckSum& checkSum) in GetCheckSum()
134 status_t SetCheckSum(uint64 blockIndex, const CheckSum& checkSum) in SetCheckSum()
161 typedef DoublyLinkedList<CheckSumBlock> BlockList;
164 status_t _GetBlock(uint64 blockIndex, CheckSumBlock*& _block) in _GetBlock()
196 status_t _FlushBlock(CheckSumBlock* block) in _FlushBlock()
212 status_t _ReadBlock(CheckSumBlock* block, uint64 blockIndex) in _ReadBlock()
[all …]