#include <uffs_blockInfo.h>
Data Fields | |
u16 | blockNum |
block number | |
int | expiredCount |
how many pages expired in this block ? | |
uffs_blockInfoSt * | next |
uffs_blockInfoSt * | prev |
int | refCount |
reference counter, it's safe to reuse this block memory when the counter is 0. | |
uffs_pageSpareSt * | spares |
page spare info array |
Definition at line 32 of file uffs_blockInfo.h.
block number
Definition at line 35 of file uffs_blockInfo.h.
Referenced by uffs_FindBlockInfoInCache(), uffs_GetBlockInfo(), uffs_InitBlockInfoCache(), uffs_LoadBlockInfo(), uffs_RecoverBadBlock(), and uffs_TruncateObject().
how many pages expired in this block ?
Definition at line 37 of file uffs_blockInfo.h.
Referenced by uffs_ExpireBlockInfo(), uffs_GetBlockInfo(), uffs_InitBlockInfoCache(), and uffs_LoadBlockInfo().
Definition at line 33 of file uffs_blockInfo.h.
Referenced by uffs_ExpireAllBlockInfo(), uffs_FindBlockInfoInCache(), uffs_GetBlockInfo(), uffs_InitBlockInfoCache(), uffs_IsAllBlockInfoFree(), and uffs_ReleaseBlockInfoCache().
reference counter, it's safe to reuse this block memory when the counter is 0.
Definition at line 38 of file uffs_blockInfo.h.
Referenced by uffs_FindBlockInfoInCache(), uffs_GetBlockInfo(), uffs_InitBlockInfoCache(), uffs_IsAllBlockInfoFree(), uffs_PutBlockInfo(), and uffs_ReleaseBlockInfoCache().
page spare info array
Definition at line 36 of file uffs_blockInfo.h.
Referenced by Samsung_IsBlockBad(), uffs_BufGetEx(), uffs_CompareFileNameWithTreeNode(), uffs_CreateNewFile(), uffs_ExpireBlockInfo(), uffs_FindBestPageInBlock(), uffs_FindFirstValidPage(), uffs_FindPageInBlockWithPageId(), uffs_GetBlockFileDataLength(), uffs_GetBlockInfo(), uffs_GetBlockTimeStamp(), uffs_InitBlockInfoCache(), uffs_IsBlockPagesFullUsed(), uffs_IsDataBlockReguFull(), uffs_IsPageErased(), uffs_IsThisBlockUsed(), uffs_LoadBlockInfo(), and uffs_RecoverBadBlock().