Safe Data API
CRC-protected (optionally redundant) data containers for Zephyr
v0.0-dev+gbb519af
Loading...
Searching...
No Matches
safe_data_stats Struct Reference

Global fault/recovery statistics (CONFIG_SAFE_DATA_STATS). More...

#include <safe_data/safe_data.h>

Data Fields

uint32_t recovered_tag
uint32_t recovered_payload
uint32_t unrecoverable
uint32_t lock_timeouts
uint32_t overwritten
uint32_t mutator_clamped

Detailed Description

Global fault/recovery statistics (CONFIG_SAFE_DATA_STATS).

Definition at line 183 of file safe_data.h.

Field Documentation

◆ lock_timeouts

uint32_t safe_data_stats::lock_timeouts

Lock acquisitions that hit CONFIG_SAFE_DATA_LOCK_TIMEOUT_MS.

Definition at line 191 of file safe_data.h.

Referenced by safe_data_stats_get().

◆ mutator_clamped

uint32_t safe_data_stats::mutator_clamped

Positive mutator return values clamped to -EINVAL.

Definition at line 195 of file safe_data.h.

Referenced by safe_data_stats_get().

◆ overwritten

uint32_t safe_data_stats::overwritten

Corrupt old contents observed (and replaced) by a write.

Definition at line 193 of file safe_data.h.

Referenced by safe_data_stats_get().

◆ recovered_payload

uint32_t safe_data_stats::recovered_payload

Corrupt payload restored from the shadow copy.

Definition at line 187 of file safe_data.h.

Referenced by safe_data_stats_get().

◆ recovered_tag

uint32_t safe_data_stats::recovered_tag

Stale/corrupt stored tag repaired by resealing (data was intact).

Definition at line 185 of file safe_data.h.

Referenced by safe_data_stats_get().

◆ unrecoverable

uint32_t safe_data_stats::unrecoverable

Unrecoverable corruption detections.

Definition at line 189 of file safe_data.h.

Referenced by safe_data_stats_get().


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