RTEMS  5.1
Data Fields

JFFS2 filesystem instance information. More...

#include <jffs2.h>

Data Fields

uint32_t flash_size
 Flash size in bytes.
 
uint32_t flash_blocks
 Count of flash blocks (erasable units).
 
uint32_t flash_block_size
 Size of a flash block in bytes.
 
uint32_t used_size
 Used size in bytes. More...
 
uint32_t dirty_size
 Dirty size in bytes. More...
 
uint32_t wasted_size
 Wasted size in bytes. More...
 
uint32_t free_size
 Free size in bytes. More...
 
uint32_t bad_size
 Bad size in bytes. More...
 
uint32_t clean_blocks
 Count of clean blocks. More...
 
uint32_t dirty_blocks
 Count of dirty blocks. More...
 
uint32_t erasable_blocks
 Count of erasable blocks. More...
 
uint32_t free_blocks
 Count of free blocks. More...
 
uint32_t bad_blocks
 Count of bad blocks. More...
 

Detailed Description

JFFS2 filesystem instance information.

See also
RTEMS_JFFS2_GET_INFO.

Field Documentation

◆ bad_blocks

uint32_t rtems_jffs2_info::bad_blocks

Count of bad blocks.

Bad blocks are damaged.

◆ bad_size

uint32_t rtems_jffs2_info::bad_size

Bad size in bytes.

Bad areas indicate damaged flash blocks.

◆ clean_blocks

uint32_t rtems_jffs2_info::clean_blocks

Count of clean blocks.

Clean blocks contain only used areas.

◆ dirty_blocks

uint32_t rtems_jffs2_info::dirty_blocks

Count of dirty blocks.

Dirty blocks contain dirty and used areas.

◆ dirty_size

uint32_t rtems_jffs2_info::dirty_size

Dirty size in bytes.

Used areas contain no longer used data.

◆ erasable_blocks

uint32_t rtems_jffs2_info::erasable_blocks

Count of erasable blocks.

Erase blocks contain only dirty or wasted areas.

◆ free_blocks

uint32_t rtems_jffs2_info::free_blocks

Count of free blocks.

Free blocks contain a free area.

◆ free_size

uint32_t rtems_jffs2_info::free_size

Free size in bytes.

Free areas may be used to store new data.

◆ used_size

uint32_t rtems_jffs2_info::used_size

Used size in bytes.

Used areas contain valid data.

◆ wasted_size

uint32_t rtems_jffs2_info::wasted_size

Wasted size in bytes.

Wasted areas are unusable.


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