class SuperblockInfo

Defined at line 47 of file ../../src/storage/f2fs/superblock_info.h

Public Methods

void SuperblockInfo (const SuperblockInfo & )

Not copyable or moveable

Defined at line 50 of file ../../src/storage/f2fs/superblock_info.h

SuperblockInfo & operator= (const SuperblockInfo & )

Defined at line 51 of file ../../src/storage/f2fs/superblock_info.h

void SuperblockInfo (SuperblockInfo && )

Defined at line 52 of file ../../src/storage/f2fs/superblock_info.h

SuperblockInfo & operator= (SuperblockInfo && )

Defined at line 53 of file ../../src/storage/f2fs/superblock_info.h

void SuperblockInfo ()

Defined at line 54 of file ../../src/storage/f2fs/superblock_info.h

void SuperblockInfo (std::unique_ptr<Superblock> sb, MountOptions options)

Defined at line 55 of file ../../src/storage/f2fs/superblock_info.h

bool IsDirty ()

Defined at line 60 of file ../../src/storage/f2fs/superblock_info.h

void SetDirty ()

Defined at line 61 of file ../../src/storage/f2fs/superblock_info.h

void ClearDirty ()

Defined at line 62 of file ../../src/storage/f2fs/superblock_info.h

void SetCpFlags (CpFlag flag)

Defined at line 64 of file ../../src/storage/f2fs/superblock_info.h

void ClearCpFlags (CpFlag flag)

Defined at line 71 of file ../../src/storage/f2fs/superblock_info.h

bool TestCpFlags (CpFlag flag)

Defined at line 78 of file ../../src/storage/f2fs/superblock_info.h

const Superblock & GetSuperblock ()

Defined at line 84 of file ../../src/storage/f2fs/superblock_info.h

const Checkpoint & GetCheckpoint ()

Defined at line 85 of file ../../src/storage/f2fs/superblock_info.h

BlockBuffer<Checkpoint> & GetCheckpointBlock ()

Defined at line 86 of file ../../src/storage/f2fs/superblock_info.h

zx_status_t SetCheckpoint (const BlockBuffer<Checkpoint> & block)

Defined at line 88 of file ../../src/storage/f2fs/superblock_info.h

const RawBitmap & GetExtraSitBitmap ()

Defined at line 97 of file ../../src/storage/f2fs/superblock_info.h

RawBitmap & GetExtraSitBitmap ()

Defined at line 98 of file ../../src/storage/f2fs/superblock_info.h

void SetExtraSitBitmap (size_t num_bytes)

Defined at line 99 of file ../../src/storage/f2fs/superblock_info.h

block_t GetLogSectorsPerBlock ()

superblock fields

Defined at line 102 of file ../../src/storage/f2fs/superblock_info.h

block_t GetLogBlocksize ()

Defined at line 103 of file ../../src/storage/f2fs/superblock_info.h

block_t GetBlocksize ()

Defined at line 104 of file ../../src/storage/f2fs/superblock_info.h

uint32_t GetRootIno ()

Defined at line 105 of file ../../src/storage/f2fs/superblock_info.h

uint32_t GetNodeIno ()

Defined at line 106 of file ../../src/storage/f2fs/superblock_info.h

uint32_t GetMetaIno ()

Defined at line 107 of file ../../src/storage/f2fs/superblock_info.h

block_t GetLogBlocksPerSeg ()

Defined at line 108 of file ../../src/storage/f2fs/superblock_info.h

block_t GetBlocksPerSeg ()

Defined at line 109 of file ../../src/storage/f2fs/superblock_info.h

block_t GetSegsPerSec ()

Defined at line 110 of file ../../src/storage/f2fs/superblock_info.h

block_t GetSecsPerZone ()

Defined at line 111 of file ../../src/storage/f2fs/superblock_info.h

block_t GetTotalSections ()

Defined at line 112 of file ../../src/storage/f2fs/superblock_info.h

void SetTotalBlockCount (block_t block_count)

for test

Defined at line 115 of file ../../src/storage/f2fs/superblock_info.h

void SetValidBlockCount (block_t block_count)

Defined at line 116 of file ../../src/storage/f2fs/superblock_info.h

void SetValidNodeCount (nid_t block_count)

Defined at line 120 of file ../../src/storage/f2fs/superblock_info.h

block_t GetValidBlockCount ()

for space status

Defined at line 126 of file ../../src/storage/f2fs/superblock_info.h

nid_t GetMaxNodeCount ()

Defined at line 130 of file ../../src/storage/f2fs/superblock_info.h

