![]()  | 
  
    RTEMS
    5.1
    
   | 
 
JFFS2 flash device control. More...
#include <jffs2.h>
Data Fields | |
| uint32_t | block_size | 
| The size in bytes of the erasable unit of the flash device.  | |
| uint32_t | flash_size | 
| The size in bytes of the flash device.  More... | |
| rtems_jffs2_flash_read | read | 
| Read from flash operation.  | |
| rtems_jffs2_flash_write | write | 
| Write to flash operation.  | |
| rtems_jffs2_flash_erase | erase | 
| Flash erase operation.  | |
| rtems_jffs2_flash_destroy | destroy | 
| Flash destroy operation.  More... | |
| dev_t | device_identifier | 
| The device identifier of the flash device.  More... | |
| rtems_jffs2_trigger_garbage_collection | trigger_garbage_collection | 
| Trigger garbage collection operation.  More... | |
JFFS2 flash device control.
| rtems_jffs2_flash_destroy rtems_jffs2_flash_control::destroy | 
Flash destroy operation.
This operation is optional and the pointer may be NULL. 
| dev_t rtems_jffs2_flash_control::device_identifier | 
The device identifier of the flash device.
It is used in combination with the inode number to uniquely identify a file system node in the system.
| uint32_t rtems_jffs2_flash_control::flash_size | 
The size in bytes of the flash device.
It must be an integral multiple of the block size. The flash device must have at least five blocks.
| rtems_jffs2_trigger_garbage_collection rtems_jffs2_flash_control::trigger_garbage_collection | 
Trigger garbage collection operation.
This operation is optional and may be NULL. This operation should wake up a garbage collection thread. The garbage collection thread should use the RTEMS_JFFS2_ON_DEMAND_GARBAGE_COLLECTION IO control to carry out the work.
 1.8.15