#include <StoreSwapLogData.h>

Collaboration diagram for StoreSwapLogHeader:

Public Member Functions

 StoreSwapLogHeader ()
bool sane () const
 consistency self-check: whether the data appears to make sense More...
size_t gapSize () const
 number of bytes after the log header before the first log entry More...

Public Attributes

uint8_t op
SwapChecksum24 checksum
int32_t version
int32_t record_size

Detailed Description

Swap log starts with this binary structure.

Definition at line 176 of file StoreSwapLogData.h.

Constructor & Destructor Documentation

◆ StoreSwapLogHeader()

StoreSwapLogHeader::StoreSwapLogHeader ( )

Definition at line 78 of file StoreSwapLogData.cc.

References checksum, record_size, SwapChecksum24::set(), and version.

Member Function Documentation

◆ gapSize()

size_t StoreSwapLogHeader::gapSize ( ) const

◆ sane()

bool StoreSwapLogHeader::sane ( ) const

Member Data Documentation

◆ checksum

SwapChecksum24 StoreSwapLogHeader::checksum

Definition at line 189 of file StoreSwapLogData.h.

Referenced by StoreSwapLogHeader(), and sane().

◆ op

uint8_t StoreSwapLogHeader::op

Definition at line 188 of file StoreSwapLogData.h.

Referenced by Fs::Ufs::UFSSwapLogParser::GetUFSSwapLogParser(), and sane().

◆ record_size

◆ version

int32_t StoreSwapLogHeader::version

The documentation for this class was generated from the following files:






Web Site Translations