block_t GetTotalBlockCount ()

Defined at line 131 of file ../../src/storage/f2fs/superblock_info.h

void ResetAllocBlockCount ()

Defined at line 133 of file ../../src/storage/f2fs/superblock_info.h

bool SpaceForRollForward ()

Defined at line 139 of file ../../src/storage/f2fs/superblock_info.h

bool IncValidNodeCount (block_t count)

Defined at line 144 of file ../../src/storage/f2fs/superblock_info.h

void DecValidNodeCount (uint32_t count)

Defined at line 159 of file ../../src/storage/f2fs/superblock_info.h

nid_t GetValidNodeCount ()

Defined at line 166 of file ../../src/storage/f2fs/superblock_info.h

nid_t GetValidInodeCount ()

Defined at line 170 of file ../../src/storage/f2fs/superblock_info.h

void DecValidInodeCount ()

Defined at line 174 of file ../../src/storage/f2fs/superblock_info.h

void IncValidInodeCount ()

Defined at line 179 of file ../../src/storage/f2fs/superblock_info.h

void DecValidBlockCount (block_t count)

Defined at line 184 of file ../../src/storage/f2fs/superblock_info.h

zx_status_t IncValidBlockCount (block_t count)

Defined at line 189 of file ../../src/storage/f2fs/superblock_info.h

size_t GetFreeBlockCount ()

Defined at line 198 of file ../../src/storage/f2fs/superblock_info.h

uint32_t Utilization ()

Defined at line 203 of file ../../src/storage/f2fs/superblock_info.h

uint32_t GetNextGeneration ()

Defined at line 208 of file ../../src/storage/f2fs/superblock_info.h

void IncNextGeneration ()

Defined at line 209 of file ../../src/storage/f2fs/superblock_info.h

const std::vector<std::string> & GetExtensionList ()

Defined at line 211 of file ../../src/storage/f2fs/superblock_info.h

size_t GetActiveLogs ()

Defined at line 212 of file ../../src/storage/f2fs/superblock_info.h

void ClearOpt (MountOption option)

Defined at line 217 of file ../../src/storage/f2fs/superblock_info.h

void SetOpt (MountOption option)

Defined at line 218 of file ../../src/storage/f2fs/superblock_info.h

bool TestOpt (MountOption option)

Defined at line 219 of file ../../src/storage/f2fs/superblock_info.h

void IncSegmentCount (int type)

Defined at line 226 of file ../../src/storage/f2fs/superblock_info.h

uint64_t GetSegmentCount (int type)

Defined at line 227 of file ../../src/storage/f2fs/superblock_info.h

void IncBlockCount (int type)

Defined at line 228 of file ../../src/storage/f2fs/superblock_info.h

void IncreasePageCount (CountType count_type)

Defined at line 230 of file ../../src/storage/f2fs/superblock_info.h

void DecreasePageCount (CountType count_type)

Defined at line 236 of file ../../src/storage/f2fs/superblock_info.h

int GetPageCount (CountType count_type)

Defined at line 241 of file ../../src/storage/f2fs/superblock_info.h

void IncreaseDirtyDir ()

Defined at line 247 of file ../../src/storage/f2fs/superblock_info.h

void DecreaseDirtyDir ()

Defined at line 248 of file ../../src/storage/f2fs/superblock_info.h

uint32_t GetSitBitmapSize ()

in byte

Defined at line 251 of file ../../src/storage/f2fs/superblock_info.h

uint32_t GetNatBitmapSize ()

Defined at line 252 of file ../../src/storage/f2fs/superblock_info.h

uint8_t * GetNatBitmap ()

Defined at line 253 of file ../../src/storage/f2fs/superblock_info.h

uint8_t * GetSitBitmap ()

Defined at line 259 of file ../../src/storage/f2fs/superblock_info.h

block_t StartCpAddr ()

Defined at line 266 of file ../../src/storage/f2fs/superblock_info.h

block_t StartSumAddr ()

Defined at line 278 of file ../../src/storage/f2fs/superblock_info.h

block_t GetNumCpPayload ()

Defined at line 279 of file ../../src/storage/f2fs/superblock_info.h

zx::result<uint32_t> GetCrcFromCheckpointBlock (std::optional<const Checkpoint *> block)

Defined at line 281 of file ../../src/storage/f2fs/superblock_info.h

uint64_t GetCheckpointVer (bool with_crc)

Defined at line 292 of file ../../src/storage/f2fs/superblock_info.h

void UpdateCheckpointVer ()

Defined at line 301 of file ../../src/storage/f2fs/superblock_info.h