uffs_DeviceSt Struct Reference

The core data structure of UFFS, all information needed by manipulate UFFS object. More...

#include <uffs_device.h>


Data Fields

uffs_storageAttrSt attr
 storage attribute
uffs_newBadBlockSt bad
 new bad block
uffs_blockInfoCacheSt bc
 block info cache
uffs_pageBufsSt buf
 page buffers
uffs_commInfoSt com
 common information
uffs_FlashOpsStflash
 flash specific operations
URET(* Init )(uffs_Device *dev)
 low level initialization
uffs_lockSt lock
 lock data structure
uffs_memAllocatorStmem
 uffs native memory allocator
uffs_DeviceOpsStops
 NAND device operations.
uffs_partitionSt par
 partition information
void * private
 private data for device
u32 refCount
 device reference count
URET(* Release )(uffs_Device *dev)
 low level release
uffs_stat st
 statistic counter
uffs_treeSt tree
 tree list of block


Detailed Description

The core data structure of UFFS, all information needed by manipulate UFFS object.

Note:
one partition corresponding one uffs device.

Definition at line 167 of file uffs_device.h.


Field Documentation

struct uffs_storageAttrSt uffs_DeviceSt::attr

storage attribute

Definition at line 172 of file uffs_device.h.

Referenced by cmdSt(), uffs_BufInit(), uffs_ExpireBlockInfo(), uffs_FindBestPageInBlock(), uffs_FindFirstFreePage(), uffs_FindFirstValidPage(), uffs_FindPageInBlockWithPageId(), uffs_GetBlockFileDataLength(), uffs_GetBlockInfo(), uffs_GetDeviceFree(), uffs_GetDeviceTotal(), uffs_GetDeviceUsed(), uffs_GetFreePagesCount(), uffs_InitBlockInfoCache(), uffs_InitFlashClass(), uffs_initMountTable(), uffs_IsBlockPagesFullUsed(), uffs_IsDataBlockReguFull(), uffs_LoadBlockInfo(), uffs_RecoverBadBlock(), and uffs_TruncateObject().

struct uffs_newBadBlockSt uffs_DeviceSt::bad

new bad block

Definition at line 181 of file uffs_device.h.

Referenced by uffs_CheckBadBlock(), uffs_InitBadBlock(), and uffs_RecoverBadBlock().

struct uffs_blockInfoCacheSt uffs_DeviceSt::bc

block info cache

Definition at line 176 of file uffs_device.h.

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

struct uffs_pageBufsSt uffs_DeviceSt::buf

page buffers

Definition at line 178 of file uffs_device.h.

Referenced by uffs_BufFind(), uffs_BufFlush(), uffs_BufInit(), uffs_BufIsAllEmpty(), uffs_BufIsAllFree(), uffs_BufReleaseAll(), uffs_BufSetAllEmpty(), uffs_BufWrite(), and uffs_FormatDevice().

struct uffs_commInfoSt uffs_DeviceSt::com

common information

Definition at line 179 of file uffs_device.h.

Referenced by uffs_BufClone(), uffs_BufInit(), uffs_BufNew(), uffs_BufRead(), uffs_BufWrite(), uffs_GetBlockFileDataLength(), uffs_IsDataBlockReguFull(), uffs_LoadPhiDataToBuf(), uffs_LoadPhiDataToBufEccUnCare(), uffs_ReadObject(), uffs_RecoverBadBlock(), and uffs_WriteDataToNewPage().

struct uffs_FlashOpsSt* uffs_DeviceSt::flash

flash specific operations

Definition at line 174 of file uffs_device.h.

Referenced by uffs_BufInit(), uffs_CheckBadBlock(), uffs_FormatDevice(), uffs_InitFlashClass(), uffs_LoadBlockInfo(), uffs_RecoverBadBlock(), and uffs_WriteDataToNewPage().

URET(* uffs_DeviceSt::Init)(uffs_Device *dev)

low level initialization

Referenced by uffs_initMountTable().

struct uffs_lockSt uffs_DeviceSt::lock

lock data structure

Definition at line 177 of file uffs_device.h.

Referenced by uffs_DeviceInitLock().

struct uffs_memAllocatorSt* uffs_DeviceSt::mem

uffs native memory allocator

Definition at line 183 of file uffs_device.h.

Referenced by uffs_initNativeMemAllocator(), uffs_MemAlloc(), uffs_MemFree(), and uffs_releaseNativeMemAllocator().

struct uffs_DeviceOpsSt* uffs_DeviceSt::ops

NAND device operations.

Definition at line 175 of file uffs_device.h.

Referenced by Samsung_LoadPageSpare(), Samsung_MakeBadBlockMark(), Samsung_WritePageSpare(), uffs_CompareFileNameWithTreeNode(), uffs_FormatDevice(), uffs_LoadPhiDataToBuf(), uffs_LoadPhiDataToBufEccUnCare(), uffs_RecoverBadBlock(), and uffs_WriteDataToNewPage().

struct uffs_partitionSt uffs_DeviceSt::par

partition information

Definition at line 173 of file uffs_device.h.

Referenced by uffs_FormatDevice(), uffs_GetDeviceTotal(), uffs_GetDeviceUsed(), uffs_initMountTable(), and uffs_InitTreeBuf().

void* uffs_DeviceSt::private

private data for device

Definition at line 170 of file uffs_device.h.

u32 uffs_DeviceSt::refCount

device reference count

Definition at line 184 of file uffs_device.h.

Referenced by uffs_GetDevice(), and uffs_PutDevice().

URET(* uffs_DeviceSt::Release)(uffs_Device *dev)

low level release

Referenced by uffs_releaseMountTable().

uffs_stat uffs_DeviceSt::st

statistic counter

Definition at line 182 of file uffs_device.h.

Referenced by cmdSt(), and uffs_InitDevice().

struct uffs_treeSt uffs_DeviceSt::tree

tree list of block

Definition at line 180 of file uffs_device.h.

Referenced by _FindPrevNodeFromEntry(), cmdSt(), uffs_BreakFromEntry(), uffs_FindBadNodeByBlock(), uffs_FindDataNode(), uffs_FindDataNodeByBlock(), uffs_FindDirNodeByBlock(), uffs_FindDirNodeByName(), uffs_FindDirNodeFromTree(), uffs_FindDirNodeFromTreeWithFather(), uffs_FindErasedNodeByBlock(), uffs_FindFileNodeByBlock(), uffs_FindFileNodeByName(), uffs_FindFileNodeFromTree(), uffs_FindFileNodeFromTreeWithFather(), uffs_FindFirstObject(), uffs_FindNextObject(), uffs_GetDeviceFree(), uffs_GetDeviceUsed(), uffs_GetErased(), uffs_InitTreeBuf(), uffs_InsertToBadBlockList(), uffs_InsertToErasedListHead(), uffs_InsertToErasedListTail(), uffs_ReleaseTreeBuf(), and uffs_WriteObject().


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