Linux Kernel
3.7.1
|
#include <ubi.h>
Data Fields | |
int | vol_id |
int | highest_lnum |
int | leb_count |
int | vol_type |
int | used_ebs |
int | last_data_size |
int | data_pad |
int | compat |
struct rb_node | rb |
struct rb_root | root |
struct ubi_ainf_volume - attaching information about a volume. : volume ID : highest logical eraseblock number in this volume : number of logical eraseblocks in this volume : volume type : number of used logical eraseblocks in this volume (only for static volumes) : amount of data in the last logical eraseblock of this volume (always equivalent to the usable logical eraseblock size in case of dynamic volumes) : how many bytes at the end of logical eraseblocks of this volume are not used (due to volume alignment) : compatibility flags of this volume : link in the volume RB-tree : root of the RB-tree containing all the eraseblock belonging to this volume (&struct ubi_ainf_peb objects)
One object of this type is allocated for each volume when attaching an MTD device.