

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] |
| void LLVFSFileBlock::init | ( | void | ) | [inline] |
| void LLVFSFileBlock::swizzleCopy | ( | void * | dst, | |
| void * | src, | |||
| int | size | |||
| ) | [inline] |
| void LLVFSFileBlock::serialize | ( | U8 * | buffer | ) | [inline] |
Definition at line 170 of file llvfs.cpp.
References LLUUID::mData, LLVFSFileSpecifier::mFileID, LLVFSFileSpecifier::mFileType, and mSize.
Referenced by LLVFS::sync().

Definition at line 186 of file llvfs.cpp.
References LLUUID::mData, LLVFSFileSpecifier::mFileID, LLVFSFileSpecifier::mFileType, and mSize.
Referenced by LLVFS::audit(), and LLVFS::LLVFS().

| static BOOL LLVFSFileBlock::insertLRU | ( | LLVFSFileBlock *const & | first, | |
| LLVFSFileBlock *const & | second | |||
| ) | [inline, static] |
Definition at line 205 of file llvfs.cpp.
References mAccessTime.
Referenced by LLVFSFileBlock_less::operator()().

Definition at line 214 of file llvfs.cpp.
Referenced by LLVFS::audit(), LLVFS::dumpFiles(), LLVFS::getData(), LLVFS::getSize(), LLVFS::listFiles(), LLVFS::LLVFS(), LLVFS::removeFileBlock(), LLVFS::setMaxSize(), and LLVFS::storeData().
Definition at line 215 of file llvfs.cpp.
Referenced by LLVFS::audit(), LLVFS::checkMem(), LLVFS::LLVFS(), LLVFS::removeFileBlock(), and LLVFS::sync().
Definition at line 216 of file llvfs.cpp.
Referenced by LLVFS::audit(), LLVFS::getData(), LLVFS::getExists(), LLVFS::getMaxSize(), LLVFS::getSize(), LLVFS::incLock(), insertLRU(), LLVFS::renameFile(), LLVFS::setMaxSize(), and LLVFS::storeData().
| BOOL LLVFSFileBlock::mLocks[VFSLOCK_COUNT] |
Definition at line 217 of file llvfs.cpp.
Referenced by LLVFS::decLock(), LLVFS::findFreeBlock(), LLVFS::incLock(), LLVFS::isLocked(), and LLVFS::renameFile().
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.5.5