RTEMS: rtems_rfs_block_pos_s Struct Reference

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
Data Fields
rtems_rfs_block_pos_s Struct Reference

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

## Data Fields
rtems_rfs_block_no | bno
rtems_rfs_block_off | boff
rtems_rfs_block_no | block

## 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:

- cpukit/include/rtems/rfs/rtems-rfs-block-pos.h