File system statistics.
More...
#include <fds.h>
File system statistics.
Definition at line 233 of file fds.h.
◆ corruption
Filesystem corruption has been detected.
One or more corrupted records were detected. FDS will heal the filesystem automatically next time garbage collection is run, but some data may be lost.
- Note
- : This flag is unrelated to CRC failures.
Definition at line 265 of file fds.h.
◆ dirty_records
The number of deleted ("dirty") records.
Definition at line 238 of file fds.h.
◆ freeable_words
The largest number of words that can be reclaimed by garbage collection.
The actual amount of space freed by garbage collection might be less than this value if records are open while garbage collection is run.
Definition at line 256 of file fds.h.
◆ largest_contig
The largest number of free contiguous words in the file system.
This number indicates the largest record that can be stored by FDS. It takes into account all reservations for future writes.
Definition at line 249 of file fds.h.
◆ open_records
The number of open records.
Definition at line 236 of file fds.h.
◆ pages_available
The number of pages available.
Definition at line 235 of file fds.h.
◆ valid_records
The number of valid records.
Definition at line 237 of file fds.h.
◆ words_reserved
◆ words_used
The number of words written to flash, including those reserved for future writes.
Definition at line 242 of file fds.h.
The documentation for this struct was generated from the following file:
- src/nrf5_sdk15_platform/ruuvi.nrf_sdk15_3_overrides.c/fds.h