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

#include <ubi.h>

Data Fields

struct rb_root volumes
 
struct list_head corr
 
struct list_head free
 
struct list_head erase
 
struct list_head alien
 
int corr_peb_count
 
int empty_peb_count
 
int alien_peb_count
 
int bad_peb_count
 
int maybe_bad_peb_count
 
int vols_found
 
int highest_vol_id
 
int is_empty
 
int min_ec
 
int max_ec
 
unsigned long long max_sqnum
 
int mean_ec
 
uint64_t ec_sum
 
int ec_count
 
struct kmem_cacheaeb_slab_cache
 

Detailed Description

struct ubi_attach_info - MTD device attaching information. : root of the volume RB-tree : list of corrupted physical eraseblocks : list of free physical eraseblocks : list of physical eraseblocks which have to be erased : list of physical eraseblocks which should not be used by UBI (e.g., those belonging to "preserve"-compatible internal volumes) : count of PEBs in the list : count of PEBs which are presumably empty (contain only 0xFF bytes) : count of PEBs in the list : count of bad physical eraseblocks : count of bad physical eraseblocks which are not marked as bad yet, but which look like bad : number of volumes found : highest volume ID : flag indicating whether the MTD device is empty or not : lowest erase counter value : highest erase counter value : highest sequence number value : mean erase counter value : a temporary variable used when calculating : a temporary variable used when calculating : slab cache for &struct ubi_ainf_peb objects

This data structure contains the result of attaching an MTD device and may be used by other UBI sub-systems to build final UBI data structures, further error-recovery and so on.

Definition at line 646 of file ubi.h.

Field Documentation

struct kmem_cache* aeb_slab_cache

Definition at line 666 of file ubi.h.

Definition at line 651 of file ubi.h.

int alien_peb_count

Definition at line 654 of file ubi.h.

int bad_peb_count

Definition at line 655 of file ubi.h.

Definition at line 648 of file ubi.h.

int corr_peb_count

Definition at line 652 of file ubi.h.

int ec_count

Definition at line 665 of file ubi.h.

uint64_t ec_sum

Definition at line 664 of file ubi.h.

int empty_peb_count

Definition at line 653 of file ubi.h.

Definition at line 650 of file ubi.h.

Definition at line 649 of file ubi.h.

int highest_vol_id

Definition at line 658 of file ubi.h.

int is_empty

Definition at line 659 of file ubi.h.

int max_ec

Definition at line 661 of file ubi.h.

unsigned long long max_sqnum

Definition at line 662 of file ubi.h.

int maybe_bad_peb_count

Definition at line 656 of file ubi.h.

int mean_ec

Definition at line 663 of file ubi.h.

int min_ec

Definition at line 660 of file ubi.h.

int vols_found

Definition at line 657 of file ubi.h.

struct rb_root volumes

Definition at line 647 of file ubi.h.


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