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

#include <ubi.h>

Data Fields

int ec
 
int pnum
 
int vol_id
 
int lnum
 
unsigned int scrub:1
 
unsigned int copy_flag:1
 
unsigned long long sqnum
 
union {
   struct rb_node   rb
 
   struct list_head   list
 
u
 

Detailed Description

struct ubi_ainf_peb - attach information about a physical eraseblock. : erase counter (UBI_UNKNOWN if it is unknown) : physical eraseblock number : ID of the volume this LEB belongs to : logical eraseblock number : if this physical eraseblock needs scrubbing : this LEB is a copy ( is set in VID header of this LEB) : sequence number : unions RB-tree or links .rb: link in the per-volume RB-tree of &struct ubi_ainf_peb objects .list: link in one of the eraseblock lists

One object of this type is allocated for each physical eraseblock when attaching an MTD device. Note, if this PEB does not belong to any LEB / volume, the and fields are initialized to UBI_UNKNOWN.

Definition at line 568 of file ubi.h.

Field Documentation

unsigned int copy_flag

Definition at line 574 of file ubi.h.

int ec

Definition at line 569 of file ubi.h.

Definition at line 578 of file ubi.h.

int lnum

Definition at line 572 of file ubi.h.

int pnum

Definition at line 570 of file ubi.h.

Definition at line 577 of file ubi.h.

unsigned int scrub

Definition at line 573 of file ubi.h.

unsigned long long sqnum

Definition at line 575 of file ubi.h.

union { ... } u
int vol_id

Definition at line 571 of file ubi.h.


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