RTEMS CPU Kit with SuperCore
4.11.3
|
The inode. More...
#include <rtems-rfs-inode.h>
Data Fields | |
uint16_t | links |
The number of links to the inode. | |
uint16_t | mode |
The mode of the node. | |
uint32_t | owner |
The owner of the node. | |
uint16_t | flags |
Reserved. | |
uint16_t | block_offset |
Amount of data held in the last block data. | |
uint32_t | block_count |
Number of blocks held by this file. | |
rtems_rfs_time | atime |
The access time. More... | |
rtems_rfs_time | mtime |
The modified time. More... | |
rtems_rfs_time | ctime |
The change time. More... | |
union { | |
rtems_rfs_inode_block blocks [RTEMS_RFS_INODE_BLOCKS] | |
uint8_t name [RTEMS_RFS_INODE_DATA_NAME_SIZE] | |
} | data |
Blocks. More... | |
rtems_rfs_inode_block | last_map_block |
The last block map block. More... | |
rtems_rfs_inode_block | last_data_block |
The last data block. More... | |
The inode.
rtems_rfs_time _rtems_rfs_inode::atime |
The access time.
The last time the file was read.
rtems_rfs_time _rtems_rfs_inode::ctime |
The change time.
The last time the inode was written too.
union { ... } _rtems_rfs_inode::data |
Blocks.
These are the block numbers used by the node or table of nodes. The flags indicate the mode the blocks are being held in. In the direct table mode the blocks are entries in this table. In the indirect mode the blocks point to blocks that hold the block numbers. The data can also be a name if it fits. For example a symbolic link.
rtems_rfs_inode_block _rtems_rfs_inode::last_data_block |
The last data block.
Used as the goal when allocating a new block.
rtems_rfs_inode_block _rtems_rfs_inode::last_map_block |
The last block map block.
Used as the goal when allocating a new block for use in the map.
rtems_rfs_time _rtems_rfs_inode::mtime |
The modified time.
The last time the file was written too.