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

Data Fields

struct mtd_blktrans_dev * mbd_dev
 
struct mtd_info * mtd
 
struct device * dev
 
unsigned int * page_data
 
unsigned int * revmap
 
unsigned int eblks
 
unsigned int spare_eblks
 
unsigned int pages_per_eblk
 
unsigned int max_erase_count
 
struct swap_eb * eb_data
 
struct mtdswap_tree trees [MTDSWAP_TREE_CNT]
 
unsigned long long sect_read_count
 
unsigned long long sect_write_count
 
unsigned long long mtd_write_count
 
unsigned long long mtd_read_count
 
unsigned long long discard_count
 
unsigned long long discard_page_count
 
unsigned int curr_write_pos
 
struct swap_eb * curr_write
 
char * page_buf
 
char * oob_buf
 
struct dentry * debugfs_root
 

Detailed Description

Definition at line 113 of file mtdswap.c.

Field Documentation

struct swap_eb* curr_write

Definition at line 137 of file mtdswap.c.

unsigned int curr_write_pos

Definition at line 136 of file mtdswap.c.

struct dentry* debugfs_root

Definition at line 142 of file mtdswap.c.

struct device* dev

Definition at line 116 of file mtdswap.c.

unsigned long long discard_count

Definition at line 133 of file mtdswap.c.

unsigned long long discard_page_count

Definition at line 134 of file mtdswap.c.

struct swap_eb* eb_data

Definition at line 125 of file mtdswap.c.

unsigned int eblks

Definition at line 121 of file mtdswap.c.

unsigned int max_erase_count

Definition at line 124 of file mtdswap.c.

Definition at line 114 of file mtdswap.c.

Definition at line 115 of file mtdswap.c.

unsigned long long mtd_read_count

Definition at line 132 of file mtdswap.c.

unsigned long long mtd_write_count

Definition at line 131 of file mtdswap.c.

char* oob_buf

Definition at line 140 of file mtdswap.c.

char* page_buf

Definition at line 139 of file mtdswap.c.

unsigned int* page_data

Definition at line 118 of file mtdswap.c.

unsigned int pages_per_eblk

Definition at line 123 of file mtdswap.c.

unsigned int* revmap

Definition at line 119 of file mtdswap.c.

unsigned long long sect_read_count

Definition at line 129 of file mtdswap.c.

unsigned long long sect_write_count

Definition at line 130 of file mtdswap.c.

unsigned int spare_eblks

Definition at line 122 of file mtdswap.c.

Definition at line 127 of file mtdswap.c.


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