![]() |
RTEMS 6.1
|
#include <rtems-rfs-block-pos.h>
Data Fields | |
| rtems_rfs_block_no | bno |
| rtems_rfs_block_off | boff |
| rtems_rfs_block_no | block |
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.
| 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.
| 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.
| rtems_rfs_block_off rtems_rfs_block_pos_s::boff |
The offset into the block. Must be less than the block size.