RTEMS CPU Kit with SuperCore
Data Fields
rtems_rfs_block_pos_s Struct Reference

A block position is a block number times the block size plus the offset. More...

#include <rtems-rfs-block-pos.h>

Data Fields

rtems_rfs_block_no bno
 The block index in the map. More...
 
rtems_rfs_block_off boff
 The offset into the block. More...
 
rtems_rfs_block_no block
 The block number that the bpos + boff map to. More...
 

Detailed Description

A block position is a block number times the block size plus the offset.

The block field can be used hold a block number for the position as a look up cache.

Field Documentation

◆ block

rtems_rfs_block_no rtems_rfs_block_pos_s::block

The block number that the bpos + boff map to.

The 0 value is invalid and means no block number has been set.

◆ bno

rtems_rfs_block_no rtems_rfs_block_pos_s::bno

The block index in the map.

Range is from 0 to the maps block count minus 1.

◆ boff

rtems_rfs_block_off rtems_rfs_block_pos_s::boff

The offset into the block.

Must be less than the block size.


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