TF-M Reference Manual  1.2.0
TrustedFirmware-M
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
its_file_meta_t Struct Reference

Structure to store file metadata. More...

#include <secure_fw/partitions/internal_trusted_storage/flash_fs/its_flash_fs_mblock.h>

Data Fields

uint32_t lblock
 
size_t data_idx
 
size_t cur_size
 
size_t max_size
 
uint32_t flags
 
uint8_t id [ITS_FILE_ID_SIZE]
 

Detailed Description

Structure to store file metadata.

Note
This structure is programmed to flash, so its size must be padded to a multiple of the maximum required flash program unit.

Definition at line 119 of file its_flash_fs_mblock.h.

Field Documentation

size_t cur_size

Size in storage system for this # \ * fragment \

Definition at line 120 of file its_flash_fs_mblock.h.

size_t data_idx

Offset in the logical data block

Definition at line 120 of file its_flash_fs_mblock.h.

uint32_t flags

Flags set when the file was created

Definition at line 120 of file its_flash_fs_mblock.h.

uint8_t id[ITS_FILE_ID_SIZE]

ID of this file

Definition at line 120 of file its_flash_fs_mblock.h.

uint32_t lblock

Logical datablock where file is \ * stored \

Definition at line 120 of file its_flash_fs_mblock.h.

size_t max_size

Maximum size of this file

Definition at line 120 of file its_flash_fs_mblock.h.


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