Linux Kernel
3.7.1
|
#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 |
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.
union { ... } u |