RTEMS CPU Kit with SuperCore
|
RFS File System data. More...
#include <rtems-rfs-file-system.h>
Data Fields | |
uint32_t | flags |
Flags to control the file system. More... | |
size_t | blocks |
The number of blocks in the disk. More... | |
size_t | block_size |
The size of a block. More... | |
int | device |
The file descriptor for device I/O. | |
size_t | size |
The number of blocks in the file system. | |
uint32_t | inodes |
Inode count. | |
uint32_t | bad_blocks |
Bad block blocks. More... | |
uint32_t | max_name_length |
Maximum length of names supported by this file system. | |
rtems_rfs_group * | groups |
A disk is broken down into a series of groups. | |
int | group_count |
Number of groups. | |
size_t | group_blocks |
Number of blocks in a group. | |
size_t | group_inodes |
Number of inodes in a group. | |
size_t | inodes_per_block |
Number of inodes in each block. | |
size_t | blocks_per_block |
Number of block numbers in a block. | |
size_t | block_map_singly_blocks |
Block map single indirect count. More... | |
size_t | block_map_doubly_blocks |
Block map double indirect count. More... | |
uint32_t | max_held_buffers |
Number of buffers held before releasing back to the cache. | |
rtems_chain_control | buffers |
List of buffers attached to buffer handles. More... | |
uint32_t | buffers_count |
Number of buffers held on the buffers list. | |
rtems_chain_control | release |
List of buffers that need to be released when the processing of a file system request has completed. | |
uint32_t | release_count |
Number of buffers held on the release list. | |
rtems_chain_control | release_modified |
List of buffers that need to be released modified when the processing of a file system request has completed. | |
uint32_t | release_modified_count |
Number of buffers held on the release modified list. | |
rtems_chain_control | file_shares |
List of open shared file node data. More... | |
void * | user |
Pointer to user data supplied when opening. | |
RFS File System data.
uint32_t _rtems_rfs_file_system::bad_blocks |
Bad block blocks.
This is a table of blocks that have been found to be bad.
size_t _rtems_rfs_file_system::block_map_doubly_blocks |
Block map double indirect count.
This is the block number per block squared and multiplied by the slots in the inode. It is the maximum number of blocks a map (file/directory) can have.
size_t _rtems_rfs_file_system::block_map_singly_blocks |
Block map single indirect count.
This is the block number per block multiplied but the slots in the inode.
size_t _rtems_rfs_file_system::block_size |
The size of a block.
This must be a multiple of the disk's media block size.
size_t _rtems_rfs_file_system::blocks |
The number of blocks in the disk.
The size of the disk is the number of blocks by the block size. This should be within a block size of the size returned by the media driver.
rtems_chain_control _rtems_rfs_file_system::buffers |
List of buffers attached to buffer handles.
Allows sharing.
rtems_chain_control _rtems_rfs_file_system::file_shares |
List of open shared file node data.
The shared node data such as the inode and block map allows a single file to be open more than once.
uint32_t _rtems_rfs_file_system::flags |
Flags to control the file system.
Some can be controlled via the ioctl.