libaaruformat 1.0
Aaru Data Preservation Suite - Format Library
Loading...
Searching...
No Matches
EcBlockLookupEntry Struct Reference

Hash table entry mapping block file offset -> stripe index + position. More...

Data Fields

uint64_t block_offset
 Key: file offset of the data block.
uint32_t stripe_index
 Index into ec_read_stripes array.
uint16_t position
 Position within the stripe (0..actual_k-1).
UT_hash_handle hh

Detailed Description

Hash table entry mapping block file offset -> stripe index + position.

Definition at line 54 of file erasure.c.

Field Documentation

◆ block_offset

uint64_t EcBlockLookupEntry::block_offset

Key: file offset of the data block.

Definition at line 56 of file erasure.c.

Referenced by ec_load_ecmb().

◆ hh

UT_hash_handle EcBlockLookupEntry::hh

Definition at line 59 of file erasure.c.

◆ position

uint16_t EcBlockLookupEntry::position

Position within the stripe (0..actual_k-1).

Definition at line 58 of file erasure.c.

Referenced by ec_load_ecmb(), and ec_recover_data_block().

◆ stripe_index

uint32_t EcBlockLookupEntry::stripe_index

Index into ec_read_stripes array.

Definition at line 57 of file erasure.c.

Referenced by ec_load_ecmb(), and ec_recover_data_block().


The documentation for this struct was generated from the following file: