uffs_blockInfoSt Struct Reference

block information data. Block info is frequently accessed, UFFS use a cache system to speed up block info access. More...

#include <uffs_blockInfo.h>


Data Fields

u16 blockNum
 block number
int expiredCount
 how many pages expired in this block ?
uffs_blockInfoStnext
uffs_blockInfoStprev
int refCount
 reference counter, it's safe to reuse this block memory when the counter is 0.
uffs_pageSpareStspares
 page spare info array


Detailed Description

block information data. Block info is frequently accessed, UFFS use a cache system to speed up block info access.

Definition at line 32 of file uffs_blockInfo.h.


Field Documentation

u16 uffs_blockInfoSt::blockNum

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().

int uffs_blockInfoSt::expiredCount

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().

struct uffs_blockInfoSt* uffs_blockInfoSt::next

Definition at line 33 of file uffs_blockInfo.h.

Referenced by uffs_ExpireAllBlockInfo(), uffs_FindBlockInfoInCache(), uffs_GetBlockInfo(), uffs_InitBlockInfoCache(), uffs_IsAllBlockInfoFree(), and uffs_ReleaseBlockInfoCache().

struct uffs_blockInfoSt* uffs_blockInfoSt::prev

Definition at line 34 of file uffs_blockInfo.h.

Referenced by uffs_InitBlockInfoCache().

int uffs_blockInfoSt::refCount

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().

struct uffs_pageSpareSt* uffs_blockInfoSt::spares

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().


The documentation for this struct was generated from the following file:
Generated on Sat Mar 17 15:45:45 2007 for uffs-doc by  doxygen 1.5.0