

Public Member Functions | |
| LLVFSFileBlock () | |
| LLVFSFileBlock (const LLUUID &file_id, LLAssetType::EType file_type, U32 loc=0, S32 size=0) | |
| void | init () |
| U32 | swizzle32 (U32 x) |
| U16 | swizzle16 (U16 x) |
| void | swizzleCopy (void *dst, void *src, int size) |
| void | serialize (U8 *buffer) |
| void | deserialize (U8 *buffer, const S32 index_loc) |
Static Public Member Functions | |
| static BOOL | insertLRU (LLVFSFileBlock *const &first, LLVFSFileBlock *const &second) |
Public Attributes | |
| S32 | mSize |
| S32 | mIndexLocation |
| U32 | mAccessTime |
| BOOL | mLocks [VFSLOCK_COUNT] |
Static Public Attributes | |
| static const S32 | SERIAL_SIZE = 34 |
Definition at line 110 of file llvfs.cpp.
| LLVFSFileBlock::LLVFSFileBlock | ( | ) | [inline] |
| LLVFSFileBlock::LLVFSFileBlock | ( | const LLUUID & | file_id, | |
| LLAssetType::EType | file_type, | |||
| U32 | loc = 0, |
|||
| S32 | size = 0 | |||
| ) | [inline] |
Definition at line 186 of file llvfs.cpp.
References mAccessTime, LLUUID::mData, LLVFSFileSpecifier::mFileID, LLVFSFileSpecifier::mFileType, mIndexLocation, LLVFSBlock::mLength, LLVFSBlock::mLocation, mSize, and swizzleCopy().
Referenced by LLVFS::audit(), and LLVFS::LLVFS().
Definition at line 124 of file llvfs.cpp.
References i, mAccessTime, mIndexLocation, mLocks, mSize, NULL, S32, and VFSLOCK_COUNT.
Referenced by LLVFSFileBlock().
| static BOOL LLVFSFileBlock::insertLRU | ( | LLVFSFileBlock *const & | first, | |
| LLVFSFileBlock *const & | second | |||
| ) | [inline, static] |
Definition at line 205 of file llvfs.cpp.
References first, and mAccessTime.
Referenced by LLVFSFileBlock_less::operator()().
Definition at line 170 of file llvfs.cpp.
References mAccessTime, LLUUID::mData, LLVFSFileSpecifier::mFileID, LLVFSFileSpecifier::mFileType, LLVFSBlock::mLength, LLVFSBlock::mLocation, mSize, and swizzleCopy().
Referenced by LLVFS::sync().
Definition at line 151 of file llvfs.cpp.
References swizzle16(), and swizzle32().
Referenced by deserialize(), and serialize().
Definition at line 216 of file llvfs.cpp.
Referenced by LLVFS::audit(), deserialize(), LLVFS::getExists(), LLVFS::incLock(), init(), insertLRU(), serialize(), and LLVFS::setMaxSize().
Definition at line 215 of file llvfs.cpp.
Referenced by LLVFS::audit(), deserialize(), init(), LLVFS::LLVFS(), LLVFS::removeFileBlock(), and LLVFS::sync().
| BOOL LLVFSFileBlock::mLocks[VFSLOCK_COUNT] |
Definition at line 214 of file llvfs.cpp.
Referenced by LLVFS::audit(), deserialize(), init(), LLVFS::LLVFS(), LLVFS::removeFileBlock(), serialize(), and LLVFS::setMaxSize().
const S32 LLVFSFileBlock::SERIAL_SIZE = 34 [static] |
Definition at line 219 of file llvfs.cpp.
Referenced by LLVFS::audit(), LLVFS::LLVFS(), and LLVFS::sync().
1.4.7