Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
ubi_ainf_volume Struct Reference

#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
 

Detailed Description

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.

Definition at line 603 of file ubi.h.

Field Documentation

int compat

Definition at line 611 of file ubi.h.

int data_pad

Definition at line 610 of file ubi.h.

int highest_lnum

Definition at line 605 of file ubi.h.

int last_data_size

Definition at line 609 of file ubi.h.

int leb_count

Definition at line 606 of file ubi.h.

Definition at line 612 of file ubi.h.

Definition at line 613 of file ubi.h.

int used_ebs

Definition at line 608 of file ubi.h.

int vol_id

Definition at line 604 of file ubi.h.

int vol_type

Definition at line 607 of file ubi.h.


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