RTEMS CPU Kit with SuperCore  4.10.99.0
Data Fields
_rtems_rfs_inode Struct Reference

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.
rtems_rfs_time mtime
 The modified time.
rtems_rfs_time ctime
 The change time.
union {
   rtems_rfs_inode_block   blocks [RTEMS_RFS_INODE_BLOCKS]
   uint8_t   name [RTEMS_RFS_INODE_DATA_NAME_SIZE]
data
 Blocks.
rtems_rfs_inode_block last_map_block
 The last block map block.
rtems_rfs_inode_block last_data_block
 The last data block.

Detailed Description

The inode.


Field Documentation

The access time.

The last time the file was read.

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.

The last data block.

Used as the goal when allocating a new block.

The last block map block.

Used as the goal when allocating a new block for use in the map.

The modified time.

The last time the file was written too.


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